GATE 2005
88 questions
MCQ 881-mark 88
Questions 76–80 of 88
In the figure, as long as = 1 and = 1, the output Q remains
Answer: (D)
From the figure, the NAND gate output is and the AND gate gives
With and : .
No value of Q satisfies this. If Q = 0, the NAND output is 1, so Q becomes 1. If Q = 1, the NAND output is 0, so Q becomes 0. So after each gate delay Q flips, from 1 to 0 and from 0 to 1, and it never settles. So it is not stuck at 1, at 0, or at its initial value.
Answer: (D)
With and : .
No value of Q satisfies this. If Q = 0, the NAND output is 1, so Q becomes 1. If Q = 1, the NAND output is 0, so Q becomes 0. So after each gate delay Q flips, from 1 to 0 and from 0 to 1, and it never settles. So it is not stuck at 1, at 0, or at its initial value.
Answer: (D)
Select the circuit, which will produce the given output Q for the input signals
and given in the figure
Answer: (A)
From the waveforms: gives ; gives ; keeps Q at its old value. So the circuit is an SR latch with and , and it needs memory.
Truth table:
Option (a) is a pair of cross-coupled NOR gates, which is the NOR SR latch. A 1 at an input forces the output of its own gate to 0, which lets the other gate output go to 1. So sets the latch and resets it. With both inputs at 0 the two gates hold each other's state. The Q that follows X1 and X2 as in the waveform is the output of the gate that has X2 as input (the lower output in the drawing).
(b) Two cross-coupled OR gates: once an output is 1 it keeps the other at 1, which keeps it at 1 again. It can never be reset, but the waveform returns to 0.
(c) and (d) Here an AND gate has X1 as input, so its output is 0 whenever . A stored 1 cannot be held while , so they do not latch.
Answer: (A)
The digital circuit shown in the figure works as
Answer: (C)
The XOR gate output is the D input, and the Q output is fed back to the XOR, so . The D flip-flop copies D at the clock edge:
If X = 0, (hold). If X = 1, (toggle). Truth table of the circuit is given below:
This is the characteristic of a T flip-flop with . It has a single data input, so it is not a J-K flip-flop (two inputs) or a clocked RS flip-flop. A ring counter needs several flip-flops.
Answer: (C)
If X = 0, (hold). If X = 1, (toggle). Truth table of the circuit is given below:
This is the characteristic of a T flip-flop with . It has a single data input, so it is not a J-K flip-flop (two inputs) or a clocked RS flip-flop. A ring counter needs several flip-flops.
Answer: (C)
If and are the inputs to the circuit shown in the figure, the output Q is
Answer: (D)
Each transistor whose gate is tied to (top left and top right) is always on and works as the load (a resistor) of its stage.
Left stage: the load plus the transistor driven by . When is high the transistor pulls the node to ground, so the node is . This is an NMOS inverter.
Right stage: the transistor driven by and the transistor driven by are in parallel between Q and ground, with the load to . If either one is on, Q is pulled low, so this is a NOR gate:
By De Morgan's law,
This is option (D).
Answer: (D)
Left stage: the load plus the transistor driven by . When is high the transistor pulls the node to ground, so the node is . This is an NMOS inverter.
Right stage: the transistor driven by and the transistor driven by are in parallel between Q and ground, with the load to . If either one is on, Q is pulled low, so this is a NOR gate:
By De Morgan's law,
This is option (D).
Answer: (D)
The 8085 assembly language instruction that stores the content of H and L
register into the memory locations and , respectively, is:
Answer: (C)
(store H and L direct) stores the HL pair in two consecutive memory locations starting at the given address: the content of L goes to and the content of H goes to the next location, . (This is L first, then H, the reverse of the order in the question, but SHLD is still the only option that puts both registers in these two locations.)
Why the others fail:
(A), (B) SPHL has no address. It only copies the HL pair into the stack pointer, so nothing is stored in memory.
(D) STAX stores the accumulator A, not HL, and it takes only the BC or DE pair as the address, not a 16-bit address such as .
Answer: (C)
Why the others fail:
(A), (B) SPHL has no address. It only copies the HL pair into the stack pointer, so nothing is stored in memory.
(D) STAX stores the accumulator A, not HL, and it takes only the BC or DE pair as the address, not a 16-bit address such as .
Answer: (C)