Lesson T3.1.1

T3.1.1 AND, OR and NOT Quiz: KS3 Computing, Unit 3

20 questions

In partnership with Revision Ninja

Lesson T3.1.1, AND, OR and NOT: 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 does the AND operator output?

    • 1 only when both inputs are 0
    • 1 only when both inputs are 1
    • 1 when at least one input is 1
    • The opposite of its first input
  2. What does the OR operator output?

    • 1 when at least one input is 1
    • 1 only when both inputs are 1
    • The same value as its second input only
    • 1 only when both inputs are 0
  3. What does NOT do to a single input?

    • It doubles the input value each time it is applied to the number
    • It joins two inputs into one longer input, like a text string
    • It reverses the input, so 1 becomes 0 and 0 becomes 1
    • It keeps the input unchanged in every case
  4. A is 1 and B is 0. What is A AND B?

    • A and B cannot be combined
    • 2
    • 0
    • 1
  5. A is 1 and B is 0. What is A OR B?

    • 1 and 0 cannot be combined
    • 2
    • 1
    • 0
  6. What is NOT 0?

    • There is no answer for NOT 0
    • 0
    • 2
    • 1
  7. A tea bar opens only if it is the weekend AND the shop is open. Which logic operator describes this?

    • XOR written as a single word
    • NOT
    • AND
    • OR
  8. A cinema accepts a ticket if the customer is under 12 OR has a student card. Which operator is this?

    • NOT
    • AND
    • NAND written in full
    • OR
  9. A user is NOT logged in. In a program the check is written as NOT logged_in. What happens when logged_in is True?

    • The check gives the number 2
    • The check gives an error every time
    • The check gives True
    • The check gives False
  10. Which truth table row shows AND giving 0?

    • A is 0 and B is 1
    • A is 1 and B is 1 with NOT applied
    • A is 1 and B is 1
    • A is 1 and B is 1 added together
  11. Which truth table row shows OR giving 1?

    • A is 0 and B is 0
    • A is 0 and B is 1
    • A is 0 and B is 0 with NOT applied
    • A is 0 and B is 0 added together
  12. A is 1, B is 1. What is A AND B?

    • 2
    • 0
    • 1 and 1 cannot be combined
    • 1
  13. A is 0, B is 0. What is A OR B?

    • 1
    • 0 and 0 cannot be combined
    • 0
    • 2
  14. A pupil says 'NOT (A AND B)'. A is 1 and B is 0. What is the answer?

    • 0
    • 1
    • 2
    • It cannot be calculated
  15. Which is the correct description of the AND truth table?

    • The output is 1 whenever either input is 1
    • The output is 1 in one case only: both inputs are 1
    • The output is 1 whenever both inputs are 0
    • The output is always the same as the first input
  16. Why are logical operators used in programming?

    • To print results on paper for the user to read later
    • To store large pictures in memory while the program runs
    • To combine conditions and make decisions in a program
    • To change a number into a letter for display on screen
  17. What is the value of the expression x > 1 AND y > 5 when x is 3 and y is 7?

    • False
    • 0
    • An error
    • True
  18. What is the output of True AND False in Python?

    • An error
    • 1
    • True
    • False
  19. What is the output of True OR False in Python?

    • 0
    • False
    • True
    • An error
  20. Which combination of inputs gives 1 for NOT (A OR B)?

    • A is 0 and B is 1
    • A is 1 and B is 0
    • A is 1 and B is 1
    • A is 0 and B is 0

All KS3 Computing quizzes