To get output 1 for the following circuit, the correct choice for the input is :

- A = 0, B = 1, C = 0
- A = 1, B = 0, C = 0
- A = 1, B = 1, C = 0
- A = 1, B = 0, C = 1
Answer
A = 1, B = 0, C = 1
Reason — The output of the circuit is Y = (A + B) • C. For Y = 1, C must be 1 and A + B must be 1. Only A = 1, B = 0, C = 1 satisfies both conditions.
What is the output Y in the following circuit, when all the three inputs A, B and C are first 0 and then 1?

- 1, 1
- 0, 1
- 0, 0
- 1, 0
Answer
1, 0
Reason — The AND gate gives A • B, and the NAND gate combines this with C, so .
When A = B = C = 0, = 1.
When A = B = C = 1, = 0.
Hence the outputs are 1 and 0.
If 1, 2, 3, 4 are inputs to a gate and x is its output, then as per the following time graph, the gate is :

- AND
- OR
- NAND
- NOT
Answer
OR
Reason — The output x is 0 only while all four inputs are 0. From the instant input 1 first becomes high, at every instant at least one of the four inputs is 1, and x remains 1 throughout. A gate whose output is 1 if any one input is 1 is the OR gate.
The given electrical network is equivalent to :

- OR gate
- NOR gate
- NOT gate
- AND gate
Answer
NOR gate
Reason — The first gate is a NOR gate, so its output is . The second NOR gate has its inputs joined together and works as a NOT gate, giving A + B. The NOT gate then gives
which is the NOR gate.

The correct Boolean operation represented by the circuit diagram drawn is :
- NAND
- NOR
- AND
- OR
Answer
NAND
Reason — The LED (Y) glows when a voltage appears across it. If either switch is at 0, the path through the switches is broken; current flows through R, the LED and R, so the LED glows (Y = 1). When both A and B are at 1, the two closed switches connect the upper end of the LED directly to earth, so no voltage appears across the LED and it does not glow (Y = 0).
Thus Y = 0 only for A = 1, B = 1, which is the NAND operation.
To get output '1' at R, for the given logic gate circuit the input values must be :

- X = 0, Y = 1
- X = 1, Y = 1
- X = 0, Y = 0
- X = 1, Y = 0
Answer
X = 1, Y = 0
Reason — The OR gate receives and Y, and the NAND gate receives X and . Hence,
The output of the NOR gate is
R = 1 only when X = 1 and Y = 0.
The output of the given logic circuit is :

Answer
Reason — Let N be the output of the middle NAND gate, P that of the upper NAND gate and Q that of the OR gate.
The output NAND gate gives, using De Morgan's theorem,
The truth table for the circuit given in the fig. is :

A B Y 0 0 1 0 1 1 1 0 1 1 1 1 A B Y 0 0 1 0 1 1 1 0 0 1 1 0 A B Y 0 0 0 0 1 0 1 0 1 1 1 1 A B Y 0 0 1 0 1 0 1 0 0 1 1 0
Answer
| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
Reason — The OR gate gives A + B, and the NAND gate receives A and (A + B). Hence,
So Y = 1 when A = 0 and Y = 0 when A = 1, whatever the value of B.
Which of the following gate is called universal gate?
- NOT gate
- OR gate
- AND gate
- NAND gate
Answer
NAND gate
Reason — The repeated use of NAND gates alone can produce all the three basic gates (OR, AND and NOT). Hence the NAND gate is called a universal gate.
For the given circuit, the input digital signals are applied at the terminals A, B and C. What would be the output at the terminal Y?


Answer

Reason — The output of the circuit is
From the input waveforms, B = 1 only between t2 and t4, and during this interval C = 0. So B • C = 0 at every instant, = 1, and Y = 1 throughout. The output stays at 5 V, which is the waveform of option 3.
Four NOR gates are connected as shown in figure. The truth table for the given figure is :

