Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

1. a.

) 862010 to BCD 8 => 1000


6 => 0110 = 1000 0110 0010 00002
2 => 0010
0 => 0000

b.) 862010 to Excess -3 8 + 3 = 11 => 1011


6 + 3 = 9 => 1001
2 + 3 = 5 => 0101 = 1011 1001 0101 00112
0 + 3 = 3 => 0011

c.) 862010 to 2,4,2,1 code (High Priority)


8 => 1110
6 => 1100 = 1110 1100 1000 00002
2 => 1000
0 => 0000

d.) 862010 to binary number 2 l 8620


2 l 4310 0
2 l 2155 0
2 l 1077 1
2 l 538 1
2 l 269 0
2 l 134 1 = 100001101011002
2 l 67 0
2 l 33 1
2 l 16 1
2l8 0
2l4 0
2l2 1
1
2. Weighted code for base 12 digits (5,4,2,1)

0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1011
9 1100
10 1101
11 1110

3. a.) Three decimal digits in BCD (0101 1001 0111)


0101 = 5
1001 = 9 = 59710
0111 = 7

b.) Three decimal digits in Excess – 3 (0101 1001 0111)


0101 = 5 – 3 => 2
1001 = 9 – 3 => 6 = 26410
0111 = 7 – 3 => 4

c.) Three decimal digits in 2,4,2,1 (0101 1001 0111)


(High Priority)
0101 = 5
1001 = 3 = 53710
0111 = 7

You might also like