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.

Host this setFree Play

The 20 questions

  1. What is a logic gate?

    • A storage drive
    • A power supply
    • An input device
    • A circuit component
  2. Which logic gate outputs 1 only when both of its inputs are 1?

    • NOT gate
    • Buffer gate
    • OR gate
    • AND gate
  3. Which logic gate has only one input?

    • NOT gate
    • AND gate
    • OR gate
    • Adder gate
  4. 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
  5. Which gate is used if an alarm sounds when a door OR window sensor triggers?

    • AND gate
    • OR gate
    • NOT gate
    • NAND gate
  6. A heater should switch off when the room is NOT cold. Which gate performs the inversion?

    • NOT gate
    • OR gate
    • AND gate
    • Clock gate
  7. Which keyword starts a conditional decision in Python programming?

    • for
    • def
    • if
    • while
  8. What does the Python check 'temp > 20 and not raining' require?

    • Only temp true
    • Both conditions true
    • Either condition true
    • Neither condition true
  9. 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
  10. Why are logic gates used in computer hardware?

    • To store files
    • To process binary
    • To amplify sound
    • To display colour
  11. 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
  12. Which Python operator reverses a Boolean value?

    • and
    • or
    • not
    • print
  13. 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
  14. Which keyword should replace 'or' to require both conditions in 'if a or b:'?

    • and
    • if
    • not
    • then
  15. What is the output of an AND gate when its inputs are 1 and 0?

    • 1
    • 10
    • 2
    • 0
  16. What is the output of an OR gate when its inputs are 0 and 0?

    • 00
    • 2
    • 0
    • 1
  17. Which hardware element combines signals from two sensors to trigger a buzzer?

    • A logic gate
    • A resistor
    • A register
    • A capacitor
  18. A pupil uses NOT on a condition that is already False. What is the result?

    • True
    • 0.5
    • False
    • An error
  19. What common foundation do both digital circuits and computer programs share?

    • String arrays
    • Decimal numbers
    • Analogue waves
    • True or false
  20. What is the output of an AND gate when both of its inputs are 0?

    • 1
    • 0
    • 00
    • 2

All KS3 Computing quizzes