1]Changing from Desimal : 256
a. BCD : 0010 0101 0110
from table, 2 =0010; 5 =0101; 6 =0110b. Alphanumeric code : (100)16
256/16 =16-->016/16 =1 -->0
1/16=0 -->1c. excess-3 : 100000011
256+3=259259/2=129 -->1
129/2=64 -->1
64/2=32 -->0
32/2=16 -->0
16/2=8 -->0
8/2=4 -->0
4/2=2 -->0
2/2=1 -->0
1/2=0 -->1
d. graycode : 110000000
256/2=128-->0128/2=64 -->0
64/2=32 -->0
32/2=16 -->0
16/2=8 -->0
8/2=4 -->0
4/2=2 -->0
2/2=1 -->0
1/2=0 -->1
100000000 {XOR 0 - 0, result 0 ; 0 - 1, result 1 ; 1 - 0, result 1 ; 1 - 1, result 0}
10000000+
110000000
2]error correction And detection using single bit hamming code
source: Data 1100111101110101
dlm destination terjadi perubahan 1 single bit data diposisi 12(D8) : "1" menjadi "0"
dan terdeteksi pada akhir yaitu: 01100 (biner)= 12(desimal)
Komentar
Posting Komentar