IF YOU DO THE SAME, THEN THE RESULT IS THE SAME. CHANGE WILL NOT HAPPEN UNTIL YOU CHANGE THE CAUSE

Kamis, 07 Oktober 2010

TUGAS PTI A

Nama : Sukma Darnet Setyadi
NPM : 29110432
Kelas : IKB01
E-mail : not_ruffian@myself.com

Konversi bilangan berikut :

  1. 198010 ke bilangan biner,heksadesimal,dan okta
  2. 1001001101 ke heksadesimal, okta, dan decimal
  3. 768 ke bilangan biner, heksadesimal, dan decimal
  4. 43 F 16 ke bilangan biner, decimal, dan okta

Jawaban :

A. Soal no 1
  1. biner : 1980 /2 = 0
990 /2 = 0
495 /2 = 1
247 /2 = 1
123 /2 = 1
61 /2 = 1
30 /2 = 0
15 /2 = 1
7 /2 = 1
3 /2 = 1
1 /2 = 1
Biner : 111101111002
  1. heksadesimal : 0111 =7           1011 = B         1100 = C = 7 B C
  2. octal : 011 = 3             110 = 6            111 = 7            100 = 4

B. Soal no 2
  1. heksadesimal : 1001001101 =  0010 = 2  0100 = 4  1101 = D = 2 4 D
  2. oktal : 001 = 1       001 = 1            001 = 1            101 = 5 = 1115
  3. desimal : 1 + 4 + 8 + 64 +512 = 589

C. Soal no 3
  1. oktal : 111 = 7       110 = 6 = 768
  2. biner : 111110
  3. heksadesimal : 0011 = 3    1110 = E = 3 E
  4. desimal : 2+8+16+4+32 = 62

D. Soal no 4
  1. biner : 0100 = 4     0011 = 3          1111 = F =3 4 F
= 010000111111
  1. oktal : 010 = 2       000 = 0            111 = 7            111 = 7 = 2077
  2. desimal : 1+2+4+16+8+32+1024 = 1087

Tidak ada komentar:

Poskan Komentar