Classnote 1
Classnote 1
NIM : 2208561130
Kelas : E
Matkul: Sistem Digital
1-6. Convert the following decimal number to the indicated bases
a). 7562.45 to octal
7562 . 45
7562 : 8 = 945 sisa 2 0.45 * 8 = 3.6 ->3
945 : 8 = 118 sisa 1 0.6 * 8 = 4.8 -> 4
118 : 8 = 14 sisa 6 0.8 * 8 = 6.4 -> 6
14 : 8 = 1 sisa 6 0.4 * 8 = 3.2 ->3
1 : 8 = 0 sisa 1 0.2 * 8 = 1.6 ->1
------------------------------ …
(16612)8 -----------------------
(0.34631…)8
(7562.45)10 = (16612.34631…)8
1-9. Add and multiply the following number without converting to decimal
a) (367)8 and (715)8
(367)8 x (715)8 = (336313)8 (15F)16 and (A7)16
b) (110110)2 and (110101)2
(110110)2 + (110101)2 = (1101011)2
1-10. Perform the following division in binary 11111111 / 101
= (101010)2 + (110011)2
= (1011101)2
= (11101)2
= (29)10
= -42 + 13
= (-101010)2 + (1101)2
= (-101010)2 + (1101)2
= (010110)2 + (001101)2
= (100011)2
=(-11101)2
= (-29)10.
1-20. Represent the following decimal number in BCD 13597; 93286; and 99880
a). 13579 ->1 = 0001
3 = 0011
5 = 0101
7 = 0111
9 = 1001
->(13579)10 = 0001 0011 0101 0111 1001(BCD)
b). 93286 -> 9 = 1001
3 = 0011
2 = 0010
8 = 1000
6 = 0110
-> (93286)10 = 1001 0011 0010 1000 0110 (BCD)
c). 99880 -> 9 = 1001
8 = 1000
0 = 0000
-> (99880)10 = 1001 1000 0000(BCD)
1-22. 2 The (r-1)’s complement of base-6 numbers is called the 5’s complement
5’s Complement (123455)6 :
5’s C = ( rn - 1) - N6
5’s C = (66-1) - (123455)6
5’s C = (46656-1) - (123455)6
5’s C = (46655) - (123455)6
( rn - 1) = 46655
(46655) = 46655 : 6 = 7775 sisa 5
7775 : 6 = 1295 sisa 5
1295 : 6 = 215 sisa 5
215 : 6 = 35 sisa 5
35 : 6 = 5 sisa 5
5 : 6 = 0 sisa 5
(46655) = (555555)6
5’s C = (555555)6 - (123455)6
5’s C= (432100)6
5’s complement dari (543210)6.
Disminished Radix Complement = ( rn - 1) - N
5’s Complement = (66 - 1) - (543210)6
5’s Complement = (46656-1) - (543210)6
5’s Complement = (46655)10 - (543210)6
(46655)10 = (...)6
46656 : 6 = 7775 sisa 5
7775 : 6 = 1295 sisa 5
1295 : 6 = 215 sisa 5
215 : 6 = 35 sisa 5
35 : 6 = 5 sisa 5
5 : 6 = 0 sisa 5
(46655)10 = (555555)6
5’s Complement = (555555)6 - (543210)6
5’s Complement = (012345)6
1-23. Represent decimal number 8620 in BCD, Excess-3, 2421, binary number
a). BCD = 1000 0110 0010 0000
b). Excess-3 = 1011 1001 0101 0011
c). 2421 = 1110 1100 0010 0000
d). Binary number = 1100 0101 0011 0000
1-26. List the ten BCD digits with an even-parity in left most position, and repeat with odd-
parity bit
Even parity : 00000 10001 10010 00011 10100 00101 00110 10111 11000 01001
Odd parity : 10000 00001 00010 10011 00100 10101 10110 00111 01000 11001