Assessment Final
Assessment Final
Exponent represented as e
Mantissa represented as m
0 for the sign bits positive number
1 for the sign bits negative number
Format for Single precision is [ 1-2s ]x[ 1+f ]x[2 e-Bias] where f is floating point.
0 01111110 1010000000000….
3)S is the Exponent field and it has 01111110 = ( 0x2 7+1x26+1x25+1x24+1x23+1x22+1x21+0x20 )10
f = ( 0.625 ) 10
= 2 8-1- 1
= 128 - 1
= 1.625/2
= 0.8125
The solution for the 2 (b)
We have 5-bits to represent a signed binary number, (1-bit for the sign bit and 4-bits for the
magnitude bits), then the actual range of numbers we can represent in sign-magnitude
notation would be:
= -2(5-1)-1 to + 2(5-1)-1
= -15 to +15
-0 10000 11111 -
Question 2
b. Using basic Boolean algebra identities for Boolean variables A, B and C, prove that
X’Y+XYZ’+Y’+ XZ (Y+Y’) = 1. Please show all steps and mention the identities used.
SOLUTION: LEFT HAND SIDE (L.H.S)
A|B+ABC|+B|+ACB+ACB|
A|B+B|+ACB|+AB
B| +ACB|+B
A|B+ABC|+B|+AC (B+B|) = 1