DLD Lab 01 - Number Base Calcs
DLD Lab 01 - Number Base Calcs
Lab Session: 01
Number Conversion Calculations
CLOs: CLO 1
Your grade will be based on all problems so I suggest you double check your work.
I - Decimal to binary:
/2 = remainder
Page 1 of 5
/2 = remainder
/2 = remainder
/2 = remainder
/2 = remainder
II - Decimal to hexadecimal:
8110 81/16 = remainder
/16 = remainder
Page 2 of 5
/16 = remainder
101101112 =
x 27 + x 26 + x 25 + x 24 + x 23 + ____ 22 + x 21 + x 20
001100002 =
x 27 + x 26 + x 25 + x 24 + x 23 + ____ 22 + x 21 + x 20
011100002 =
x 27 + x 26 + x 25 + x 24 + x 23 + ____ 22 + x 21 + x 20
001100102 =
x 27 + x 26 + x 25 + x 24 + x 23 + ____ 22 + x 21 + x 20
011111002 =
x 27 + x 26 + x 25 + x 24 + x 23 + ____ 22 + x 21 + x 20
IV - Hexadecimal to decimal
(1) 9715
Page 3 of 5
(2) 5017
(3) 58794
(4) 69321
(5) 894683
BAC416
C416
E1FC16
68D9AB16
32FC8A9A16
VII - Convert the following BCD numbers to decimal. Indicate if a number cannot be a BCD number and
explain why.
(1) 0010100111100000
(2) 1001011000110101
Page 4 of 5
(3) 10010111100000111001100
(4) 110101000100100110000011
(5) 0110101001101010010100100101.100101010100
VIII - Fill in the parity bits for the binary words below:
Odd parity Even Parity Data Word
1111101010110100
1111101101111011
0001001011000110
0101011010110111
0101100110110111
Page 5 of 5