GATE 2005
203 questions
MCQ 2031-mark 203
Questions 66–70 of 203
Consider the following timing diagram. Let Ai represent the logic level on the line A in the i-th clock period.
Let A' represent the complement of A. The correct output sequence on Y over the clock periods 1 through 5 is
Answer: (A)
X and A change at the same instant as the rising edge, so the flip-flop sees their value from just before the edge, that is, from the previous period. So at the edge that starts period i, it uses and . From the diagram, X in periods 0 to 4 is 1, 1, 0, 1, 1.
When , . When , , the complement of the current output.
Edge 1: , so
Edge 2: , so
Edge 3: , so
Edge 4: , so
Edge 5: , so
The sequence is .
Answer: (A)
Answer: (A)
In decimal, and .
Multiply them:
Then change back into octal. It is
Convert to decimal:
Convert to decimal:
Now,
For the integer part, divide by 8 again and again:
This gives
For the fraction part, keep multiplying by until the fraction part becomes
Correct Answer:
Answer: (A)
in 8 bits: , invert to get , add 1 to get .
Add the extra 0 on the right: . The pairs from the left are 11, 10, 00, 00, 01, 11, 11, 10, which give the digits .
Check: .
Answer: (A)
Mantissa is a pure fraction in sign-magnitude form.
The normalized representation for the above format is specified as follows. The mantissa has an implicit 1 preceding the binary (radix) point. Assume that only 0's are padded in while shifting a field. The normalized representation of the above number () is:
Answer: (D)
To find the normalised representation, we first need the unnormalised one. So, we have:
as the number. So, we find the binary equivalent of up to digits, because the mantissa field can hold bits. We use these steps:
We stop here, since we have done iterations and so digits of the mantissa of the unnormalised number are obtained. Now we have:
Mantissa of given number
So, the number can be written as:
Now we need to shift the mantissa to the left to get the normalised number. The question says that during this shift are padded on the right side as the mantissa moves left.
So, to get the normalised number, we shift left times, and the new mantissa
The exponent also decreases by , so the new exponent
So, the normalised number
Actual exponent
The format uses excess , which means the bias value
So, the exponent field value
And the sign is , as the number is positive.
So, the final representation of the number is
So, (D) is the correct answer.
Mantissa is a pure fraction in sign-magnitude form.
The decimal number has the following hexadecimal representation (without normalization and rounding off :
Answer: (D)
Mantissa: multiply by 2 repeatedly and take the integer parts: 0.239 gives 0, 0.478 gives 0, 0.956 gives 1, 0.912 gives 1, 0.824 gives 1, 0.648 gives 1, 0.296 gives 0, 0.592 gives 1. So the 8 bits are 0011 1101 = 3D.
Exponent: stored = actual + 64 = 13 + 64 = 77 = 100 1101 in 7 bits.
Sign is 0 (positive). The 16 bits are 0 1001101 00111101 = 0100 1101 0011 1101, which is 4D 3D.
Answer: (D)