TUGAS 1
PENGENAL TEKNOLOGI INFORMASI
( Pak Danuri)
DECIMAL | BINER | OKTA | HEXADECIMAL |
325 | 101000101 | 505 | 145 |
123 | 1111011 | 173 | 7B |
85 | 1010101 | 125 | 55 |
411 | 110011011 | 633 | 19B |
Langkah-langkah Penyelesaian :
1. Decimal = 325
a. Biner = 101000101
325
2------1
162
2------0
81
2------1
40
2------0
20
2------0
10
2------0
5
2------1
2
2------0
1
b. Okta = 505
325
8------5
40
8------0
5
c. Hexadecimal = 145
325
16----5
20
16----4
1
2. Biner = 1111011
a. Decimal = 123
26 | 25 | 24 | 23 | 22 | 21 | 20 |
64 | 32 | 16 | 8 | 4 | 2 | 1 |
1 | 1 | 1 | 1 | 0 | 1 | 1 |
64x1 | 32x1 | 16x1 | 8x1 | 4x0 | 2x1 | 1x1 |
64 | 32 | 16 | 8 | 0 | 2 | 1 |
64+32+16+8+0+2+1 = 123
b. Okta = 173
123
8------3
15
8------7
1
c. Hexadecimal = 7B
123
16----11
7
3. Okta = 125
a. Decimal = 85
82 | 81 | 80 |
64 | 8 | 1 |
1 | 2 | 5 |
64x1 | 8x2 | 1x5 |
64 | 16 | 5 |
64+16+5 = 85
b. Biner = 1010101
85
2------1
42
2------0
21
2------1
10
2------0
5
2------1
2
2------0
1
c. Hexadecimal = 55
85
16----5
5
4. Hexadecimal = 19B
a. Decimal = 411
162 | 161 | 160 |
256 | 16 | 1 |
1 | 9 | B |
256x1 | 16x9 | 1x11 |
256 | 144 | 11 |
256+144+11 = 411
b. Biner = 110011011
411
2------1
205
2------1
102
2------0
51
2------1
25
2------1
12
2------0
6
2------0
3
2------1
1
c. Okta = 633
411
8------3
51
8------3
6
0 komentar:
Posting Komentar