Logic Gates and Circuits
- 20Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
When does a two-input AND gate produce an output of 1?
When does a two-input AND gate produce an output of 1?
20 questions
- 1
When does a two-input AND gate produce an output of 1?
- A
Only when both inputs are 0
- B
Whenever the two inputs differ
- C
Whenever at least one input is 1
- D
Only when both inputs are 1
Correct answer
DOnly when both inputs are 1
Explanation
An AND gate outputs 1 only if both input bits are 1; otherwise, its output is 0.
- A
- 2
What does an AND gate output for inputs 1 and 0?
- A
0, because the first input is 1
- B
1, because the inputs differ
- C
1, because one input is 1
- D
0, because both inputs are not 1
Correct answer
D0, because both inputs are not 1
Explanation
An AND gate requires both inputs to be 1, so the inputs 1 and 0 produce an output of 0.
- A
- 3
When does a two-input OR gate produce an output of 0?
- A
Whenever at least one input is 0
- B
When both inputs are 1
- C
When the inputs are different
- D
When both inputs are 0
Correct answer
DWhen both inputs are 0
Explanation
An OR gate outputs 0 only when neither input is 1—that is, when both inputs are 0.
- A
- 4
What condition makes an XOR gate output 1?
- A
The two inputs are the same
- B
At least one input is 0
- C
Exactly one input is 1
- D
Both inputs are 1
Correct answer
CExactly one input is 1
Explanation
XOR outputs 1 when exactly one of its two inputs is 1; it outputs 0 when the inputs match.
- A
- 5
How does XOR differ from ordinary OR when both inputs are 1?
- A
Both gates output 1
- B
XOR outputs 1, while OR outputs 0
- C
XOR outputs 0, while OR outputs 1
- D
Both gates output 0
Correct answer
CXOR outputs 0, while OR outputs 1
Explanation
Ordinary OR outputs 1 if either or both inputs are 1. XOR requires exactly one input to be 1, so it outputs 0 for inputs 1 and 1.
- A
- 6
What does a NOT gate do to its input bit?
- A
It copies the input without changing it
- B
It inverts the input from 0 to 1 or from 1 to 0
- C
It outputs 1 only when paired with another input
- D
It outputs 0 whenever the input is 0
Correct answer
BIt inverts the input from 0 to 1 or from 1 to 0
Explanation
A NOT gate, also called an inverter, changes 0 to 1 and 1 to 0.
- A
- 7
What is the output of a NOT gate when its input is 0?
- A
0
- B
It depends on a second input
- C
It has no output
- D
1
Correct answer
D1
Explanation
NOT inverts its single input, so an input of 0 produces an output of 1.
- A
- 8
In the ANSI-style drawings described, what visual feature distinguishes an AND gate from an OR gate?
- A
The AND gate has a flat output-side edge, while the OR gate has a curved one
- B
The AND gate has an extra curved line, while the OR gate has a small circle
- C
The AND gate has one input, while the OR gate has no inputs
- D
The AND gate is triangular, while the OR gate is rectangular
Correct answer
AThe AND gate has a flat output-side edge, while the OR gate has a curved one
Explanation
In the described drawing style, the AND gate has a flat ridge at its output side, while the OR gate has a more curved shape.
- A
- 9
What extra mark is used to distinguish the drawn XOR gate from the OR gate?
- A
A small circle at the output
- B
A flat ridge at the output side
- C
An additional curved line near the input side
- D
A triangle placed after the gate
Correct answer
CAn additional curved line near the input side
Explanation
The XOR symbol is drawn like an OR symbol with an additional curved line parallel to its input-side curve.
- A
- 10
Which described symbol represents a NOT gate?
- A
Two curved lines with two outputs
- B
A triangle with a small circle and one input
- C
A crescent-shaped gate with two inputs
- D
A flat-sided gate with two inputs
Correct answer
BA triangle with a small circle and one input
Explanation
The described NOT symbol is a triangle with a small circle indicating inversion; it takes one input.
- A
- 11
How many inputs and outputs does each of the described AND, OR, and XOR gates have?
- A
Two inputs and one output
- B
Two inputs and two outputs
- C
One input and one output
- D
One input and two outputs
Correct answer
ATwo inputs and one output
Explanation
The described AND, OR, and XOR gates each take two input bits and produce one output bit.
- A
- 12
How many inputs does the described NOT gate take, and how many outputs does it produce?
- A
Two inputs and one output
- B
One input and one output
- C
Two inputs and two outputs
- D
One input and two outputs
Correct answer
BOne input and one output
Explanation
The NOT gate operates on a single input bit and produces a single inverted output bit.
- A
- 13
How can separate logic gates be combined to form a larger circuit?
- A
Connect one gate's output to another gate's input
- B
Replace every gate's input with a truth table
- C
Connect only the gates' outputs to each other
- D
Give each gate a separate final output only
Correct answer
AConnect one gate's output to another gate's input
Explanation
A circuit can be chained by using the output of one gate as an input to another gate.
- A
- 14
When evaluating a layered logic circuit, which approach does the content recommend?
- A
Start at the final output and guess the earlier inputs
- B
Begin with the NOT gate regardless of its position
- C
Evaluate every gate simultaneously without using intermediate results
- D
Evaluate the lower, easiest operations before dependent higher operations
Correct answer
DEvaluate the lower, easiest operations before dependent higher operations
Explanation
The recommended approach is hierarchical: calculate the simpler lower-level operations first, then use their results to evaluate gates above them.
- A
- 15
A NOT gate receives the output 0 from an earlier part of a circuit. What does the NOT gate produce?
- A
No output, because its input came from another gate
- B
0, because it preserves the earlier result
- C
1, because it inverts the earlier result
- D
Either 0 or 1, depending on a second input
Correct answer
C1, because it inverts the earlier result
Explanation
A gate output can serve as another gate's input. Since NOT inverts 0, the resulting output is 1.
- A
- 16
If a circuit has eight independent one-bit inputs, how many possible input combinations are there?
- A
8
- B
64
- C
16
- D
256
Correct answer
D256
Explanation
Each of the eight bits can be either 0 or 1, giving 28=256 possible input combinations.
- A
- 17
How many input combinations must a truth table cover for a gate with two one-bit inputs?
- A
4
- B
2
- C
8
- D
3
Correct answer
A4
Explanation
Two one-bit inputs have four possible combinations: 00, 01, 10, and 11.
- A
- 18
Which list gives every possible combination of two one-bit inputs?
- A
00, 01, 10, 11
- B
01, 11, 21, 31
- C
00, 10, 20, 30
- D
00, 01, 11, 22
Correct answer
A00, 01, 10, 11
Explanation
Each input can be 0 or 1, so the complete set of pairs is 00, 01, 10, and 11.
- A
- 19
Why can intermediate gate results be recorded in separate truth-table columns?
- A
They allow a one-input gate to process two bits
- B
They change the gate's rules to match the circuit output
- C
They remove the need to list the input combinations
- D
They make it possible to reuse earlier results when evaluating later gates
Correct answer
DThey make it possible to reuse earlier results when evaluating later gates
Explanation
Recording each gate's result lets you use those intermediate values to evaluate later layers without recalculating the earlier operations.
- A
- 20
For a truth table describing a complete circuit, what should its rows represent?
- A
Every possible combination of the circuit's input bits
- B
Only the intermediate outputs of the lowest gates
- C
Only combinations that make the final output 1
- D
One row for each type of gate, regardless of the inputs
Correct answer
AEvery possible combination of the circuit's input bits
Explanation
A complete truth table includes a row for every possible combination of the circuit's input bits, so each case can be evaluated.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.