Beruflich Dokumente
Kultur Dokumente
( Pertemuan I )
1. BILANGAN BINER
Setiap digit biner disebut Bit. Bit paling kanan disebut LSB (least Significant
Bit), dan bit paling kiri disebut MSB (Most Significant Bit)
Mempunyai Radiks 2 (0,1) Disebut Bilangan Basis 2
Contoh (1) : 100112 = Desimal ?
Jawab : = ( 1 x 2 4 ) + ( 0 x 2 3 ) + ( 0 x 22 ) + ( 1 x 2 1 ) + ( 1 x 20 )
: = 16 + 0 + 0 + 2 + 1 = 19 10
1011 2 = 19 10
2. BILANGAN HEKSADESIMAL
Mempunyai Radiks 16 ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F )
Keuntungan : Untuk perubahan biner 4 bit.
0,25 x 16 = 4,00
0,00 x 16 = 0
250,25 10 = FA.4 16
Representasi
Desimal
Komplement-2
Bertanda
8-Bit
+ 127 0 111 1111
+126 0 111 1110
+125 0 111 1101
+124 0 111 1100
. . . .
. . . .
. . . .
+5 0 000 0101
+4 0 000 0100
+3 0 000 0011
+2 0 000 0010
+1 0 000 0001
0 0 000 0000
-1 1 111 1111
-2 1 111 1110
-3 1 111 1101
-4 1 111 1110
-5 1 111 1011
. . . .
. . . .
. . . .
-124 1 000 0100
-125 1 000 0011
-126 1 000 0010
-127 1 000 0001
-128 1 000 0000
Tanda Besaran
1 1 1 1 1 1 1 1