GATE 2008
81 questions
MCQ 811-mark 81
Questions 51–55 of 81
For the circuit shown in the figure, D has a transition from 0 to 1 after CLK
changes from 1 to 0. Assume gate delays to be negligible. Which of the following statements is true
Answer: (C)
Circuit: two NOR gates feed a cross-coupled NOR latch.
- is the input of the latch gate whose output is .
- is the input of the latch gate whose output is . The NAND gate with its inputs tied together works as an inverter, giving .
CLK = 1: , so the latch keeps its old state.
CLK falls from 1 to 0, with : , so . Also , so . So Q goes to 1 at the clock transition.
Later D goes from 0 to 1 (CLK is still 0): , which forces . Then and .
While CLK = 0 the circuit is transparent and . So Q goes to 1 at the clock transition and to 0 when D goes to 1.
(B) and (D) are wrong because Q goes to 1, not 0, at the clock transition. (A) is wrong because Q does not stay at 1: it falls to 0 when D rises.
Answer: (C)
- is the input of the latch gate whose output is .
- is the input of the latch gate whose output is . The NAND gate with its inputs tied together works as an inverter, giving .
CLK = 1: , so the latch keeps its old state.
CLK falls from 1 to 0, with : , so . Also , so . So Q goes to 1 at the clock transition.
Later D goes from 0 to 1 (CLK is still 0): , which forces . Then and .
While CLK = 0 the circuit is transparent and . So Q goes to 1 at the clock transition and to 0 when D goes to 1.
(B) and (D) are wrong because Q goes to 1, not 0, at the clock transition. (A) is wrong because Q does not stay at 1: it falls to 0 when D rises.
Answer: (C)
For each of the positive edge-triggered J-K flip flop used in the following
figure, the propagation delay is T.
Which of the following wave forms correctly represents the output at ?
Which of the following wave forms correctly represents the output at ?
Answer: (B)
Both J-K inputs are 1 in each flip-flop, so each flip-flop toggles at every rising clock edge it sees. The first flip-flop is clocked by CLK, and the second one is clocked by .
Take both outputs as 0 at the start. At the first rising edge of CLK (time ), rises after one propagation delay, at . This rising edge of clocks the second flip-flop, and rises one more delay later, at .
Period of the output waveform at (each flip-flop toggling halves the frequency):
Delay at the output:
So is a wave of period 4T that starts to rise at . Waveform B has this period and delay. Waveform D has the right period but only of delay. Waveforms A and C have period 2T, which is the period of .
Note:
(i) When there are n flip-flops, the time period of the last output waveform is
Here, T is the time period of the clock pulse.
(ii) The delay time is
Here, the propagation delay of one flip-flop.
Answer: (B)
Take both outputs as 0 at the start. At the first rising edge of CLK (time ), rises after one propagation delay, at . This rising edge of clocks the second flip-flop, and rises one more delay later, at .
Period of the output waveform at (each flip-flop toggling halves the frequency):
Delay at the output:
So is a wave of period 4T that starts to rise at . Waveform B has this period and delay. Waveform D has the right period but only of delay. Waveforms A and C have period 2T, which is the period of .
Note:
(i) When there are n flip-flops, the time period of the last output waveform is
Here, T is the time period of the clock pulse.
(ii) The delay time is
Here, the propagation delay of one flip-flop.
Answer: (B)
In the following circuit, the comparator output is logic "1" if and is logic "0" otherwise. The D/A conversion is done as per the relations
Volts, where (MSB), , , (LSB) are the counter outputs.
The counter starts from the clear state.
The magnitude of the error between and at steady state in volts is
Volts, where (MSB), , , (LSB) are the counter outputs.
The counter starts from the clear state.
The magnitude of the error between and at steady state in volts is
Answer: (B)
The DAC output is , so the weights are 0.5, 1, 2 and 4 V for to . A counter value N gives volts, so the LSB step is 0.5 V.
The comparator output is 1 while . Then the AND gate passes the clock, and the counter counts up from 0. goes 0, 0.5, 1.0, ..., 6.0 V. All of these are below 6.2 V, so counting goes on.
The next step gives . The comparator output becomes 0, the clock is blocked and the counter stops at 6.5 V. It stops only after V_DAC passes V_in, so 6.0 V is not the final value (that would give 0.2 V).
Error
Answer: (B)
The comparator output is 1 while . Then the AND gate passes the clock, and the counter counts up from 0. goes 0, 0.5, 1.0, ..., 6.0 V. All of these are below 6.2 V, so counting goes on.
The next step gives . The comparator output becomes 0, the clock is blocked and the counter stops at 6.5 V. It stops only after V_DAC passes V_in, so 6.0 V is not the final value (that would give 0.2 V).
Error
Answer: (B)
In the following circuit, the comparator output is logic "1" if and is logic "0" otherwise. The D/A conversion is done as per the relations
Volts, where (MSB), , , (LSB) are the counter outputs.
The counter starts from the clear state.
The stable reading of the LED displays is
Volts, where (MSB), , , (LSB) are the counter outputs.
The counter starts from the clear state.
The stable reading of the LED displays is
Answer: (D)
First write the DAC output in terms of the counter bits:
The counter begins at 0000 and goes up by 1 on every clock pulse. The clock reaches the counter through an AND gate with the comparator output. The comparator output is 1 while . The table of is given below:
The input is . At count 12 () the DAC gives , so the comparator output is still 1 and the counter goes on to 13. At count 13 () the DAC gives , so the comparator output becomes 0. The AND gate then blocks the clock, and the counter stops at 13. The LED display shows 13.
Answer: (D)
The counter begins at 0000 and goes up by 1 on every clock pulse. The clock reaches the counter through an AND gate with the comparator output. The comparator output is 1 while . The table of is given below:
The input is . At count 12 () the DAC gives , so the comparator output is still 1 and the counter goes on to 13. At count 13 () the DAC gives , so the comparator output becomes 0. The AND gate then blocks the clock, and the counter stops at 13. The LED display shows 13.
Answer: (D)
An 8085 executes the following instructions
2710 LXI H, 30A0 H
2713 DAD H
2414 PCHL
All address and constants are in Hex. Let PC be the contents of the program counter and HL be the contents of the HL register pair just after executing PCHL. Which of the following statements is correct ?
2710 LXI H, 30A0 H
2713 DAD H
2414 PCHL
All address and constants are in Hex. Let PC be the contents of the program counter and HL be the contents of the HL register pair just after executing PCHL. Which of the following statements is correct ?
Answer: (C)
Execute step by step:
PCHL copies HL into the program counter and leaves HL unchanged. So after PCHL, and . Option (D) has the right PC but HL = 2715H, which HL never takes.
Answer: (C)
PCHL copies HL into the program counter and leaves HL unchanged. So after PCHL, and . Option (D) has the right PC but HL = 2715H, which HL never takes.
Answer: (C)