Lesson T3.1.2
T3.1.2 Boolean logic in circuits and programming Quiz: KS3 Computing, Unit 3
20 questions
In partnership with Revision Ninja
Lesson T3.1.2, Boolean logic in circuits and programming: 20 multiple choice questions for the KS3 Computing (National Curriculum), Unit 3: Boolean logic and binary, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
What is a logic gate?
- A storage drive
- A power supply
- An input device
- A circuit component
-
Which logic gate outputs 1 only when both of its inputs are 1?
- NOT gate
- Buffer gate
- OR gate
- AND gate
-
Which logic gate has only one input?
- NOT gate
- AND gate
- OR gate
- Adder gate
-
A circuit lights a lamp only when switch A AND switch B are both on. Which gate is used?
- NOT gate
- AND gate
- OR gate
- Half-adder gate
-
Which gate is used if an alarm sounds when a door OR window sensor triggers?
- AND gate
- OR gate
- NOT gate
- NAND gate
-
A heater should switch off when the room is NOT cold. Which gate performs the inversion?
- NOT gate
- OR gate
- AND gate
- Clock gate
-
Which keyword starts a conditional decision in Python programming?
- for
- def
- if
- while
-
What does the Python check 'temp > 20 and not raining' require?
- Only temp true
- Both conditions true
- Either condition true
- Neither condition true
-
A pupil needs a gate that outputs 0 only when both inputs are 0. Which gate is this?
- NOT gate
- OR gate
- Clock gate
- AND gate
-
Why are logic gates used in computer hardware?
- To store files
- To process binary
- To amplify sound
- To display colour
-
What is the primary action of a NOT gate placed before an AND gate?
- Adding two signals
- Deleting the output
- Reversing one input
- Doubling the voltage
-
Which Python operator reverses a Boolean value?
- and
- or
- not
-
A sensor sends 1 when a shop door is open. Which expression is 1 when the door is closed?
- door_open AND door_open
- door_open OR door_open
- print(door_open)
- NOT door_open
-
Which keyword should replace 'or' to require both conditions in 'if a or b:'?
- and
- if
- not
- then
-
What is the output of an AND gate when its inputs are 1 and 0?
- 1
- 10
- 2
- 0
-
What is the output of an OR gate when its inputs are 0 and 0?
- 00
- 2
- 0
- 1
-
Which hardware element combines signals from two sensors to trigger a buzzer?
- A logic gate
- A resistor
- A register
- A capacitor
-
A pupil uses NOT on a condition that is already False. What is the result?
- True
- 0.5
- False
- An error
-
What common foundation do both digital circuits and computer programs share?
- String arrays
- Decimal numbers
- Analogue waves
- True or false
-
What is the output of an AND gate when both of its inputs are 0?
- 1
- 0
- 00
- 2
Related quizzes
- AND, OR and NOT Quiz · T3.1.1 · 20 questions
- Representing numbers in binary Quiz · T3.2.1 · 20 questions
- Binary addition and binary-decimal conversion Quiz · T3.2.2 · 20 questions
- Computational abstractions of real-world systems Quiz · T1.1.1 · 20 questions
- Solving problems with two or more programming languages Quiz · T2.1.1 · 20 questions
- Hardware and software components Quiz · T4.1.1 · 20 questions
- Combining applications across devices Quiz · T5.1.1 · 20 questions
- Using technology safely, respectfully and responsibly Quiz · T6.1.1 · 20 questions
- Sorting algorithms Quiz · T1.2.1 · 20 questions
- Textual programming languages Quiz · T2.1.2 · 20 questions