Minggu, 01 Maret 2009

Tugas Jarkom

LAB 1.2.5 DECIMAL TO BINARY CONVERSION

Convert the following decimal values to binary values
a) 123 : 1111011
b) 202 : 11001010
c) 67 :1000011
d) 7 :0111
e) 252 :11111100
f) 91 :1011011
g) 116.127.71.3 :1110100.1111111.1000111.0011
h) 255.255.255.0 :11111111.11111111.11111111.0000
i) 192.143.255.255 :11000000.10001111.11111111.11111111
j) 12.101.9.16 :1100.1100101.1001.10000



LAB 1.2.6 BINARY TO DECIMAL CONVERSION

Convert the following binary values to decimals
a) 1110 : 14
b) 100110 : 38
c) 11111111 : 255
d) 11010011 : 211
e) 01000001 : 65
f) 11001110 : 206
g) 01110101 : 181
h) 10001111 : 143
i) 11101001.00011011.10000000.10100100 : 233.27.128.164
j) 10101010.00110100.11100110.00010111 : 170.52.230.23

LAB 1.2.5 HEXADECIMAL CONVERSIONS
Convert the following values to the other two forms :

1) Decimal :169

Hex: a9

Binary: 10101001

2) Decimal: 255

Hex: FF

Binary: 11111111

3) Decimal:

Hex: Bad1

Binary:

4) Decimal: 231.99.28

Hex: E7-63-1C

Binary: 1110011.11000011.11100

5) Decimal:53

Hex:35

Binary: 110100

6) Decimal:115

Hex: 73

Binary: 1110011

7) Decimal: 19

Hex: 13

Binary: 10011

8) Decimal: 212.65.119.45

Hex: D4-41-77-2D

Binary: 11010100.1000001.1110111.101101

9) Decimal: 170

Hex: 1A

Binary: 10101010

10) Decimal: 6

Hex: 6

Binary : 110

11) Decimal: 252.60

Hex: FC-3C

Binary: 11111100.00111100

12) Decimal: 12.256.240.255

Hex: C-80-F-FF

Binary: 00001100.1000000.11110000.11111111