Logic Circuits Quiz: Interpret Gates and Build Circuit Logic

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 7682 | Total Attempts: 9,547,133
| Questions: 20 | Updated: Dec 15, 2025
Please wait...
Question 1 / 20
0 %
0/100
Score 0/100
1) For a truth table with n Boolean input variables, how many rows (input combinations) are needed?

Explanation

Every input variable can be 0 or 1, so n variables give 2 × 2 × … × 2 = 2^n possible combinations, one per row in the truth table. Each Boolean variable represents an independent binary choice, and multiplying the number of possibilities reflects how many distinct input states the function must account for. Thus, a truth table with n inputs always contains 2^n rows.

Submit
Please wait...
About This Quiz
Logic Circuits Quiz: Interpret Gates And Build Circuit Logic - Quiz

Digital systems start with simple components, and this logic circuits quiz helps you understand how those pieces fit together. You’ll explore gates, truth tables, and circuit behavior in a way that feels visual and practical. As you move through the questions, you’ll see how circuits turn logical rules into real... see moreoperations and why small design choices can change the output completely. It’s an engaging way to step into the world of digital logic and see the ideas behind the technology we use every day. see less

2)
You may optionally provide this to label your report, leaderboard, or certificate.
2) How many possible input combinations does a logic gate with 4 inputs have?

Explanation

With 4 inputs, each can be 0 or 1, giving 2^4 = 16 different input patterns. The total grows exponentially as inputs increase, because every added variable doubles the number of possible input states. A 4-variable function must therefore evaluate 16 unique combinations.

Submit
3) A Boolean function of n variables formally maps:

Explanation

A Boolean function takes an n-tuple of bits (each 0 or 1) as input and produces a single bit (0 or 1) as output, so its domain is {0,1}^n and codomain is {0,1}. This mathematical description captures digital circuits: many input wires enter a gate network, and exactly one output wire carries the final 0 or 1 value.

Submit
4) A 3-variable Boolean function f(A,B,C) has how many distinct input variables?

Explanation

The name ‘3-variable function’ means it depends on three separate Boolean inputs: A, B, and C. Each variable contributes independently to the input space, so the truth table must account for 2^3 = 8 possible input combinations.

Submit
5) A 2-input gate has this truth table: (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→1. Which gate is it?

Explanation

The output is 1 whenever at least one input is 1; this is exactly the behavior of the OR gate. The OR operation represents logical inclusion: the output becomes true if any condition among the inputs holds, making it the simplest multi-input “allow” condition.

Submit
6) A 2-input gate has this truth table: (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→0. Which gate is it?

Explanation

This output is 1 precisely when the inputs differ and 0 when they are the same, which defines the XOR gate. XOR evaluates the inequality of bits; it acts like the logical version of “either, but not both,” making it key for parity checks and digital addition.

Submit
7) Which logic gate corresponds to the Boolean operation of multiplication (·) between bits?

Explanation

In Boolean algebra, the product A·B is 1 only when both A and B are 1, which is exactly the truth table of an AND gate. Multiplication and conjunction share identical truth behavior, so the algebraic notation mirrors the functionality of physical AND gates in circuits.

Submit
8) The Boolean expression A + B represents the behavior of which basic logic gate?

Explanation

The + symbol in Boolean algebra denotes OR, so A + B is true if A or B (or both) are true—matching the OR gate. Unlike arithmetic addition, Boolean OR outputs 1 without carrying or summing; it simply checks for the presence of at least one true input.

Submit
9) A 3-input AND gate has inputs A, B, and C. What is its Boolean expression?

Explanation

An AND gate outputs 1 only if all inputs are 1; for three inputs this is written as the product A·B·C. This expresses a strict requirement that every condition must be satisfied. If any variable is 0, the entire product collapses to 0.

Submit
10) A circuit takes inputs X and Y into an OR gate, and the result is then ANDed with Z. Which expression describes the output?

Explanation

First X and Y go into an OR gate, giving X + Y. That output is then ANDed with Z, giving the overall expression (X + Y)·Z. The circuit therefore outputs 1 only when Z is 1 and at least one of X or Y is also 1. The AND stage restricts the otherwise permissive OR output.

Submit
11) Which pair of logic gates are called 'universal gates' because either one alone can be used to build any combinational logic circuit?

Explanation

NAND and NOR are universal: given enough of either gate and proper wiring, you can construct all basic gates (NOT, AND, OR) and thus any Boolean function. This universality underlies hardware design: complex logical circuitry can be built entirely from one gate type, simplifying manufacturing.

