Fadergao, Jericho F. Activity No.2

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Faderagao, Jericho F.

Feb 14, 2023


CE2-1

DECIMAL BINARY OCTAL HEXADECIMAL

561.248
369.3125 101110001.01012 171.516

189.625 10111101.1012 275.58 BD.A16

214.625 110101110.1012 326.58 1AE.A16

62407.625 1111001111000111.1012 171707.58 F3C7.A16

Binary Remainder
369/2 = 184 1 0.3125 x 2 = 0.625
184/2 = 92 0 0.625 x 2 = 1.250
92/2 = 46 0 0.250 x 2 = 0.500
46/2 = 23 0 0.500 x 2 = 1.000
23/2 = 11 1
11/2 =5 1
5/2 =2 1
2/2 =1 0
1/2 =0 1

(369.3125) = (101110001.0101)2

Binary to Octal
101 110 001 .010 100
5 6 1 2 4
(101110001.010100)2 = (561.24)8

4 2 1

1 0 1 5

1 1 0 6

0 0 1 1

0 1 0 2

1 0 0 4

Binary to Hexa
0001 0111 0001 .0101
1 7 1 5
(000101110001.0101)2 = (171.5)16

8 4 2 1

0 0 0 1 1

0 1 1 1 7
0 0 0 1 1

0 1 0 1 5

Binary to Decimal

1 0 1 1 1 1 0 1 . 1 0 1 bits

27 26 25 24 23 22 21 20 . 2-1 2-2 2-3 weights


(1x27) + (0x26) + (1x25) + (1x24) + (1x23) + (1x22) + (0x21) + (1x20) + (1x2-1) + (0x2-2) + (1x2-3)
128 + 0 + 32 + 16 + 8 + 4 + 0 + 1 + 0.5 + 0 + 0.125 = 189.875
(10111101.101)2 = (189.625)

Binary to Octal
010 111 101 .101
2 7 5 5
(010111101.101)2 = (275.5)8

4 2 1

0 1 0 2

1 1 1 7

1 0 1 5

1 0 1 5
Binary to Hexa
1011 1101 .1010
B D A
(10111101.1010)2 = (AB.D)16

8 4 2 1

1 0 1 1 11

1 1 0 1 13

1 0 1 0 10
Octal to Decimal

3 2 6 .5
(3x82) + (2x81) + (6x80) + (5x8-1)
192 + 16 + 6 + 0.625 = 214.625
(326.5)8 = 214.625

Decimal to Binary

Remainder
214/2 = 107 0 0.625x2 = 1.250
107/2 = 53 1 0.250x2 = 0.500
53/2 = 26 1 0.500x2 = 1.000
26/2 = 13 0
13/2 =6 1
6/2 =3 0
3/2 =1 1
½ =0 1

(214.6250 = (110101110.101)2

Binary to Hexa
0001 1010 1110 .1010
1 A E A
(110101110.101)2 = (1AE.A)16

8 4 2 1

0 0 0 1 1

1 0 1 0 A

1 1 1 0 E

1 0 1 0 A

Hexa to Decimal

15 3 12 7 .10
(15x163) + (3x162) + (12x161) + (7x160) + (10x16-1)
61440 + 768 + 192 + 7 + 0.625 = 62407.625

Decimal to Binary Remainder

62407/2 = 31203 1 0.625 x 2 = 1.250


31203/2 = 15601 1 0.250 x 2 = 0.500
15601/2 = 7800 1 0.500 x 2 = 1.000
7800/2 = 3900 0
3900/2 = 1950 0
1950/2 = 975 0
975/2 = 487 1
487/2 = 243 1
243/2 = 121 1
121/2 = 60 1
60/2 = 30 0
30/2 = 15 0
15/2 =7 1
7/2 =3 1
3/2 =1 1
1/2 =0 1

(62407.625) = (1111001111000111.101)2

Binary to Octal
001 111 001 111 000 111 .101
1 7 1 7 0 7 5
(1111001111000111.101)2 = (171707.5)8

4 2 1
0 0 1 1

1 1 1 7

0 0 1 1

1 1 1 7

0 0 0 0

1 1 1 7

1 0 1 5

You might also like