Logic Gates and Circuits
- 26Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What condition must be met for a two-input AND gate to output 1?
26 questions
- 1
What condition must be met for a two-input AND gate to output 1?
Model answer
Both inputs must be 1. For every other input pair, the output is 0.
Explanation
An AND gate outputs 1 only for inputs 1 and 1.
- 2
What output does an OR gate produce when both inputs are 0, and when at least one input is 1?
Model answer
It outputs 0 when both inputs are 0 and 1 when either or both inputs are 1.
Explanation
The OR gate is true if at least one of its inputs is 1.
- 3
Under what condition does an XOR gate output 1?
Model answer
It outputs 1 when exactly one input is 1; it outputs 0 when both inputs match.
Explanation
XOR differs from ordinary OR when both inputs are 1: XOR outputs 0 in that case.
- 4
How does XOR differ from ordinary OR when the inputs are both 1?
Model answer
OR outputs 1, while XOR outputs 0 because XOR requires exactly one input to be 1.
Explanation
The gates agree for 0,0; 0,1; and 1,0, but differ for 1,1.
- 5
What does a NOT gate do to its input?
Model answer
It inverts the bit: 0 becomes 1, and 1 becomes 0.
Explanation
A NOT gate is also called an inverter.
- 6
How many inputs does a NOT gate take, and how many output bits does it produce?
Model answer
It takes one input and produces one output bit.
Explanation
Unlike the AND, OR, and XOR gates described, NOT operates on a single input.
- 7
What output does each of the AND, OR, and XOR gates produce for inputs 0 and 1?
Model answer
AND outputs 0, OR outputs 1, and XOR outputs 1.
Explanation
Only AND requires both inputs to be 1; OR and XOR both output 1 for the pair 0,1.
- 8
What output does each of the AND, OR, and XOR gates produce for inputs 1 and 1?
Model answer
AND outputs 1, OR outputs 1, and XOR outputs 0.
Explanation
XOR outputs 0 because both inputs are 1, rather than exactly one.
- 9
How can the ANSI-style drawings of AND and OR gates be distinguished?
Model answer
In the style described, the AND gate has a flat ridge at its output end, while the OR gate has a curved, crescent-like shape.
Explanation
The video uses these shapes to distinguish the two gates visually.
- 10
What additional marking distinguishes an XOR gate from an OR gate in the described drawing style?
Model answer
An XOR gate has an extra curved line parallel to the curved input side of the OR-gate shape.
Explanation
The additional line indicates that the gate is exclusive OR rather than ordinary OR.
- 11
What basic shape and marking represent a NOT gate in the described diagrams?
Model answer
A NOT gate is drawn as a triangle with a small circle at its output.
Explanation
The small circle marks the inversion performed by the gate.
- 12
How many inputs and outputs are shown for AND, OR, and XOR gates?
Model answer
Each takes two inputs and produces one output bit.
Explanation
The described diagrams show two incoming signals and one outgoing signal for each gate.
- 13
Must logic gates always be drawn in exactly the same style?
Model answer
No. The content notes that gates can be drawn in different styles and uses ANSI-style symbols for the examples.
Explanation
The gate’s logical function is not limited to one drawing style.
- 14
How can separate logic gates be combined to form a more complex circuit?
Model answer
The output of one gate can be used as an input to another gate, allowing the gates to be chained.
Explanation
Connecting gate outputs to later gates creates successive levels of processing.
- 15
Why is it useful to evaluate a chained circuit starting with its lowest-level gates?
Model answer
Higher-level gates depend on the outputs of lower-level gates, so the lower-level results must be found first.
Explanation
Evaluating the circuit in dependency order provides the inputs needed at each later stage.
- 16
In the illustrated chained circuit, what is the final output when all eight inputs are 0?
Model answer
The final output is 1.
Explanation
The gate outputs remain 0 through the intermediate levels, and the final NOT gate inverts 0 to 1.
- 17
In the illustrated chained circuit, what is the final output when all eight inputs are 1?
Model answer
The final output is 0.
Explanation
The intermediate XOR stage produces 1, which the final NOT gate inverts to 0.
- 18
In the illustrated circuit, what does the final NOT gate do to the result produced by the preceding gate?
Model answer
It reverses that result, changing 0 to 1 or 1 to 0.
Explanation
The NOT gate inverts its single input, regardless of how earlier gates produced it.
- 19
What intermediate results arise in the illustrated circuit when all inputs are 1, before the final NOT gate?
Model answer
The lower AND, OR, and AND gates produce 1, while the lower XOR produces 0; the next AND produces 0, the next OR produces 1, and their XOR produces 1.
Explanation
These results follow from each gate’s rule and give the final NOT gate an input of 1.
- 20
How many possible input combinations are there for a circuit with eight one-bit inputs?
Model answer
There are 256 possible combinations, since each of the eight bits can be either 0 or 1, giving 28 combinations.
Explanation
The number of combinations doubles for each additional one-bit input.
- 21
What is the purpose of a truth table for a logic gate or circuit?
Model answer
It records the output for each possible input combination, making the logic easier to calculate and check.
Explanation
A truth table allows outputs to be looked up systematically rather than recomputed from a diagram each time.
- 22
What are the four possible input pairs for a two-input gate when listed in numeric order?
Model answer
They are 00, 01, 10, and 11.
Explanation
These are all combinations of two bits, arranged from 0 through 3 in binary.
- 23
What information should a truth table include for a two-input gate?
Model answer
It should list each possible input pair and the gate’s output for that pair.
Explanation
For two inputs, the table needs four input rows, one for each possible pair.
- 24
How can truth-table columns help evaluate a circuit with several gate types?
Model answer
Use separate columns for the outputs of the relevant gates, then use those results as inputs for later stages.
Explanation
Keeping intermediate outputs in columns makes the circuit’s successive calculations easier to follow.
- 25
Why should a complete truth table for a circuit with many inputs include every possible input combination?
Model answer
Because a complete table must show the output for every possible input pattern, not just selected examples.
Explanation
For a circuit with eight one-bit inputs, that requires 256 rows of input combinations.
- 26
How many input cases are needed in a truth table for a NOT gate?
Model answer
Two: input 0 and input 1.
Explanation
A NOT gate has one input bit, so it has two possible input values.

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