GATE 2007
84 questions
MCQ 841-mark 84
Questions 46–50 of 84
For the circuit shown, the counter state () follows the sequence
Answer: (B)
Both flip-flops share the same clock. From the circuit, (a NOR gate) and . At each clock edge the next state is .
So the sequence is 00, 01, 10, 00, 01, a mod-3 counter. State 11 never occurs, because whenever or is 1. So (A) and (C), which both contain state 11, cannot happen. (D) goes from 00 to 10, but the table gives 00 to 01.
Answer: (B)
| Q1Q0 | D1 = Q0 | D0 = NOR(Q1,Q0) | Next Q1Q0 |
|---|---|---|---|
| 00 | 0 | 1 | 01 |
| 01 | 1 | 0 | 10 |
| 10 | 0 | 0 | 00 |
So the sequence is 00, 01, 10, 00, 01, a mod-3 counter. State 11 never occurs, because whenever or is 1. So (A) and (C), which both contain state 11, cannot happen. (D) goes from 00 to 10, but the table gives 00 to 01.
Answer: (B)
The following binary values were applied to the X and Y inputs of NAND latch
shown in the figure in the sequence indicated below :
X=0, Y=1; X=0, Y=0; X=1, Y=1.
The corresponding stable P,Q output will be.
X=0, Y=1; X=0, Y=0; X=1, Y=1.
The corresponding stable P,Q output will be.
Answer: (C)
For a NAND latch, the outputs are given by and . If either input of a NAND gate is 0, that gate's output becomes 1.
- X = 0, Y = 1: P = 1, so . The result is P = 1, Q = 0.
- X = 0, Y = 0: both outputs are forced to 1, so P = 1, Q = 1 (the forbidden state of a NAND latch).
- X = 1, Y = 1: this input is normally the "hold" condition, but here it comes right after the invalid state 11. Both gates try to go to 0 at the same time (a race). The final state cannot be predicted: P = 1, Q = 0 or P = 0, Q = 1.
In the Digital-to-Analog converter circuit shown in the figure below, and R = 10K
The voltage is
The voltage is
Answer: (C)
The inverting input is a virtual ground, so all the 2R legs are at 0 V. Let be the current drawn from .
Reduce from the right: the last 2R leg in parallel with the end 2R is R, and with the series R it is 2R. In parallel with the next 2R leg this is R again, and the pattern repeats. So the ladder seen from is R:
At every node the 2R leg and the rest of the ladder both look like 2R, so the current splits equally. The leg currents are and the last 2R also gets .
Only the second and fourth legs go to the op-amp input; the other legs go to ground:
The feedback resistor is R, so
Answer: (C)
Reduce from the right: the last 2R leg in parallel with the end 2R is R, and with the series R it is 2R. In parallel with the next 2R leg this is R again, and the pattern repeats. So the ladder seen from is R:
At every node the 2R leg and the rest of the ladder both look like 2R, so the current splits equally. The leg currents are and the last 2R also gets .
Only the second and fourth legs go to the op-amp input; the other legs go to ground:
The feedback resistor is R, so
Answer: (C)
In the Digital-to-Analog converter circuit shown in the figure below, and R = 10K
The current is
The current is
Answer: (B)
The inverting input is a virtual ground, so every 2R leg goes to 0 V, as drawn. Reduce the ladder from the right. The last two 2R resistors are in parallel, which gives R, and this is in series with R, so it is 2R. The circuit then becomes:
The same thing happens again: the last two 2R are in parallel (R) and in series with R (2R), and once more at the first node. At the end the first leg 2R is in parallel with a single 2R, which is R:
(The right-hand drawing should show R, the equivalent of the two 2R in parallel.) So the total resistance seen by is R:
At each node the leg 2R and the rest of the ladder both look like 2R, so the current halves at every node: .
The last node splits equally between its 2R leg and the end 2R, so the current i in the end 2R is:
Answer: (B)
An 8085 assembly language program is given below.
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
After execution of line 7 of the program, the status of the CY and Z flags will be
Line 1: MVI A, B5H
2: MVI B, 0EH
3: XRI 69H
4: ADD B
5: ANI 9BH
6: CPI 9FH
7: STA 3010H
8: HLT
After execution of line 7 of the program, the status of the CY and Z flags will be
Answer: (C)
Trace of the accumulator A (hex):
CPI compares by subtracting. Here , so a borrow occurs and CY = 1. The difference is not zero, so Z = 0.
Line 7, STA, does not change any flag, so after line 7: CY = 1, Z = 0.
Answer: (C)
CPI compares by subtracting. Here , so a borrow occurs and CY = 1. The difference is not zero, so Z = 0.
Line 7, STA, does not change any flag, so after line 7: CY = 1, Z = 0.
Answer: (C)