Submit
12) How can you implement a NOT gate using only a 2-input NAND gate?

Explanation

If both inputs are A, the NAND output is ¬(A·A) = ¬A, so tying the two inputs together makes the gate behave as a NOT gate. Since A·A = A, feeding the same signal twice lets the NAND gate invert A, demonstrating how NAND alone can generate inversion.

Submit
13) How can you implement a NOT gate using only a 2-input NOR gate?

Explanation

With both inputs equal to A, the NOR gate output is ¬(A + A) = ¬A, so feeding the same input into both pins yields a NOT operation. Because A + A = A, NOR also becomes a NOT gate under this configuration, showing its universality.

Submit
14) According to De Morgan’s Laws, a NAND gate output (A · B)' is equivalent to:

Explanation

De Morgan’s law gives ¬(A·B) = ¬A ∨ ¬B. In Boolean notation this is A' + B', meaning an OR gate fed by the complements of A and B. Thus, NAND logic can be decomposed into NOT operations followed by an OR, clarifying how compound gates simulate simpler ones.

Submit
15) According to De Morgan’s Laws, a NOR gate output (A + B)' is equivalent to:

Explanation

De Morgan’s law gives ¬(A∨B) = ¬A ∧ ¬B. In Boolean notation this is A' · B', so it behaves like an AND gate whose inputs have been inverted. NOR therefore represents a NOT applied to an OR, which mathematically equals the AND of negated inputs.

Submit
16) An OR gate can be built using only NOR gates by:

Explanation

First, NOR the inputs to get ¬(A∨B). Then feed that result into both inputs of a second NOR gate, which inverts it back to A∨B. The first NOR creates the negated OR, while the second NOR (acting as a NOT) reverses the negation, reconstructing the OR gate using only NOR components.

Submit
17) Why is an XOR gate NOT considered a universal gate?

Explanation

A universal gate must be sufficient on its own to realize any Boolean function. XOR alone cannot generate all basic gates (for example, it cannot easily create a constant output), so it is not universal. XOR lacks the ability to directly force its output to 0 or 1 without additional gates, preventing it from forming the full set of logical operations required.

Submit
18) Which combination of gates correctly implements the expression A' + B?

Explanation

The expression A' + B means 'NOT A OR B', so you first invert A with a NOT gate and then OR that result with B. This captures the logical structure directly: a single negation applied to A combined with a permissive OR condition depending on B.

Submit
19) A circuit shows inputs A and B going into an AND gate, and that output going into a NOT gate. Which Boolean expression does this implement?

Explanation

The AND gate computes A·B, and the NOT gate inverts the result, giving ¬(A·B), which is written as (A · B)'—this is a NAND implementation. NAND encapsulates the idea of requiring both inputs not to be simultaneously true, a fundamental building block in digital logic.

Submit
20) A 2-input XOR gate has its output fed into a NOT gate. What Boolean expression represents the final output?

Explanation

The XOR gate computes A ⊕ B; inverting that output gives ¬(A ⊕ B), written as (A ⊕ B)'. This is the behavior of an XNOR function. XNOR outputs 1 exactly when the inputs match, a crucial function in equality tests and comparator circuits.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
For a truth table with n Boolean input variables, how many rows (input...
How many possible input combinations does a logic gate with 4 inputs...
A Boolean function of n variables formally maps:
A 3-variable Boolean function f(A,B,C) has how many distinct input...
A 2-input gate has this truth table: (0,0)→0, (0,1)→1, (1,0)→1,...
A 2-input gate has this truth table: (0,0)→0, (0,1)→1, (1,0)→1,...
Which logic gate corresponds to the Boolean operation of...
The Boolean expression A + B represents the behavior of which basic...
A 3-input AND gate has inputs A, B, and C. What is its Boolean...
A circuit takes inputs X and Y into an OR gate, and the result is then...
Which pair of logic gates are called 'universal gates' because either...
How can you implement a NOT gate using only a 2-input NAND gate?
How can you implement a NOT gate using only a 2-input NOR gate?
According to De Morgan’s Laws, a NAND gate output (A · B)' is...
According to De Morgan’s Laws, a NOR gate output (A + B)' is...
An OR gate can be built using only NOR gates by:
Why is an XOR gate NOT considered a universal gate?
Which combination of gates correctly implements the expression A' + B?
A circuit shows inputs A and B going into an AND gate, and that output...
A 2-input XOR gate has its output fed into a NOT gate. What Boolean...
Alert!

Advertisement