05   representasi data
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,355
On Slideshare
2,342
From Embeds
13
Number of Embeds
1

Actions

Shares
Downloads
47
Comments
0
Likes
0

Embeds 13

http://e-zulfadli.blogspot.com 13

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PENGANTAR ILMU KOMPUTER Representasi Data 12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 2. Sistem Bilangan
    • Bilangan adl representasi fisik dari data yg diamati.
    • Bilangan dapat direpresentasikan dlm berbagai bentuk yg mempunyai arti sama
      • Dapat dikonversi ke sistem bilangan lain tanpa mengubah makna
    • Sistem bilangan dlm komputer
      • Biner
      • Oktal
      • Desimal
      • Hexadesimal
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 3. Bilangan Desimal
    • Angka desimal didasarkan pada basis 10
      • Memiliki 10 digit berbeda
      • 0, 1, 2, 3, 4, 5, 6, 7, 8 dan 9
      • Mengikuti notasi bilangan arab
    • Cth : 527 10
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 4. Bilangan Biner
    • Angka desimal didasarkan pada basis 2
      • Memiliki 2 digit berbeda
      • 0 dan 1
    • Cth : 1001 2
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 5. Bilangan Oktal
    • Angka desimal didasarkan pada basis 8
      • Memiliki 8 digit berbeda
      • 0, 1, 2, 3, 4, 5, 6 dan 7
    • Cth : 624 8
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 6. Bilangan Hexadesimal
    • Angka desimal didasarkan pada basis 16
      • Memiliki 16 digit berbeda
      • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E dan F
    • Cth : 70A
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 7. Konversi Biner ke Desimal
    • 1011 2 = … 10 ?
    • 1011 2 = (1*2 3 ) + (0*2 2 ) + (1*2 1 ) + (1*2 0 )
    • = 8 + 0 + 2 + 1
    • = 11 10
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 8. Konversi Biner ke Oktal
    • 110010 2 = … 8 ?
    • 110010 2 = 110 010
    • = 6 2
    • = 62 8
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 9. Konversi Biner ke Hexa
    • 100111001011 2 = … 16 ?
    • 100111001011 2 = 1001 1100 1011
    • = 9 16 C 16 B 16
    • = 9CB 16
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 10. Konversi Desimal ke Biner
    • 9 10 = … 2 ?
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 11. Konversi Desimal ke Oktal
    • 529 10 = … 8 ?
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 12. Konversi Desimal ke Hexa
    • 2479 10 = … 16 ?
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 13. Konversi Oktal ke Biner
    • 3527 8 = ... 2 ?
    • = 3 | 5 | 2 | 7
    • = 011 | 101 | 010 | 111
    • = 11101010111 2
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 14. Konversi Oktal ke Desimal
    • 624 8 = ... 10 ?
    • = (6 x 8 2 ) + (2 x 8 1 ) + (4 x 8 0 )
    • = 384 + 16 + 4
    • = 404 10
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 15. Konversi Hexa ke Biner
    • 2AC 16 = ... 2 ?
    • = 2 | A | C
    • = 0010 | 1010 | 1100
    • = 1010101100 2
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 16. Konversi Hexa ke Desimal
    • 624 16 = ... 10 ?
    • = (6 x 16 2 ) + (2 x 16 1 ) + (4 x 16 0 )
    • = 1536 + 32 + 4
    • = 1572
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 17. Konversikan bilangan-bilangan di bawah ini dan tunjukkan caranya!
    • A
    • 175 16 = 101110101 2 ?
    • 327 8 = 215 10 ?
    • 111 10 = 157 8 ?
    • 1010101 2 = 55 16 ?
    • B
    • 1110011 2 = 73 16 ?
    • 110 10 = 156 8 ?
    • 154 16 = 101010100 2 ?
    • 273 8 = 187 10 ?
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 18.
    • 1) 175 16 = 1 | 7 | 5 = 1 | 0111 | 0101
    • 2) 327 8 = (3 x 8 2 ) + (2 x 8 1 ) + (7 x 8 0 ) = 215 10 ?
    • 3) 111 10 = 157 8 4) 1010101 2 = 55 16
    • =0101 0101
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 19.
    • 1110011 2 = 0111 | 0011 = 73 16 ?
    • 110 10 = 156 8 ?
    • 154 16 = 1 | 5 | 4 = 0001 | 0101 | 0100 2 ?
    • 273 8 = (2x8 2 ) + (7x8 1 ) + (3x8 0 ) = 187 10 ?
    12/13/11 Zulfadli Sulthan - PTIK - UNM
  • 20. Thankyou 12/13/11 Zulfadli Sulthan - PTIK - UNM