2021 A/L Physics Past Paper · Question 10 (English Medium)

A NAND gate with its two inputs joined

The given circuit is equivalent to a

  1. (1) NOT gate.
  2. (2) OR gate.
  3. (3) AND gate.
  4. (4) NOR gate.
  5. (5) EXOR gate.
Answer and explanation

Answer: (1) NOT gate.

What the question asks

What we know:

The gate in the figure is a NAND gate. Its two inputs are joined together, and both come from one point, XX. The output is YY.

What each letter means:

XX: the one input of the circuit.

AA and BB: the two inputs of the NAND gate. Here A=XA = X and B=XB = X.

YY: the output of the circuit.

11 and 00: logic 1 (high, on) and logic 0 (low, off).

We want: which single gate does the same job as this circuit.

The plan: try both values of XX, 00 and 11. Find YY each time. Then see which gate gives the same table.

Relevant theory

The logic operation of the NAND gate is the inverse of that of the AND gate.

A NOT can be made by connecting the two input terminals of a NAND gate together and taking it as one input.

Reading the options

Think of a door that opens only when two people push at the same time. A NAND gate is the opposite: its output goes to 00 only when both inputs are 11. For every other case the output is 11.

A=0A = 0, B=0B = 0: output =1= 1

A=0A = 0, B=1B = 1: output =1= 1

A=1A = 1, B=0B = 0: output =1= 1

A=1A = 1, B=1B = 1: output =0= 0

Here both inputs come from the same wire. So AA and BB are always equal. Only two rows of the table can happen: 0,00, 0 and 1,11, 1.

X=0X = 0

Y=1Y = 1

Both inputs are 00. A NAND gate with 00 and 00 gives 11.

X=1X = 1

Y=0Y = 0

Both inputs are 11. A NAND gate with 11 and 11 gives 00.

Each output is the opposite of the input: a NOT gate.

Both inputs are 00. NAND gives 11.

Both inputs are 11. NAND gives 00.

Look at the two rows above.

The output is always the opposite of the input. That is exactly what a NOT gate does.

Y=X‾Y = \overline{X}

This says: YY is "not XX". So the answer is option (1).

Why the other options fail

An OR gate would give 11 when X=1X = 1. Here Y=0Y = 0.

The small circle at the output turns the AND answer upside down. X=1X = 1 gives Y=0Y = 0.

The gate drawn is a NAND gate, and the circuit has only one input.

The two inputs are always the same, yet Y=1Y = 1 when X=0X = 0. That is not EXOR.

Conclusion

Does it make sense?

A NAND gate is an AND gate followed by a NOT. Joining the inputs makes the AND part pass XX straight through, because XX AND XX is just XX. Only the NOT part is left.

So the circuit is a NOT gate.

Y=X‾Y = \overline{X}

Both inputs of the NAND gate are XX. X=0X = 0 gives Y=1Y = 1, and X=1X = 1 gives Y=0Y = 0.

The output is always the opposite of the input, Y=X‾Y = \overline{X}. It is a NOT gate. The answer is (1).

When the inputs of a gate are joined, only the rows with equal inputs can happen. Write just those rows.

A NAND or a NOR gate with joined inputs is a NOT gate.

Exam tip

தமிழ் · සිංහල