Practice
Boolean algebra practice problems
Boolean algebra is the arithmetic of logic circuits. These problems use it in both directions: simplify an expression and build it, or read a circuit and write the expression it computes.
74 problems4 free to solve18 easy, 33 medium, 23 hard
Because the answer is a circuit, it is checked against every input combination, so a simplification that drops a term fails even when it looks right on paper.
What these problems cover
- Simplification with the Boolean laws
- De Morgan's theorems and NAND or NOR only designs
- Canonical SOP and POS, minterms, maxterms, sigma and pi notation
- Duals and complements
- Extracting the expression from a multi level circuit
- Implementing functions with multiplexers, PLAs and PALs
Free to start
Solve these with a free account. Every other statement on this page is free to read.
Problems by track
Digital Foundations23
- Absorption Law: Both Forms
- Idempotent, Complement and Identity Laws Applied Together
- Distributive Law: Both Directions
- Dual of a Boolean Expression
- De Morgan's Theorem: Single-Variable NAND
- De Morgan's Theorem: NOR Form
- De Morgan's Applied to a Multi-Variable Expression
- Complement of a Function
- Simplification Using Multiple Laws: A 3-Variable Expression
- Recognize XOR from a Boolean Expression
- Consensus Theorem: Removing a Redundant Term
- Prove Equivalence Without a Truth Table
Gate-Level Logic37
- Extract Expression from a Two-Level AND-OR Circuit with Fan-Out
- Extract Expression from a Two-Level NAND-NAND Circuit
- Extract Expression from a Three-Level Circuit with Mixed Gate Types
- Identify the Function Computed by a Multi-Level NAND Circuit Using Bubble Pushing
- Determine Whether Two Different Circuits Implement the Same Function
- Three-Term SOP with Single Literal
- Three-Variable Majority Function Using Only NAND Gates
- Analyze a NAND-Only Circuit and Identify the Function Using Bubble Cancellation
- Implement ABCD Using Only Two-Input Gates with Minimum Circuit Depth
- Implement (A+B+C)(A+B+D) by Factoring
- Build the Same Function in Both Minimum-Gate and Minimum-Depth Versions and Compare
- Two-Variable K-Map: Identify All Groups Including the All-Ones Case
Combinational Building Blocks2
Datapath and Storage2
Fault Testing and Verification1
More problems9
- Two-Input AND Gate Using Only Two-Input NAND Gates
- 3-Input Majority Function from 2-Input Gates
- BCD Validity Checker (Flag Codes 10–15 as Invalid)
- Full Adder Using 2:1 MUX Only
- Minimal SOP for a 4-Variable Karnaugh Map Function
- 4-Variable Function via 8:1 MUX
- Four-Variable K-Map: Missed Wrapping Group
- Hazard-Free Sum-of-Products for F = AB + BC
- Multiplexer-Based Universal Function Generator
How your answer is checked
Circuit problems are checked against the full truth table on the circuit simulator, so any equivalent circuit passes. Analysis questions are checked against their answer key.
Questions
- Does my circuit have to match a model answer?
- No. It is checked against the truth table, so any circuit that computes the same function passes, however you simplified it.
- Where should a beginner start?
- With the Digital Foundations track, which covers number systems and the Boolean laws before any K-maps.