Lesson 2.4.1

2.4.1 Boolean logic Quiz: OCR Computer Science, Unit 10

20 questions

In partnership with Revision Ninja

Lesson 2.4.1, Boolean logic: 20 multiple choice questions for the OCR GCSE Computer Science (J277), Unit 10: Boolean logic, 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. Which logic gate outputs 1 only when both inputs are 1?

    • OR
    • NOT
    • NAND
    • AND
  2. Which logic gate outputs 1 when at least one input is 1?

    • AND
    • OR
    • NOT
    • NAND
  3. What is the output of a NOT gate when the input is 1?

    • Null
    • True
    • 0
    • 1
  4. What is the output of 1 AND 0?

    • Undefined
    • 2
    • 1
    • 0
  5. What is the output of 0 OR 1?

    • Undefined
    • 0
    • 2
    • 1
  6. Which logic operator is also called conjunction?

    • NOT
    • AND
    • OR
    • XOR
  7. How many rows does the truth table for a gate with two inputs have?

    • 3
    • 2
    • 4
    • 8
  8. What is the output of NOT (1 AND 1)?

    • Undefined
    • 0
    • 1
    • TRUE
  9. A door alarm sounds if the door is open AND the alarm is armed. Which gate models this?

    • AND
    • NAND
    • OR
    • NOT
  10. A light is on if switch A OR switch B is on. Which gate models this?

    • NOT
    • NAND
    • AND
    • OR
  11. A = 1 and B = 0. What is the output of A AND (NOT B)?

    • 0
    • 1
    • 2
    • Undefined
  12. A = 1 and B = 0. What is the output of (NOT A) OR B?

    • 2
    • Undefined
    • 1
    • 0
  13. Which row of a truth table for A AND B gives an output of 1?

    • A = 0, B = 1
    • A = 1, B = 1
    • A = 0, B = 0
    • A = 1, B = 0
  14. Which Boolean operator is needed if a system activates when either of two conditions is met?

    • AND
    • NOT
    • XOR
    • OR
  15. A logic diagram sends input A through a NOT gate, then into an AND gate with input B. What is the output when A = 0 and B = 1?

    • Undefined
    • 2
    • 1
    • 0
  16. A system outputs 1 only when A is 0 and B is 0. Which expression describes this?

    • A AND NOT B
    • NOT A AND NOT B
    • A OR B
    • NOT A OR NOT B
  17. For A = 0, B = 1 and C = 0, what is the output of (A OR B) AND NOT C?

    • 2
    • 1
    • Undefined
    • 0
  18. Which expression is equivalent to NOT (A AND B)?

    • NOT A OR NOT B
    • NOT A AND B
    • A OR B
    • NOT A AND NOT B
  19. How many rows does a truth table with three inputs have?

    • 8
    • 6
    • 3
    • 9
  20. What is the main benefit of simplifying a logic circuit diagram?

    • Fewer gates
    • Faster clock
    • Higher voltage
    • More inputs

All OCR Computer Science quizzes