A B Y 0 0 1 0 1 0 1 0 1 1 1 0 A B Y 0 0 0 0 1 1 1 0 1 1 1 0 A B Y 0 0 0 0 1 1 1 0 0 1 1 1 A B Y 0 0 1 0 1 0 1 0 0 1 1 1
Answer
| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Reason — The first NOR gate gives . The other two NOR gates give
The last NOR gate gives
So Y = 1 when A and B are the same, and Y = 0 when they are different.
Identify the logic operation carried out.

- OR
- AND
- NOR
- NAND
Answer
AND
Reason — Each of the first two NAND gates has its inputs joined, so it works as a NOT gate and gives and . The NOR gate then gives
The output of the given combination of gates represents :

- XOR gate
- NAND gate
- AND gate
- NOR gate
Answer
NAND gate
Reason — The first two NOR gates have their inputs joined, so they act as NOT gates and give and . The third NOR gate gives = A • B. The last NOR gate, with its inputs joined, acts as a NOT gate. Hence,
which is the NAND gate.
Which one of the following will be the output of the given circuit?

- NOR gate
- NAND gate
- AND gate
- XOR gate
Answer
XOR gate
Reason — The AND gate followed by the NOT gate gives , and the OR gate gives A + B. The final AND gate gives
This is the Boolean expression of the XOR gate.
Draw the output signal Y in the given combination of gates.





Answer

Reason — The NAND gate with joined inputs gives . The OR gate gives + B, and the NOT gate gives
So Y = 1 only when A = 1 and B = 0. From the waveforms this happens between 0 and 1 s and between 4 s and 5 s; at all other times Y = 0. This is the waveform of option 4.
The truth table for the following logic circuit is :

A B Y 0 0 0 0 1 1 1 0 1 1 1 0 A B Y 0 0 1 0 1 0 1 0 0 1 1 1 A B Y 0 0 1 0 1 0 1 0 1 1 1 0 A B Y 0 0 0 0 1 1 1 0 0 1 1 1
Answer
| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Reason — The upper AND gate receives A and , and the lower AND gate receives and B. The NOR gate gives
So Y = 1 when A and B are the same, and Y = 0 when they are different.
In the circuit, the logical value of A = 1 or B = 1 when potential at A or B is 5 V and the logical value of A = 0 or B = 0 when potential at A or B is 0 V.

The truth table of the given circuit will be :
A B Y 0 0 0 1 0 0 0 1 0 1 1 1 A B Y 0 0 0 1 0 1 0 1 1 1 1 1 A B Y 0 0 0 1 0 0 0 1 0 1 1 0 A B Y 0 0 1 1 0 1 0 1 1 1 1 0
Answer
| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 1 |
Reason — The resistor R is connected to the positive terminal of the 5 V battery, and the diodes D1 and D2 conduct when their input end is at 0 V. If A or B (or both) is at 0 V, the corresponding diode is forward-biased; the 5 V drops across R and Y is at 0 V (Y = 0). Only when both A and B are at 5 V does neither diode conduct; there is no current in R and Y is at 5 V (Y = 1).
This is the AND gate.
Identify the correct logic gate for the following output (Y) of two inputs A and B.





Answer

Reason — Reading the waveforms interval by interval, Y = 0 only in the intervals where A = 1 and B = 1; for the combinations (0, 0), (0, 1) and (1, 0), Y = 1. This is the truth table of the NAND gate, , that is, an AND gate followed by a NOT gate (option 2).
In the following circuit, the correct relation between output (Y) and inputs A and B will be :

- Y = AB
- Y = A + B
- Y =
- Y =
Answer
Y =
Reason — The diodes D1, D2 with the resistor R connected to the positive terminal of the 10 V battery form an AND gate, so the logic level at X is A • B.
X is applied to the base of the n-p-n transistor, which works as a NOT gate. When X = 1 the transistor is in saturation and Y is at 0; when X = 0 it is in cut-off and Y is at + 5 V. Hence,
Which logic gate is this?

