Assignment 1 - Lab
Assignment 1 - Lab
SEM 1 2014/15
Assignment 1
1. Write IEEE floating point representation of the following decimal numbers.
i.
3.75
ii.
-55 23/64
iii.
64000
(5 marks each)
2. Write the decimal equivalent for these IEEE floating point numbers
i.
0 10000000 00000000000000000000000
ii.
1 10000011 00010000000000000000000
iii.
0 11111111 00000000000000000000000
iv.
1 10000000 10010000000000000000000
(4 marks each)
3. Convert the following unsigned binary numbers to hexadecimal.
i.
1101 0001 1010 1111
ii.
001 1111
iii.
1
iv.
1110 1101 1011 0010
(3 marks each)
4. Convert the following hexadecimal numbers to binary.
i.
x10
ii.
x801
iii.
xF731
iv.
x0F1E2D
v.
xBCAD
(3 marks each)
5. Convert the following hexadecimal representantion of 2s complement binary numbers to
decimal numbers.
i.
xF0
ii.
x7FF
iii.
x16
iv.
x8000
(4 marks each)
6. Convert the following decimal numbers to hexedecimal representation of 2s complement
numbers.
i.
256
ii.
111
iii.
-44
(4 marks each)
1
@salmanfirdaussem1201415
2
@salmanfirdaussem1201415