Loading subject…
Binary Digit
A binary digit has either a value of 0 or 1. These values correspond to on and off signals in electronic circuits.
Think of binary digits like a light switch: 0 represents the switch being off, and 1 represents it being on.
Logic Gates
A digital device that performs a Boolean function, controlling whether an input signal passes through to the output based on logical rules (e.g., AND, OR, NOT).
Logic gates are the fundamental building blocks of digital circuits, enabling complex computations and decision-making processes.
| Input A | Input B | AND | OR | NAND | NOR | XOR | XNOR |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 |
| Advantages | Disadvantages |
|---|---|
| Noise Resistance: Binary signals are less affected by interference | Loss of Detail: Quantization can lead to a loss of subtle information |
| Easy Storage and Processing: Data can be compressed, encrypted, and transmitted efficiently | Complexity: Requires conversion from analogue to digital and vice versa |
A logic gate outputs 1 only when both of its inputs are 1. Which gate is it? (1 mark)
A. OR
B. NOR
C. XOR
D. AND
Solution
1 mark for the correct answer: D, AND.
A microwave oven will only run when the door is closed (input A) AND the start button is pressed (input B). A signal of 1 means the condition is met.
(a) Identify the logic gate that controls the motor, and complete its truth table. (3 marks)
(b) Explain why a designer would choose this gate rather than an OR gate for this safety function. (2 marks)
Solution
(a) Award [1] for identifying the gate and [1] for each correct half of the truth table, up to [3 max].
(b) Award [1] for each point, up to [2 max].