Engineering · Past QCAA questions All past questions
2024 · Section 2 · Short response

Question 15

[8 marks] Complex familiar
The question

A truth table for the reversing safety system of a forklift is shown.

Truth table for the forklift reversing safety system: inputs A to D, intermediate signals E, F and G, output X
InputsIntermediate signalsOutput
ABCDEFGX
00000100
00010100
00100000
00110000
01001110
01011111
01101000
01111000
10001110
10011111
10101000
10111000
11001110
11011111
11101000
11111000

The forklift has a motion sensor on each side at the back. If either sensor detects an obstacle while the forklift is reversing, a safety brake is activated.

Key

Input A = Left sensor (motion detected = 1)

Input B = Right sensor (motion detected = 1)

Input C = Gear (forward selected = 1, reverse selected = 0)

Input D = Engine (engine on = 1)

E, F and G are intermediate input/output signals to the logic gates.

Output X = Safety brake (brake on = 1)

Construct a logic gate circuit, based on the truth table, that meets the requirements for the safety brake to activate. Clearly label all inputs and outputs.

Watch the situation first

The brake needs a sensor, reverse gear and a running engine all at once

A forklift seen from above backs towards a crate. Watch the eight signals underneath as the gear shifts into reverse and the left sensor picks up the crate.

Driving forward: gear C = 1, so the brake stays off Reverse selected: C = 0, so the NOT gives F = 1 The left sensor sees the crate: A = 1, brake on Only 3 of the 16 rows switch the brake on crate left sensor (A) right sensor (B) forward reversing Gear forward reverse Engine on Safety brake off on A 0 1 B 0 1 C 0 1 D 0 1 E 0 1 F 0 1 G 0 1 X 0 1 inputs intermediate signals output Rows of the printed table with X = 1 (A B C D) 0 1 0 1 1 0 0 1 1 1 0 1 Every one has C = 0 and D = 1, with A or B = 1

A sensor, reverse gear and the engine all have to agree before X = 1. The paragraph never mentions the engine, so only the table tells you that D joins the circuit.

Now for the engineering

Build the circuit and test it against the printed table

Pick a gate for each slot and add the labels. Then press the inputs, or run all sixteen rows. The table fills in as you test, and the marking guide ticks off each criterion you earn.

E F G X Safety brake brake on = 1
Inputs

Labels
Your circuit, row by row

Press a row to set its inputs. An orange cell disagrees with the printed table.

A B C DEFGXMatches

QCAA marking guide · 8 marks

Work through the solution one mark at a time

Try each step yourself before you reveal it.

Step 11 mark

Start with column E. It is 0 in the first four rows, where A = 0 and B = 0, and 1 in every other row. A gate that gives 0 only when both inputs are 0 is an OR. That is the “either sensor” in the paragraph.

E = A OR B

The mark is for the whole path, from both sensors through the OR and the two ANDs to the brake, so it only lands once Step 3 is in place.

Marker: provides a correctly applied logic gate circuit including left motion sensor and right motion sensor => OR => AND1 => AND2 => safety brake operation

Step 21 mark

Column F is the opposite of column C in every row. That is a NOT gate on the gear input. The brake cares about reverse, and reverse is C = 0, so the gear signal has to be inverted before it can switch an AND on.

F = NOT C

Marker: gear => NOT => AND1 => AND2 => safety brake operation

Step 31 mark

Column G is 1 in exactly the six rows where E = 1 and F = 1, so G comes from an AND gate (AND1). Column X is 1 in exactly the three rows where G = 1 and D = 1, so the engine joins at a second AND gate (AND2), and AND2 drives the brake.

G = E AND FX = G AND D

The guide’s Method 2 wires it the other way round. The engine and F go into AND1, then E and that output go into AND2. It gives the same X on all sixteen rows and earns the same marks.

OR NOT AND AND Left sensormotion = 1 A Right sensormotion = 1 B Gearforward = 1 C Engineon = 1 D E F G X Safety brakebrake on = 1

Look at what Method 2 calls G. Its AND1 output is F AND D, which is not the printed G column. The two disagree in four rows (0001, 0100, 1000 and 1100), yet the guide still labels it G. Build Method 1 and every column you label matches the table.

Marker: engine => AND2 => safety brake operation. Method 2: engine => AND1 => AND2 => safety brake operation

Step 43 marks

Label each input line with what it is and what 1 means for it. Copy the conditions from the key.

A: left sensor (motion detected = 1)
B: right sensor (motion detected = 1)
C: gear (forward selected = 1, reverse selected = 0)
D: engine (engine on = 1)

The labels are marked apart from the gates. The guide says “Allow FT marks for an incorrect logic gate circuit”, so label every line even if you are unsure of a gate.

Marker: correctly labels left and right motion sensor inputs · correctly labels gear input · correctly labels engine input

Step 51 mark

Letter the three wires between the gates: E out of the OR, F out of the NOT and G out of AND1. The table names these columns, so the marker expects to find them on your circuit.

Marker: correctly labels intermediary inputs/outputs E, F and G

Step 61 mark

Label the output: X, safety brake (brake on = 1). That completes the circuit.

OR NOT AND AND Left sensormotion = 1 A Right sensormotion = 1 B Gearforward = 1 C Engineon = 1 D E F G X Safety brakebrake on = 1

Marker: correctly labels safety brake output

Putting it all together

Each phrase of the question gave you something

“A truth table for the reversing safety system of a forklift is shown”
The table is the specification. Each intermediate column is the output of one gate you have to find.
“If either sensor detects an obstacle while the forklift is reversing”
“Either” is the OR that makes E. “While” is the AND that joins it to reverse.
“Gear (forward selected = 1, reverse selected = 0)”
The brake wants reverse, which is 0, so the gear needs a NOT before it reaches an AND.
“Engine (engine on = 1)”
The paragraph never mentions the engine. The X column shows it joins at the last AND.
“Clearly label all inputs and outputs”
Five of the eight marks are labels. Name each line and say what 1 means for it.
What makes this complex familiar

QCAA did not publish a band for this question. It reads as complex familiar because the four gates are the usual safety interlock, an OR, a NOT and two ANDs, but you have to read them out of a sixteen-row table with three intermediate columns rather than a short paragraph.

If I had to guess where you might lose marks, it would be the engine. The paragraph only talks about the sensors and reversing, so a circuit built from the words alone leaves out D and drops the engine path and the engine label. Build from the table, then use the words to name the inputs. The other trap is labelling with letters only, when five of the eight marks are labels.

Only mark this done when you could do it without help. Reading the solution does not count.

Back to the index

Question wording, any figures and marking-guide steps are from the 2024 QCAA Engineering external assessment, © State of Queensland (QCAA) 2024, licensed under CC BY 4.0, and have been adapted, except where a third-party source is named. Tangent Tuition is not affiliated with the QCAA.