pengantar teknologi fakultas informasi (teori) ilmu … · konversi desimal ke oktal...

19
FAKULTAS ILMU KOMPUTER UNIVERSITAS DIAN NUSWANTORO http://www.dinus.ac.id Pengantar Teknologi Informasi (Teori) Minggu ke-04 Oleh : Ibnu Utomo WM, M.Kom Sistem Bilangan

Upload: tranmien

Post on 16-Mar-2019

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

FAKULTAS

ILMU KOMPUTER

UNIVERSITAS

DIAN NUSWANTORO

http://www.dinus.ac.id

Pengantar Teknologi Informasi (Teori)

Minggu ke-04

Oleh : Ibnu Utomo WM, M.Kom

Sistem Bilangan

Page 2: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Sistem Bilangan

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 2

• 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

Page 3: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Bilangan Desimal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 3

• 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 : 52710

Page 4: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Bilangan Biner

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 4

• Angka desimal didasarkan pada basis 2

– Memiliki 2 digit berbeda

– 0 dan 1

• Cth : 10012

Page 5: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Bilangan Oktal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 5

• Angka desimal didasarkan pada basis 8

– Memiliki 8 digit berbeda

– 0, 1, 2, 3, 4, 5, 6 dan 7

• Cth : 6248

Page 6: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Bilangan Hexadesimal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 6

• 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

Page 7: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Desimal ke Biner

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 7

910 = …2 ?

Page 8: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Desimal ke Oktal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 8

52910 = …8 ?

Page 9: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Desimal ke Hexa

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 9

247910 = …16 ?

Page 10: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Biner ke Desimal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 10

• 10112 = …10 ?

10112 = (1*23) + (0*22) + (1*21) + (1*20)

= 8 + 0 + 2 + 1

= 1110

Page 11: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Oktal ke Desimal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 11

• 6248 = ... 10 ?

= (6 x 82) + (2 x 81) + (4 x 80)

= 384 + 16 + 4

= 40410

Page 12: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Hexa ke Desimal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 12

• 62416 = ... 10 ?

= (6 x 162) + (2 x 161) + (4 x 160)

= 1536 + 32 + 4

= 1572

Page 13: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Biner ke Oktal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 13

Representasi :

• 0002 = 08 1002 = 48

• 0012 = 18 1012 = 58

• 0102 = 28 1102 = 68

• 0112 = 38 1112 = 78

Page 14: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Biner ke Oktal

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 14

• 1100102 = …8 ?

1100102 = 110 010

= 6 2

= 628

Page 15: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Biner ke Hexa

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 15

Representasi :

• 00002 = 016 10002 = 816

• 00012 = 116 10012 = 916

• 00102 = 216 10102 = A16

• 00112 = 316 10112 = B16

• 01002 = 416 11002 = C16

• 01012 = 516 11012 = D16

• 01102 = 616 11102 = E16

• 01112 = 716 11112 = F16

Page 16: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Biner ke Hexa

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 16

• 1001110010112 = …16 ?

1001110010112 = 1001 1100 1011

= 916 C16 B16

= 9CB16

Page 17: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Oktal ke Biner

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 17

• 6248 = ... 10 ?

= (6 x 82) + (2 x 81) + (4 x 80)

= 384 + 16 + 4

= 40410

Page 18: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

Konversi Hexa ke Biner

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 18

• 2AC16 = ... 2 ?

= 2 | A | C

= 0010 | 1010 | 1100

= 10101011002

Page 19: Pengantar Teknologi FAKULTAS Informasi (Teori) ILMU … · Konversi Desimal ke Oktal ibnu.utomo.wm@dsn.dinus.ac.id Fakultas Ilmu Komputer –Universitas Dian Nuswantoro Hal : 8 529

[email protected]

Fakultas Ilmu Komputer – Universitas Dian Nuswantoro

Hal : 19