Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A student has only NAND gates. She joins the two inputs of one NAND gate together and feeds the single signal A into both of them. The output is X = A NAND A.
X when A = 0.X when A = 1.NAND is NOT AND: it gives 0 only when both inputs are 1, column 1, 1, 1, 0. NOR is NOT OR: it gives 1 only when both inputs are 0, column 1, 0, 0, 0. Each symbol is the AND or OR shape with a small circle at the output.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. A = 0. Both inputs are 0. 0 AND 0 = 0, and NAND turns it over: .
Step 2. A = 1. Both inputs are 1. 1 AND 1 = 1, and NAND gives .
Step 3. The gate. The output is always the opposite of A. It acts like a NOT gate.
What if? In an examination answer, draw the NOT gate itself when a NOT is asked for. This trick only shows how flexible a NAND gate is.
Answer: (a) . (b) . (c) A NOT gate.
Log in to join the discussion.
Loading…