Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A student was asked for the truth table of an AND gate. The student wrote the output column, in the rows 0 0, 0 1, 1 0, 1 1, as 0, 1, 1, 1.
AND gives 1 only when both inputs are 1: X = A AND B, output column 0, 0, 0, 1. The rows of a truth table go in binary order: 0 0, 0 1, 1 0, 1 1. A gate in this syllabus has at most two inputs, so three conditions joined by AND need two AND gates.
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. The correct column. AND gives 0, 0, 0, 1.
Step 2. Compare. The student's column is 0, 1, 1, 1. The rows 0 1 and 1 0 differ. That is wrong rows.
Step 3. The other gate. The column 0, 1, 1, 1 belongs to the OR gate.
Answer: (a) rows. (b) The OR gate.
Log in to join the discussion.
Loading…