- NAND gate
- OR gate
- AND gate
- XOR gate
Answer
AND gate
Reason — The resistor is connected to the positive terminal of the 5 V battery. If A or B is at 0 V, that diode is forward-biased and conducts, so Y is at 0 V. Only when both A and B are high does neither diode conduct; no current flows in the resistor and Y is at + 5 V. Thus Y = 1 only when A = 1 and B = 1, which is the AND gate.

The truth table for the given logic circuit is :
A B C 0 0 0 0 1 1 1 0 0 1 1 1 A B C 0 0 0 0 1 1 1 0 1 1 1 0 A B C 0 0 1 0 1 0 1 0 0 1 1 1 A B C 0 0 1 0 1 0 1 0 1 1 1 0
Answer
| A | B | C |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Reason — The upper NAND gate receives A and B, and the lower NAND gate receives and B. The AND gate gives
So C = 1 when B = 0 and C = 0 when B = 1.
Name the logic gate equivalent to the diagram attached.

- OR
- NOR
- NAND
- AND
Answer
NOR
Reason — The LED is connected between the + 5 V line and the end of R. When a switch is at 1, it joins the + 5 V line directly to R and short-circuits the LED, so the LED does not glow. The LED glows (Y = 1) only when neither switch is closed, that is, A = 0 and B = 0. Thus Y = , which is the NOR gate.
The logic operations performed by the given digital circuit is equivalent to:

- NOR
- AND
- OR
- NAND
Answer
AND
Reason — The OR gate gives A + B and the AND gate gives A • B. They are fed to a NAND gate followed by a NOT gate, which together act as an AND gate. Hence,
For the following logic circuit, the truth table is:

A B Y 0 0 1 0 1 0 1 0 1 1 1 0 A B Y 0 0 0 0 1 0 1 0 0 1 1 1 A B Y 0 0 1 0 1 1 1 0 1 1 1 0 A B Y 0 0 0 0 1 1 1 0 1 1 1 1
Answer
| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
Reason — The NOT gates give and , which are fed to the NAND gate. Using De Morgan's theorem,
So the circuit behaves as an OR gate.

The output of the given circuit diagram is :
A B Y 0 0 0 1 0 0 0 1 0 1 1 1 A B Y 0 0 0 1 0 1 0 1 1 1 1 0 A B Y 0 0 0 1 0 0 0 1 0 1 1 0 A B Y 0 0 0 1 0 0 0 1 1 1 1 0
Answer
| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 0 |
Reason — The upper OR gate receives A and , and the lower OR gate receives and B. The NOR gate gives
So Y = 0 for every combination of inputs.
Following gates section is connected in a complete suitable circuit.

For which of the following combination, bulb will glow (ON)?
- A = 0, B = 1, C = 1, D = 1
- A = 1, B = 0, C = 0, D = 0
- A = 0, B = 0, C = 0, D = 1
- A = 1, B = 1, C = 1, D = 0
Answer
A = 1, B = 0, C = 0, D = 0
Reason — The NOR gate with joined inputs gives , and the NAND gate gives . The second NOR gate gives
The other end of the bulb is at . The bulb glows only when one end is at 1 and the other at 0, that is, when P ≠ Q.
For A = 1, B = 0, C = 0, D = 0 : P = 0 and Q = 1, so the bulb glows. For each of the other combinations P = Q (0, 0 or 1, 1), and the bulb does not glow.
A logic circuit provides the output Y as per the following truth table :
| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
The expression for the output Y is :
- B
Answer
Reason — From the table, Y = 1 whenever B = 0 and Y = 0 whenever B = 1, irrespective of A. Hence Y = .
In the logic circuit shown in the figure, if input A and B are 0 to 1 respectively, the output at Y would be x. The value of x is ............... .

Answer
Given,
- A = 0
- B = 1
The NOT gates give = 1 and = 0. The upper NOR gate receives A and = B, and the lower NAND gate receives and .
The AND gate gives
Hence, the value of x is 0.
Note: The answer printed beside the question is 1.0, which is incorrect; the textbook's own hint gives x = 0, since the NOR gate output is 0 for these inputs.