AMIE Section B Mechanical study materials
AMIE Section B Mechanical study resources

AMIE Section B Mechanical: Computer Applications and Programming

AMIE Section B Mechanical · Work through your exam, one topic at a time.

All guide sections

Computer Applications and Programming

What you must command

Fundamentals of computer organisation, number systems and data representation, algorithm and flowchart logic, control structures (sequence, selection, iteration), arrays and functions, basic file handling, and the use of software tools in mechanical engineering (CAD, CAM, FEA, spreadsheets). Expect questions on binary and hexadecimal conversion, logic gates, and simple program tracing.

Traps that appear in questions

  • Number systems: binary to decimal uses positional weights; hexadecimal groups four bits.
  • Loop tracing: carefully track variable values at each iteration; off-by-one errors are common.
  • Integer division vs. real division: 5/2 in integer arithmetic gives 2, not 2.5.
  • Operator precedence: multiplication before addition; parentheses override.
  • Logic gates: NAND and NOR are universal gates; XOR gives 1 only for differing inputs.
  • CAD vs. CAM: CAD creates geometry; CAM generates toolpaths from it.

Worked rule of thumb

Convert binary 1101 to decimal: 1×8 + 1×4 + 0×2 + 1×1 = 13. Convert 13 to hexadecimal: 13 = D. Group bits in fours from the right for hexadecimal, in threes for octal.

For loop tracing, write a small table of iteration number and variable values. Example: x = 0; for i = 1 to 4: x = x + i². Values: 1, 5, 14, 30. The final value is 30. A table prevents arithmetic slips under exam pressure.

For a flowchart question, remember that a decision diamond has one entry and two exits (yes/no); a process rectangle has one entry and one exit.