Hexa (Basis 16) : 0-9 , A=10 sampai F=16.
Desimal (Basis 10) : 0,1,2,3,4,5,6,7,8,9.Oktal (Basis 8) : 0,1,2,3,4,5,6,7.
Biner (Basis 2) : 0,1.
1A. Biner ke Desimal :
Rumus : | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Soal :11001101 ke Desimal.
Penyelesaian
Hitung: 128 + 64 + 8 + 4 + 1 = 205.
Hasil : 205.
Hasil : 205.
1B. Biner ke Okta :
Soal : 11011010
Split Dari kanan: 110 | 110 | 10
Karena depan hanya memiliki dua angka, tambah 0 agar jadi: 010 | 110 | 110
Gunakan Rumus 4-2-1!
Gunakan Rumus 4-2-1!
- Grup 1 (010): (0 x 4) + (1 x 2) + (0 x 1) = 0 + 2 + 0 = 2.
- Grup 2 (110): (1 x 4) + (1 x 2) + (0 x 1) = 4 + 2 + 0 = 6.
- Grup 3 (110): (1 x 4) + (1 x 2) + (0 x 1) = 4 + 2 + 0 = 6.
Hasil : 266(8).
1C. Biner ke Hexa :
Soal : 10111101
Split menjadi dua bagian : 1011 | 1101
Gunakan Rumus 8-4-2-1!
- Grup Kiri (1011) : (1 x 8) + (0 x 4) + (1 x 2) + (1 x 1) = 8 + 0 + 2 + 1 = 11 (11 adalah B).
- Grup Kanan (1101) : (1 x 8) + (1 x 4) + (0 x 2) + (1 x 1) = 8 + 4 + 0 + 1 = 13 (13 adalah D).
Hasil : BD.
