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.
The 20 questions
-
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
-
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
-
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
-
A is 1 and B is 0. What is A AND B?
- A and B cannot be combined
- 2
- 0
- 1
-
A is 1 and B is 0. What is A OR B?
- 1 and 0 cannot be combined
- 2
- 1
- 0
-
What is NOT 0?
- There is no answer for NOT 0
- 0
- 2
- 1
-
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
-
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
-
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
-
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
-
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
-
A is 1, B is 1. What is A AND B?
- 2
- 0
- 1 and 1 cannot be combined
- 1
-
A is 0, B is 0. What is A OR B?
- 1
- 0 and 0 cannot be combined
- 0
- 2
-
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
-
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
-
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
-
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
-
What is the output of True AND False in Python?
- An error
- 1
- True
- False
-
What is the output of True OR False in Python?
- 0
- False
- True
- An error
-
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
Related quizzes
- Boolean logic in circuits and programming Quiz · T3.1.2 · 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