The output Y for the given inputs A and B to the circuit is:
A
B
C
D
Show answer and solution
Answer: (B)
The upper AND gate gives AB and the lower gives AˉB. The OR gate gives Y=AB+AˉB=B. So Y copies B: 1 from 0 to 2s, 0 from 2 to 3s, then 1 again. This is waveform (B).
For the given logic circuit, which of the following inputs combination will make both LED-1 and LED-2 to glow?
AA=0,B=1,C=1
BA=1,B=0,C=0
CA=1,B=0,C=1
DA=1,B=1,C=0
Show answer and solution
Answer: (C)
LED-1 is driven by the OR output, so it glows when A+B=1. The first AND gate gives (A+B)C and the second gives A(A+B)C=AC, which drives LED-2. Both glow when A=1 and C=1 (then A+B=1 too). Only A=1,B=0,C=1 fits.
If X and Y are the inputs, the given circuit works as _______.
AOR gate
BAND gate
CNAND gate
DNOR gate
Show answer and solution
Answer: (D)
All four are NAND gates. The two with joined inputs give Xˉ and Yˉ. The third gives XˉYˉ=X+Y, and the last, with joined inputs, inverts it: X+Y, a NOR gate.
Two p-n junction diodes D1 and D2 are connected as shown in figure. A and B are input signals and C is the output. The given circuit will function as a _______.
ANOR Gate
BNAND Gate
COR Gate
DAND Gate
Show answer and solution
Answer: (D)
If either input is at 0V, that diode is forward biased by Vdc through R and pulls C down to 0. Only when both inputs are high are both diodes reverse biased; no current flows in R and C=5V. C=1 only for A=B=1: an AND gate.
Identify the correct truth table of the given logic circuit.
A
B
C
D
Show answer and solution
Answer: (D)
The AND gate with joined inputs passes A. The NAND gate gives AB, and the next AND gate with joined inputs passes it on. The last AND gate gives Y=AAB=A(Aˉ+Bˉ)=ABˉ. So Y=1 only for A=1,B=0: table (D).
Find the correct combination of A, B, C and D inputs which can cause the LED to glow.
A1101
B0011
C1000
D0100
Show answer and solution
Answer: (A)
The LED glows when its upper (p) end is 1 and its lower (n) end is 0. The upper end gets Y1=AˉBˉ=A+B and the lower end gets Y2=C+D. We need A+B=1 and C+D=1. Only 1101 (A=1,B=1,C=0,D=1) satisfies both.
All four are NOR gates. The two with joined inputs give Aˉ and Bˉ. The third gives Aˉ+Bˉ=AB, and the last, with joined inputs, inverts this: AB, a NAND gate.
The Boolean expression Y=ABˉC+AˉCˉ can be realised with which of the following gate configurations. A. One 3-input AND gate, 3 NOT gates and one 2-input OR gate, One 2-input AND gate, B. One 3-input AND gate, 1 NOT gate, One 2-input NOR gate and one 2-input OR gate C. 3-input OR gate, 3 NOT gates and one 2-input AND gate. Choose the correct answer from the options given below
AB, C Only
BA, B Only
CA, B, C Only
DA, C Only
Show answer and solution
Answer: (B)
ABˉC needs a 3-input AND gate with one NOT gate on B. In A, two more NOT gates give Aˉ and Cˉ, a 2-input AND gives AˉCˉ, and the OR gate adds the two terms. In B, a 2-input NOR gate gives A+C=AˉCˉ directly. C cannot produce the sum of the two product terms. So A and B work.
In the digital circuit shown in the figure, for the given inputs the P and Q values are :
AP=1,Q=1
BP=0,Q=0
CP=0,Q=1
DP=1,Q=0
Show answer and solution
Answer: (B)
With both inputs 1: the NAND gate gives 0. The two NOT gates give 0 and 0, so the OR gate gives 0. P is the AND of the NAND output and the OR output: P=0. Q is the NOR of the inverted NAND output (1) and the OR output (0): Q=1+0=0.
The upper AND gate gives ABˉ and the lower AND gate gives AˉB. The OR gate gives Y=ABˉ+AˉB, the XOR function: Y=1 only when the inputs differ. Table (D) lists 00→0, 01→1, 10→1, 11→0.
Which of the following circuits has the same outpur as that of the given circuit?
A
B
C
D
Show answer and solution
Answer: (B)
The upper AND gate gives P=ABˉ and the lower AND gate gives Q=AB. The NOR gate gives Y=ABˉ+AB=A(Bˉ+B)=Aˉ. Circuit (B), a NAND gate with both inputs tied to A, also gives Aˉ.
The output of the circuit is low (zero) for : (A) X=0,Y=0 (B) X=0,Y=1 (C) X=1,Y=0 (D) X=1,Y=1. Choose the correct answer from the options given below :
A(B), (C) and (D) only
B(A), (B) and (C) only
C(A), (C) and (D) only
D(A), (B) and (D) only
Show answer and solution
Answer: (A)
The OR gate gives X+Y and the next gate, with its inputs joined, inverts it. The output is X+Y, which is 0 whenever at least one input is 1: cases (B), (C) and (D).
In the truth table of the above circuit the value of X and Y are :
A0,0
B1,1
C1,0
D0,1
Show answer and solution
Answer: (B)
The upper AND gate gives AB and the lower AND gate gives AˉBˉ. The NOR gate gives E=AB+AˉBˉ. For A=0,B=1 both AND outputs are 0, so X=1. For A=1,B=0 also both are 0, so Y=1.
The output Y of following circuit for given inputs is :
AA⋅B(A+B)
B0
CA⋅B
DA⋅B
Show answer and solution
Answer: (B)
The OR gate gives A+Bˉ. The lower AND gate gets B and Aˉ, giving AˉB. The last AND gate gives Y=(A+Bˉ)AˉB=AAˉB+AˉBBˉ=0. The output is 0 for every input.
Following gates section is connected in a complete suitable circuit. For which of the following combination, bulb will glow (ON) :
AA=0,B=0,C=0,D=1
BA=0,B=1,C=1,D=1
CA=1,B=0,C=0,D=0
DA=1,B=1,C=1,D=0
Show answer and solution
Answer: (C)
The bulb glows only when its two ends are at different logic levels. The upper end gets P=Aˉ+BC=A⋅BC; the lower end gets Dˉ. (A) and (B): P=0, Dˉ=0, no glow. (C): P=0, Dˉ=1, the bulb glows. (D): P=1, Dˉ=1, no glow.
The upper AND gate gets A and B, the lower AND gate gets Aˉ and B. The OR gate gives Y=AB+AˉB=(A+Aˉ)B=B. So Y simply follows B: 00→0, 01→1, 10→0, 11→1.
The NOT gates give Aˉ and Bˉ. The upper AND gate gets A and Bˉ, the lower AND gate gets Aˉ and B. The OR gate gives Y=ABˉ+AˉB, the XOR function: 00→0, 01→1, 10→1, 11→0.
The output from a NAND gate having inputs A and B given below will be,
A
B
C
D
Show answer and solution
Answer: (B)
A NAND gate gives 0 only when A=B=1. Reading the inputs interval by interval, both are 1 only at the start and in the fourth interval. So the output is low at the start, high in intervals one to three, low in the fourth and high in the last two: graph (B).
For the following circuit and given inputs A and B, choose the correct option for output Y
A
B
C
D
Show answer and solution
Answer: (A)
The NOR gate with joined inputs gives Aˉ and the OR gate with joined inputs gives B. The NAND gate gives Y=AˉB=A+Bˉ. So Y=0 only when A=0 and B=1, which happens only between t1 and t2. Everywhere else Y=1: graph (A).
For the logic circuit shown, the output waveform at Y is
A
B
C
D
Show answer and solution
Answer: (A)
The two NAND gates with joined inputs give Aˉ and Bˉ, and the last NAND gives Y=AˉBˉ=A+B, an OR gate. From 0 to 1 both inputs are 0, so Y=0. From 1 onwards at least one input is 1 at every instant, so Y=1. This is waveform (A).
Name the logic gate equivalent to the diagram attached
ANAND
BAND
CNOR
DOR
Show answer and solution
Answer: (C)
Switches A and B are in parallel with each other and with the LED. If either switch is closed (1), it shorts the LED and it does not glow. The LED glows only when both switches are open: Y=1 only for A=B=0. This is a NOR gate.
The output Y for the inputs A and B of circuit is given by. Truth table of the shown circuit is :
A
B
C
D
Show answer and solution
Answer: (D)
Let N=AB from the first NAND. The upper and lower NAND gates give AN and BN, and the last NAND gives Y=AN+BN=(A+B)AB=ABˉ+AˉB. This is XOR: 00→0, 01→1, 10→1, 11→0.
The output waveform of the given logical circuit for the following inputs A and B as shown below, is
A
B
C
D
Show answer and solution
Answer: (D)
The two NAND gates with joined inputs give Aˉ and Bˉ. The last NAND gives Y=AˉBˉ=A+B, an OR gate. Y is high whenever either input is high: from t1 to t4 and from t5 onwards, and low only between t4 and t5 (and before t1).
The logic gate equivalent to the given circuit diagram is :
AOR
BNAND
CNOR
DAND
Show answer and solution
Answer: (B)
Switches A1 and B1 are in series and together are in parallel with the bulb. If either switch is open, current flows through the bulb and it glows (Y=1). Only when both switches are closed does the switch path short the bulb, so it does not glow (Y=0). Y=0 only for A=B=1: a NAND gate.
A logic gate circuit has two inputs A and B and output Y. The voltage waveforms of A, B and Y are shown below. The logic gate circuit is
AAND gate
BOR gate
CNOR gate
DNAND gate
Show answer and solution
Answer: (A)
Reading the waveforms interval by interval: A=1,B=1 gives Y=1; A=0,B=1 gives 0; A=1,B=0 gives 0; A=0,B=0 gives 0. The output is high only when both inputs are high, so it is an AND gate.
In the circuit, the logical value of A=1 or B=1 when potential at A or B is 5V and the logical value of A=0 or B=0 when potential at A or B is 0V. The truth table of the given circuit will be :
A
B
C
D
Show answer and solution
Answer: (A)
If either input is at 0V, that diode is forward biased by the 5V supply through R and pulls Y down to 0. Only when both inputs are at 5V are both diodes off, so no current flows in R and Y=5V. This is an AND gate: Y=1 only for A=B=1.
Identify the correct Logic Gate for the following output (Y) of two inputs A and B.
A
B
C
D
Show answer and solution
Answer: (B)
Reading the waveforms interval by interval, the output is 0 only when A=1 and B=1; for 00, 01 and 10 it is 1. This is a NAND gate, which is an AND gate followed by a NOT gate, as in (B).
If VA and VB are the input voltages (either 5V or 0V) and V0 is the output voltage then the two gates represented in the following circuits (A) and (B) are :
AOR and NOT Gate
BAND and NOT Gate
CAND and OR Gate
DNAND and NOR Gate
Show answer and solution
Answer: (A)
In (A), a high voltage on either input forward biases that diode and the output across R is high; the output is low only when both inputs are low. This is an OR gate. In (B), a high base input drives the transistor into saturation and VO falls to nearly zero, while a low input keeps it cut off with VO=5V. This is a NOT gate.
Four NOR gates are connected as shown in figure. The truth table for the given figure is :
A
B
C
D
Show answer and solution
Answer: (C)
The first NOR gives N=A+B. The upper and lower NOR gates give A+N and B+N. Checking each input: 00: N=1, both middle outputs 0, Y=1. 01: N=0, upper =1, lower =0, Y=0. 10: Y=0 by symmetry. 11: N=0, both middle outputs 0, Y=1. This is the XNOR table.
The output of the given combination gates represents:
AXOR Gate
BNAND Gate
CAND Gate
DNOR Gate
Show answer and solution
Answer: (B)
All four are NOR gates. The first two have joined inputs and give Aˉ and Bˉ. The middle NOR gives Aˉ+Bˉ=A⋅B, and the last NOR with joined inputs inverts this: Y=A⋅B, a NAND gate.
The first two NAND gates have joined inputs, so they give Aˉ and Bˉ. The middle NAND gives AˉBˉ=A+B, and the last NAND with joined inputs inverts this: Y=A+B, a NOR gate.
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 _______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 0 (exact integer)
With A=0 and B=1: Bˉ=0, and the NOT gate on that line gives 1 to the NOR gate, whose other input is A=0. NOR output =0+1=0. The NAND gate gets Aˉ=1 and Bˉ=0, so its output is 1. The AND gate gives Y=0⋅1=0.
Draw the output signal Y in the given combination of gates.
A
B
C
D
Show answer and solution
Answer: (A)
The NAND gate with joined inputs gives Aˉ. The OR gate gives Aˉ+B and the NOT gate gives Y=Aˉ+B=ABˉ. From the waveforms A=1 and B=0 only from 0 to 1s and from 4 to 5s, so Y is high in those two intervals.
In the following, digital circuit, what will be the output a 'Z', when the input (A,B) are (1,0), (0,0), (1,1), (0,1)
A0, 0, 1, 0
B1, 0, 1, 1
C1, 1, 0, 1
D0, 1, 0, 0
Show answer and solution
Answer: (A)
The NAND gate gives N=AB, the OR gate gives A+B, and the AND gate gives P=N(A+B). The NOR gate gives Z=N+P=N=AB, since P is 1 only when N is 1. So Z is 1 only for (1,1): the outputs are 0,0,1,0.
The first NOT gate turns the input 1 into 0. The top NAND gate gets 0 and 0, so its output is 1. The second NOT gate gives 1 to the middle NAND gate. The bottom NAND gate gets 0 and 1 (from the top NAND), so its output is 1. The middle NAND gate gets 1 and 1, so Y=0.
Boolean relation at the output stage-Y for the following circuit is:
AAˉ+Bˉ
BA+B
CA⋅B
DAˉ⋅Bˉ
Show answer and solution
Answer: (D)
Closing switch A or B sends current through its diode to the base, so the diode stage is an OR gate. The transistor with output across collector and emitter is an inverter: when its base is driven it conducts and the output falls. So Y=A+B=Aˉ⋅Bˉ (NOR).
Which of the following gives a reversible operation?
A
B
C
D
Show answer and solution
Answer: (D)
An operation is reversible if the input can be recovered from the output. A two-input gate loses information (different inputs give the same output). The last gate is a NOR gate with its inputs joined: Y=X+X=Xˉ, a NOT gate, whose input is always the inverse of its output.
The upper AND gate gives a=x⋅y. The lower AND gate gets xˉ and y: b=xˉ⋅y. These can never both be 1, so a⋅b=0 always. The NAND gate gives z=a⋅b=1 for every input. The output column is 1,1,1,1.
If a, b, c, d are inputs to a gate and x is its output, then, as per the following time graph, the gate is:
AOR
BNAND
CNOT
DAND
Show answer and solution
Answer: (A)
The output x is low only at the start, when all four inputs are low. As soon as any one input goes high, x becomes high and stays high. An output that is 1 when any input is 1 belongs to an OR gate.
Identify the gate and match A, B, Y in the bracket to check.
AOR (A=1, B=1, Y=0)
BXOR (A=0, B=0, Y=0)
CNOT (A=1, B=1, Y=1)
DAND (A=1, B=1, Y=1)
Show answer and solution
Answer: (D)
The first NAND gate gives A⋅B. The second NAND gate has both inputs joined, so it acts as a NOT gate: Y=A⋅B=A⋅B. The combination is an AND gate, and for A=1, B=1 it gives Y=1.
Which of the following circuits correctly represents the following truth table?
A
B
C
D
Show answer and solution
Answer: (A)
The table gives C=1 only for A=1, B=0. In the first circuit an AND gate gives A⋅B, a NOT gate gives Aˉ, and a NOR gate combines them: C=A⋅B+Aˉ. For (0,0) and (0,1): Aˉ=1, so C=0. For (1,0): A⋅B=0 and Aˉ=0, so C=1. For (1,1): A⋅B=1, so C=0. This matches the table.
A system of four gates is set up as shown. The 'truth table' corresponding to this system is:
A
B
C
D
Show answer and solution
Answer: (A)
All four gates are NOR gates. Let y′=A+B, y′′=A+y′, y′′′=B+y′ and Y=y′′+y′′′. For (A,B)=(0,0): y′=1, y′′=0, y′′′=0, Y=1. For (0,1): y′=0, y′′=1, y′′′=0, Y=0. For (1,0): y′=0, y′′=0, y′′′=1, Y=0. For (1,1): y′=0, y′′=0, y′′′=0, Y=1. The output column is 1,0,0,1.
Which logic gate with inputs A and B performs the same operation as that performed by the following circuit?
ANAND gate
BOR gate
CNOR gate
DAND gate
Show answer and solution
Answer: (B)
The two switches are in parallel, so the lamp glows when either A or B (or both) is closed and stays off only when both are open. Truth table: 00→0, 01→1, 10→1, 11→1. This is an OR gate.
Truth table for system of four NAND gates as shown in figure is
A
B
C
D
Show answer and solution
Answer: (A)
Let y0=A⋅B, y1=A⋅y0, y2=y0⋅B and Y=y1⋅y2. For (A,B)=(0,0): y0=1, y1=1, y2=1, Y=0. For (0,1): y0=1, y1=1, y2=0, Y=1. For (1,0): y0=1, y1=0, y2=1, Y=1. For (1,1): y0=0, y1=1, y2=1, Y=0. The output column is 0,1,1,0 (an XOR gate).
A NAND gate with both inputs joined is a NOT gate, so the first two gates give Aˉ and Bˉ. The third NAND gives X=Aˉ⋅Bˉ=A+B. Truth table: 00→0, 01→1, 10→1, 11→1. This is an OR gate.
The logic circuit shown below has the input waveforms 'A' and 'B' as shown. Pick out the correct output waveform.
A
B
C
D
Show answer and solution
Answer: (A)
Each input is inverted and the results go to a NOR gate: Y=Aˉ+Bˉ=A⋅B. So the output is high only when both inputs are high. From the waveforms this happens before the first dashed line and again in the fifth interval, which is the first option.
In the circuit below, A and B represent two inputs and C represents the output. The circuit represents
ANOR gate
BAND gate
CNAND gate
DOR gate
Show answer and solution
Answer: (D)
If either A or B is high, the diode on that input conducts and the output C is high. C is low only when both inputs are low. The truth table (00→0, 01→1, 10→1, 11→1) is that of an OR gate.