Lesson 4.6.4.1
4.6.4.1 Logic gates Quiz: AQA Computer Science, Unit 6
20 questions
In partnership with Revision Ninja
Lesson 4.6.4.1, Logic gates: 20 multiple choice questions for the AQA Computer Science (7517), Unit 6: Fundamentals of computer systems, 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 the output of an AND gate when both inputs are 1?
- Undefined, because an AND gate needs three inputs
- The inverse of the input, which is 0
- 0
- 1
-
Which gate outputs 1 only when its inputs differ?
- XOR
- NAND
- AND
- NOR
-
What is the output of a NAND gate with inputs A = 1 and B = 1?
- It is the same as an OR gate's output for these inputs
- 1
- 0
- It cannot be determined without a clock signal
-
Which gate's output is the inverse of an OR gate's output?
- AND
- XOR
- NOR
- NOT applied to A only
-
For an OR gate with inputs A = 0 and B = 1, what is the output?
- Equal to the value of A, which is 0
- 0
- Undefined until a clock pulse arrives at the gate
- 1
-
A NOT gate receives the input 0. What is its output?
- The inverse of an AND gate with no inputs
- Undefined, because a NOT gate needs two inputs
- 1
- 0
-
Which Boolean expression is equivalent to the output of a two-input NAND gate with inputs A and B?
- A XOR B
- A OR B
- NOT A AND NOT B
- NOT(A AND B)
-
A circuit computes Q = (A AND B) OR C. What is the value of Q when A = 1, B = 0, C = 1?
- 0
- Undefined, since the AND output and C conflict
- 1
- Equal to A XOR C, which is 0
-
A circuit computes Q = NOT(A OR B). Which input combination gives Q = 1?
- A = 1, B = 1
- A = 0, B = 0
- A = 0, B = 1
- A = 1, B = 0
-
Which of the following is the Boolean expression for a half-adder's sum output?
- A OR B
- A XOR B
- NOT(A AND B)
- A AND B
-
Which Boolean expression describes the carry output of a half-adder?
- A AND B
- A OR B
- NOT A AND B
- A XOR B
-
A half-adder has inputs A = 1 and B = 1. What are its sum and carry outputs?
- Sum 1, carry 0
- Sum 1, carry 1
- Sum 0, carry 1
- Sum 0, carry 0
-
A full-adder adds inputs A, B and a carry-in C. Which expression gives its sum output?
- A OR B OR C
- A AND B AND C
- A XOR B XOR C
- (A AND B) OR C
-
A full-adder has A = 1, B = 1 and carry-in C = 1. What are its sum and carry-out values?
- Sum 0, carry-out 1
- Sum 1, carry-out 1
- Sum 1, carry-out 0
- Sum 0, carry-out 0
-
Which gate combination is typically used to build the carry output of a full-adder from its inputs A, B and C?
- A single XOR gate with all three inputs, since XOR alone gives the full carry output
- A NOT gate on each input, because inverting the inputs gives the carry output directly
- NAND gates only, because NAND cannot be used to build any other gate type
- AND gates and an OR gate combining the carry from A and B with the carry-in C
-
A truth table has four rows for two inputs. For which gate is the output 1 only in the row where both inputs are 0?
- NOR
- AND
- XOR
- NAND
-
Which statement about D-type flip-flops, as described in the specification, is correct?
- A D-type flip-flop stores a whole byte at once and cannot hold a single bit of data
- A D-type flip-flop is a combinational gate whose output depends only on its current inputs
- An edge-triggered D-type flip-flop can be used as a memory unit that stores a single bit
- A D-type flip-flop stores its value in a register that is erased whenever the clock rises
-
A circuit's output is given by Q = NOT(A) AND B. Which input values produce Q = 1?
- A = 1, B = 0
- A = 0, B = 0
- A = 0, B = 1
- A = 1, B = 1
-
What is the output of an XOR gate when both inputs are 1?
- The inverse of an AND gate's output, which is 1
- 0
- 1
- It cannot be determined without a clock signal to the gate
-
A circuit gives Q = A XOR B with A = 1 and B = 0. What is Q?
- Equal to A AND B, which is 0
- 0
- Undefined until both inputs are set to 1
- 1
Related quizzes
- Data types Quiz · 4.1.1.1 · 20 questions
- Entity relationship modelling Quiz · 4.10.1.1 · 20 questions
- Big Data Quiz · 4.11.1.1 · 20 questions
- Function types and first-class objects Quiz · 4.12.1.1 · 20 questions
- Analysis Quiz · 4.13.1.1 · 20 questions
- Data structures and abstract data types Quiz · 4.2.1.1 · 20 questions
- Breadth-first and depth-first search Quiz · 4.3.1.1 · 20 questions
- Problem-solving and algorithms Quiz · 4.4.1.1 · 20 questions
- Natural, rational, irrational and real numbers Quiz · 4.5.1.1 · 20 questions
- Programming concepts: sequence, selection and iteration Quiz · 4.1.1.2 · 20 questions