Show Your Solutions

You might also like

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

Activity 2.

3
BINARY NUMBERS

Name :Basong Erica Mae D.


Year, Section and Course : 1-B2 BHS

Directions : Answer the following : Show your solutions. (2 points each)

A. Convert the decimal number to binary number :

1. 193 = 
2. 294 =
3. 89 =
B. Convert the binary number to decimal number

      4. (1110011)
2 =
      5. (1011011)
2 =
      6.  (110101111) =

Solutions:
(A)

1. 193=11000001

193/2 = 96
96/2 = 48
48/2 = 24
24/2 = 12
12/2 = 6
6/2 = 3
3/2 = 1
1/2 = 0
96 48 24 12 6 3 1 0
1 1 0 0 0 0 0 1

2. 294= 100100110
294/2=147
147/2=73.5
73/2=36
36/2=18
18/2=9
9/2=4
4/2=2
2/2=1
1 / 2=0.5
147 73 36 18 9 4 2 1 0.5
0 1 1 0 0 1 0 0 1

3. 89=1011001
89/2 = 44
44/2 = 22
22/2 = 11
11/2 = 5
5/2 = 2
2/2 = 1
1/2 = 0
44 22 11 5 2 1 0
1 0 0 1 1 0 1

B.
4. 1110011=115
1x2  + 1x2  + 1x2  + 0x2  + 0x2  + 1x2  + 1x2
6 5 4 3 2 1 0

1x64 + 1x32 + 1x16 + 0x8 + 0x4 + 1x2 + 1x1 = 64 + 32 + 16 + 0 + 0 + 2 + 1


64 + 32 + 16 + 0 + 0 + 2 + 1 = 115.
5. 1011011=91
1x2  + 0x2  + 1x2  + 1x2  + 0x2  + 1x2  + 1x2
6 5 4 3 2 1 0

1x64 + 0x32 + 1x16 + 1x8 + 0x4 + 1x2 + 1x1 = 64 + 0 + 16 + 8 + 0 + 2 + 1


64 + 0 + 16 + 8 + 0 + 2 + 1 = 91
6.110101111=431
1x2  + 1x2  + 0x2  + 1x2  + 0x2  + 1x2  + 1x2  + 1x2  + 1x2
8 7 6 5 4 3 2 1 0

1x256 + 1x128 + 0x64 + 1x32 + 0x16 + 1x8 + 1x4 + 1x2 + 1x1 = 256 + 128 +
0 + 32 + 0 + 8 + 4 + 2 + 1
256 + 128 + 0 + 32 + 0 + 8 + 4 + 2 + 1 = 431

You might also like