True or false: A combinational circuit’s outputs depend only on its current inputs, not on earlier inputs or stored state.
2 Digital Logic Online Quiz Questions
Use this free practice quiz with 20 questions to review 2 Digital Logic, test your knowledge, and prepare for your next test or exam.
What logic gate reverses a single input value?
A truth table includes every possible combination of its inputs. How many rows of input combinations are needed for a circuit with three binary inputs?
- A
6
- B
8
- C
9
- D
16
A NOR gate receives A=0 and B=0. What is its output?
- A
0
- B
1
- C
It depends on the previous inputs.
- D
The output is undefined.
True or false: NAND is the complement of OR.
- A
True
- B
False
Complete the Boolean identity: A+A=.
An OR gate receives A=1 and B=1. What is its output? Enter the output as 0 or 1.
Select all Boolean identities that are correct.
- A
A+A′=1
- B
A+0=0
- C
A⋅A′=0
- D
A⋅1=0
Evaluate A⋅1+A⋅0 when A=1. Choose the Boolean output value.
- A
0
- B
1
- C
The output depends on B.
- D
The output is undefined.
For a half adder, complete the carry equation: C=.
Which pair of gates implements a half adder’s sum and carry outputs?
- A
One OR gate and one NOT gate
- B
Two AND gates
- C
One XOR gate and one AND gate
- D
One NOR gate and one XNOR gate
For inputs A=1 and B=0, select all gates that output 1.
- A
AND
- B
OR
- C
XOR
- D
NOR
- E
NAND
- F
XNOR
Describe a systematic process for designing a combinational circuit from its required behavior.
A circuit produces the complement of the OR of inputs A and B. Which expression is equivalent to ¬(A+B)?
- A
¬A+¬B
- B
¬A⋅¬B
- C
A⋅B
- D
A+B
A designer finds an AND gate whose inputs are a signal A and a constant 1. Which change preserves the circuit’s output?
- A
The gate must remain because 1 changes the value of A.
- B
The output becomes 1 for every value of A.
- C
The gate can be removed because A⋅1=A.
- D
The output becomes 0 for every value of A.
A two-input circuit should output 1 whenever its binary inputs have the same value, and 0 when they differ. Which gate implements this behavior?
- A
XNOR
- B
XOR
- C
AND
- D
OR
A two-input circuit should output 1 only when A=0 and B=1, and output 0 for the other input combinations. Which Boolean expression describes the circuit?
- A
A⋅B
- B
A+¬B
- C
A⋅¬B
- D
¬A⋅B
True or false: In Boolean algebra, ¬(A⋅B) is equivalent to ¬A+¬B.
- A
True
- B
False
What gate outputs 1 when its two binary inputs differ and 0 when they match?
A designer removes an AND gate because one input is tied to 1, using A⋅1=A. What is the general name of the Boolean algebra rule used?