BILANGAN DESIMAL
Representasi Dn..D2D1D0 , D-1 D-2..Dm = Dn x 10n+ D2 x 102+D1 x 101 +D0 x 100 +D-1 x 10-1 + D-2 x 10-2 +Dm x 10m Contoh: 123 = 1x 102 +2 x 101 +3 x 100 = 100 + 20 + 3 = 123 Positional value (Bobot) 102 1 MSD 101 2 100 3 LSD
BILANGAN BINER
Representasi Bn..B2 B1 B0 , B-1 B-2..Bm = Bn x 2n+ B2 x 22+ B1 x 21+ B0 x 20+ B-1 x 2-1+ B-2 x 2-1 +Bm x 2m Contoh: 1112 = 1 x 22 +1 x 21 +1 x 20 = 4 + 2+ 1 = 710 Positional value (Bobot)
22
1
21
1
20
1
MSB
LSB
Digit hasil
.3125 2 .625 2 .25 2 .5 2 = 0.625 = 1.25 = 0.50 = 1.0 0 1 0 1 (LSB) (MSB)
0.312510 = .01012
Bilangan Oktal
Representasi On..O2 O1 O0 O-1 O-2..Om = O n x 8n + O 2 x 82 + O1 x 81 + O 0 x 80 + O-1 x 8-1 + O-2 x 8-2 + Om x 8m Contoh: 5678 = 5 x 82 + 6 x 81 + 7 x 80 = 320 + 48 + 7 = 37510
Desimal ke Oktal
Bagi bilangan decimal dengan 8, tulis sisa pembagian, lanjutkan pembagian sampai tidak bisa dibagi lagi. Tulis hasil pembagian tersebut mulai dari sisa pembagian pertama sampai dengan sisa pembagian terahir.
111 7
010 28
BILANGAN HEXADESIMAL
System bilangan hexadecimal disebut juga bilangan berbasis 16 karena memiliki 16 simbol yaitu 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. Simbol A,B,C,D,E,F setara dengan 10,11,12,13,14,15. Represenasi bilangan hexadecimal adalah sebagai berikut: Hn..H2 H1 H0 H-1 H-2..Hm = Hn x 16n + H2 x 162 + H1 x 161+ H0 x 160 + H-1 x 16-1+ H-2 x 16-2 +Hm x 16m Contoh: 2AF16 = 2 x 162 + 10 x 161 + 15 x 160 = 512 + 160 + 15 = 68710