# Convert Decimal to Binary

Essay by   •  December 6, 2018  •  Coursework  •  1,559 Words (7 Pages)  •  55 Views

## Essay Preview: Convert Decimal to Binary

Report this essay
Page 1 of 7

ASM 551

OFFICE NETWORKING & TELECOMMUNICATION SYSTEM

ASSIGNMENT 1: BINARY SYSTEM

NAME:                NURUL FATIN BINTI BORAGI                CLASS:         NBS7B

MATRIX NO:        2017614412                                LECTURE:  DR. NAFFISAH MOHD HASSAN

1. Convert the following decimal numbers to binary:

[pic 1]

1. 27             (16+8+2+1) = 11011[pic 2]

27-16=11                11-8=3                   3-2=1                   1-1=0

 32           16        8        4        2        1[pic 3][pic 4][pic 5][pic 6][pic 7]            1        1        0        1        1

1. 75            (64 + 8 + 2 + 1) = 1001011[pic 8]

75-64=11                11-8=3                3-2=1                1-1=0

 64            32        16        8        4        2        1[pic 9][pic 10][pic 11][pic 12][pic 13][pic 14][pic 15]1             0          0        1        0        1        1

1. 164               (128 + 32 + 2 + 1[pic 16]

164-128=36        36-32=4        4-2=2                2-1=1

128        64        32        16        8        4        2        1[pic 17][pic 18][pic 19][pic 20][pic 21][pic 22][pic 23][pic 24]

1. 255             (128 + 64 + 32 + 16 + 8 + 4 + 2  + 1) = 11111111[pic 25]

255-128=127        127-64=63        63-32=31        31-16=15        15-8=7          7-4=3       3-2=1       1-1=0

 128        64        32        16        8        4        2        1[pic 26][pic 27][pic 28][pic 29][pic 30][pic 31][pic 32][pic 33] 1        1        1        1        1        1        1        1

2.  Express the binary numbers below in the decimal number system.

1. 111              8[pic 34]

 22        21        20[pic 35][pic 36][pic 37] 1        1        1

22 + 21 +20 =        4+2+0  = 8

1. 1011               10[pic 38]
 23        22        21        20[pic 39][pic 40][pic 41][pic 42]1        0        1        1

23 + 21 + 20 =  8 + 2 = 10

1. 1000              8[pic 43]
 23        22        21        20[pic 44][pic 45][pic 46][pic 47]     1        0        0        0

23 = 8

1. 10010                18[pic 48]
 24         23        22        21        20[pic 49][pic 50][pic 51][pic 52][pic 53]  1        0        0        1        0

24 + 21 = 16 + 2 = 18

3. Express the hexadecimal numbers below in decimal notation.[pic 54][pic 55]

1. E2 = 2 + 224 = 226
 DIVISION RESULT 2 X 1 2 E X (16 X 14) 224 ANSWER 226

1. 987 = 7 + 128 + 2304 = 2439
 DIVISION RESULT 7 X 160 7 8 X 161 128 9 X 162 2304 ANSWER 2439

...

...