GATE 2003
107 questions
MCQ 1071-mark 107
Questions 41–45 of 107
The non-inverting buffers have delays = 2ns and = 4ns as shown in the figure. Both XOR gates and al wires have zero delay. Assume that all gate inputs, outputs and wires are stable at logic level 0. If the following waveform is applied at input. A, how many transition (s) (change of logic levels) occur (s) at B during the interval from 0 to 10 ns?
Answer: (D)
We draw the logic states at the important points of this circuit.
Note that is a buffer, not an inverter. It is used only to add delay.
So the outputs at 'P' and 'R' appear ns and ns after their inputs change.
So the waveforms of 'P' and 'R' are shifted by ns and ns from their inputs.
Also note that 'Q' and 'B' are drawn from the waveforms of their own inputs.
In the end, the waveform of 'B' shows changes in logic level.
Answer is : Option D
If the operands are in 2's complement representation, which of the following operations can be performed by suitably setting the control lines K and C0 only (+ and - denote addition and subtraction respectively)?
Answer: (A)
The four settings of :
- : .
- : . Since is the 2's complement of , this is .
- : .
- : .
None of these is , because is an input we cannot set to 0 using only and . So A + B and A - B are possible, but A + 1 is not.
Answer: (A)
Answer: (C)
The first figure shows the partial products written as rows. The second shows the array multiplier: one row of AND gates for each bit of , and adder rows that add each new row of partial products to the running sum.
Count the delay with one unit per gate:
1. All AND gates work in parallel, so every partial product is ready after 1 unit.
2. For -bit numbers there are adder rows, each a ripple-carry adder.
3. The rows overlap in time. A cell in a row only waits for the sum from the row above and the carry from its right neighbour. It does not wait for the whole row above to finish. So the slowest path moves one step down or one step left at each cell, and crosses about cells down and cells across, at most cells.
4. Each cell takes a constant number of gate delays, so the total is for a constant .
So the delay is . It is not , which would be true only if each of the rows had to wait for the previous row to finish completely. It is not or , because a carry must still travel across all bit positions.
Answer: (C)
Let denote the number of 0's and 1's respectively in initial k bits of the input ( ). The circuit outputs 00 until one of the following conditions holds.
1. . In this case, the output at the k -th and all subsequency clock ticks is 10.
2. . In this case, the output at the k -th and all subsequent clock ticks is 01.
What in the minimum number of states required in the state transition graph of the above circuit?
Answer: (A)
The circuit must remember while it is (output 00). When reaches the output is 10 from then on, and when it reaches the output is 01 from then on. So the states are : 5 states. The states are absorbing: each has a self-loop on both inputs, so the output stays fixed.
None of the 5 can be merged:
- and have outputs 10 and 01, and both differ from the 00 states.
- : a single 0 gives output 10. : a single 1 gives output 01, and a 0 gives 00. So they are different.
- : no single input changes the output from 00, so it differs from .
So the minimum number of states is 5.
Answer: (A)
Let s, e and m be the numbers represented in binary in the sign, exponent, and mantissa fields respectively. Then the floating point number represented is
What is the maximum difference between two successive real numbers representable in this system?
Answer: (C)
The exponent field is 6 bits, and the all-ones pattern 111111 stands for 0 in this scheme. So the largest usable field is , with actual exponent .
Largest number:
Second largest:
Difference:
Answer: (C)