Mistake Produced in Multiple Choice Paper
The question I had answered incorrectly is Q.12.
--> Q.12
Suppose decimal values are represented in the following scheme.
1 bit | 3 bits | 4 bits
S M E
the number stored = (-1)^S * 0.M * 2^E
where (1) M is the mantissa which is normalized such that the leftmost bit must be 1
(2) E is in sigh-and-magnitude representation.
What is the value represented by the bit pattern 11001011(binary number)?
A. -0.5
B. -0.25
C. -0.125
D. -0.0625
First of all, I have chosen A as the answer as I thought 11001011(binary number) can be converted into decimal number like this --> (-1)^1 * 0.4 * 2^(-3) where 100 (binary number) = 4 (decimal number).
After my calculation, the answer is -0.05. However, there are no answers provided match my result.
And I just chose the the closer one, A.
Then, I was wrong.
After the explanation of teacher, I get it and understand it now. In fact, 0.100, the whole value is in binary form but not only 100. Forasmuch, the 0.100 (binary number) is equal to 2^(-1). And 11001011(binary number) is equal to (-1)^1 * 0.5 * 2^(-3), and the answer should be -0.0625, D.
After all, i realized that revising only the part has taught and the syllabus is not enough. I need to go through all the parts related to the topic in order to enhance our level. To achieve higher grade, We should work hard and do more than normal.
You will always encounter some questions which are not seen before. However, this is interesting as we can learn from it and this is the joy of learning!
回覆刪除