Olympiad · Practice · public practice problem
Builder division (School Level 2)
Digital Logic
Parity checker from NAND gates only
Difficulty 4 of 510 points in 5 partsSuggested time ~20 min (never timed here)
The problem
A factory only stocks 2-input NAND gates, each with a propagation delay of 3 ns. You need XOR, built as N1 = NAND(A, B), N2 = NAND(A, N1), N3 = NAND(B, N1), Y = NAND(N2, N3). A 4-bit parity checker is then made from three such XORs in a balanced tree: XOR(XOR(a, b), XOR(c, d)).
Part (a) · 1 point
How many NAND gates does one XOR use?
(pure number)Tolerance: exactPart (b) · 3 points
Worst-case delay through one XOR (the longest chain of gates from an input to Y)?
nsTolerance: ±0.1 nsPart (c) · 2 points
How many NAND gates does the 4-bit parity checker use?
(pure number)Tolerance: exactPart (d) · 3 points
Worst-case delay of the 4-bit parity checker?
nsTolerance: ±0.1 nsPart (e) · 1 point
Checked so far: 0 of 10 automatically marked points. Nothing is saved.
Stuck? Hints, then the worked solution
Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.