Number Representation
Question 1 |
-256 | |
-128 | |
-127 | |
0 |
Discuss it
Question 2 |
fraction bits of 000…000 and exponent value of 0 | |
fraction bits of 000…000 and exponent value of −1 | |
fraction bits of 100…000 and exponent value of 0 | |
no exact representation |
Discuss it
Question 3 |
P is a 16-bit signed integer. The 2's complement representation of P is (F87B)16.The 2's complement representation of 8*P
(C3D8)16 | |
(187B)16 | |
(F878)16 | |
(987B)16 |
Discuss it
Explanation:
P = (F87B)16 is -1111 1000 0111 1011 in binary
Note that most significant bit in the binary representation is 1, which implies that the number is negative. To get the value of the number performs the 2's complement of the number. We get P as -1925 and 8P as -15400
Since 8P is also negative, we need to find 2's complement of it (-15400)
Binary of 15400 = 0011 1100 0010 1000
2's Complement = 1100 0011 1101 1000 = (C3D8)16
Explanation 2 : (Easy way):
P = (F87B)16 is (1111 1000 0111 1011)2 in binary
Note that the most significant bit in the binary representation is 1, which implies that the number is negative. To get the value of the number, the 2's complement of the number is performed. We get P as -1925
The binary of (1925)10 is (0000 0111 1000 0101)2
Now 8P= left shift P 3 times = (0011 1100 0010 1000)2 for a negative sign it is (1011 1100 0010 1000)2
2's Complement = 1100 0011 1101 1000 = (C3D8)16
Quiz of this Question
Please comment below if you find anything wrong in the above post
Question 4 |
(1217)16 | |
(028F)16 | |
(2297)10 | |
(0B17)16 |
Discuss it
Question 5 |
the normalized value 2-127 | |
the normalized value 2-126 | |
the normalized value +0 | |
the special value +0 |
Discuss it

Question 6 |
decimal 10 | |
decimal 11 | |
decimal 10 and 11 | |
any value > 2 |
Discuss it
Question 7 |
1 | |
2 | |
3 | |
4 |
Discuss it
- xy=30
- possible combinations =(1,30),(2,15),(3,10)
Question 8 |
C1640000H | |
416C0000H | |
41640000H | |
C16C0000H |
Discuss it
Since No is negative S bit will be 1 Convert 14.25 into binary 1110.01 Normalize it : 1.11001 X 2 ^ 3 Biased Exponent (Add 127) : 3 + 127 = 130 (In binary 10000010) Mantissa : 110010.....0 (Total 23 bits) Num represented in IEEE 754 single precision format : 1 10000010 11001000000000000000000 In Hex (Group of Four bits) - 1100 0001 0110 0100 0000 0000 0000 0000 Num becomes : C1640000
Question 9 |
- 2n - 1 to (2n - 1 - 1) | |
- (2n - 1 - 1) to (2n - 1 - 1) | |
- 2n - 1 to 2n - 1 | |
- (2n - 1 + 1) to (2n - 1 + 1) |
Discuss it
Question 10 |
1AF | |
D78 | |
D71 | |
32F |
Discuss it
- 0001 =1
- 1010 =A
- 1111 =F