Number System · Digital Logic
66 questions · asked in 26 of 27 years (2000–2026)
MCQ 49 · MSQ 6 · NAT 111-mark 55 · 2-mark 11
2000Questions per year2026
Questions 26–30 of 66
Given the following binary number in 32-bit (single precision) IEEE-754 format:
00111110011011010000000000000000
The decimal value closest to this floating- point number is
00111110011011010000000000000000
The decimal value closest to this floating- point number is
Answer: (C)
Sign bit is 0. Exponent bits are 01111100, which is 124 .
Mantissa is 1.1101101 1.85.
Value: . This is closest to .
Answer:
Mantissa is 1.1101101 1.85.
Value: . This is closest to .
Answer:
Consider a quadratic equation with coefficients in a base b. The solutions of this equation in the same base b are x = 5 and x = 6. Then b = ___________.
Answer: 8
Write the coefficients in base b: 13 = b + 3 and 36 = 3b + 6. The sum of the roots is 5 + 6 = 11, and this equals b + 3. So b = 8. Now check the product of the roots: 30 = 3 8 + 6. This is True.
Answer: 8
Answer: 8
The 16 bit 2's complement representation of an integer is 1111 1111 1111 0101; its decimal representation is__________ .
Answer: -11
The MSB is 1, so the number is negative. To find its size, take the 2's complement of 1111 1111 1111 0101:
First invert the bits 0000 0000 0000 1010. Then add 1 0000 0000 0000 1011, which is 11.
Answer: -11
First invert the bits 0000 0000 0000 1010. Then add 1 0000 0000 0000 1011, which is 11.
Answer: -11
Let X be the number of distinct 16-bit integers in 2's complement representation. Let Y be the number of distinct 16 bit integers in sign magnitude representation. Then X-Y is ________.
Answer: 1
Look at each representation:
- 2's complement: every one of the bit patterns gives a different number.
- Sign-magnitude: +0 and 0 are the same value, zero. So there are only different numbers.
Then X Y = 1
Answer: 1
- 2's complement: every one of the bit patterns gives a different number.
- Sign-magnitude: +0 and 0 are the same value, zero. So there are only different numbers.
Then X Y = 1
Answer: 1
Consider the equation where x and y are unknown. The number of possible solutions is ______________
Answer: 5
and . Equating them gives , so .
The digit is used in base , so . That means , so (for , is not allowed). Also must be a valid octal digit, so .
So , which gives . That is 5 solutions.
Answer: 5
The digit is used in base , so . That means , so (for , is not allowed). Also must be a valid octal digit, so .
So , which gives . That is 5 solutions.
Answer: 5
Keep practising