Can someone help with these questions a-d: Here is the format I need to check: E
ID: 3785050 • Letter: C
Question
Can someone help with these questions a-d:
Here is the format I need to check:
Example: 14D2 = 01 0100 1101 0010 = 1 10100 1101 0010
Exponent = 10100 = 20 – 15 = 5
Binary = 1.101001 x 25
Decimal = 110100.1 = 52.5
What decimal floating point number does each of the following represent assuming it is stored using the simple model described in the textbook (14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit). Express your answer in both scientific binary format and decimal format:
a) 13A8
b) 2D80
c) 0FA0
d) 1483
Explanation / Answer
13A8 = 01 0011 1010 1000 = 1 0011 1010 1000
Exponent = 10011 = 19 – 15 = 4
Binary = 1.0101 x 2^4
Decimal = 10101 = 21
2D80 = 10 1101 1000 0000 = - 0 0011 1010 1000
Exponent = 1101 = 13 - 15 = -2
Binary = -1.0 x 2^-2 = -.01
Decimal = -.25
0FA0 = 00 1111 1010 0000 = 0 1111 1010 0000
Exponent = 1111 = 15 – 15 = 0
Binary = 1.01 x 2^0
Decimal = 1.01 = 1.25
1483 = 01 0100 1000 0011 = 1 0100 1000 0011
Exponent = 10100 = 20 – 15 = 5
Binary = 1.0000011 x 2^5
Decimal = 100000.11 = 32.75