Worked solution from the Boolean logic Paper 1 Computer Systems booklet, Part 2 of 2.
An AND gate followed by a NOT gate gives the opposite of AND. That is NAND.
Write: Name of gate: NAND [1]
Draw an AND gate shape with a small circle on its output, inputs A and B, output X [1]
An OR gate followed by a NOT gate gives the opposite of OR. That is NOR.
Write: Name of gate: NOR [1]
Draw an OR gate shape with a small circle on its output, inputs A and B, output X [1]
Work out each part of the statement for every row, then combine them:
| A | B | C | A OR C | NOT A AND NOT C | AND of both | X |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 | 0 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 | 1 |
All 8 outputs correct [4]
Marks are also given for part of the column: 6 or 7 correct outputs score 3, 4 or 5 score 2, 2 or 3 score 1.
▶ Topic lesson
A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.