You are on page 1of 7

Conversion of Decimal no to Binary no

Example convert (22)10 into binary


2 22
2 11 — 0
2 5 —1
2 2 —1
1 —0

Hence (22)10 = (10110)2

Conversion of Binary No to Decimal No


Example convert (10110)2 to the decimal number system.
(10110)2= (?)10
= 1 x 24+ 0 x 23+ 1 x 22+ 1 x 21+ 0 x 20
= 1 x 16+ 0 x 8+ 1 x 4 + 1 x 2 + 0 x 1
= 16+0+4+2+0

Hence
(10110)2= (22)10

Example convert (101.11)2 to the Decimal number system


(101.11)2 = (?)10
= 1 x 22+ 0 x 21+ 1 x 2 0 + 1 x 2-1 + 1 x 2-2
= 1 x 4+ 0 x 2+ 1 x 0+ 1 x ½ + 1 x ¼
= 4+0+1+1/2+1/4
= 5+ 0.75

Hence
(101.11)2 = (5.75)10

Conversion of Decimal to Octal no


Example convert (80)10 to the octal number system
(80)10 = (?)8

8 80
8 10-0
1-2

Hence
(80)10= (120)8 Ans
Conversion of Octal to Decimal no
Example convert (160)8 to the decimal number system
(160)8= (?)10
= 1 x 8 2 + 6 x 8 1 + 0 x 80
= 1 x 64 + 6 x 8 + 0 x 8
= 64+48+0

Hence
(160)8= (112)10
Conversion of Decimal into Hexadecimal no
Example convert (751)10 to the Hexa-decimal number system
(751)10 = (?)16
16 751
16 46-15
2-14

Hence
(751)10 = (2EF)16
Conversion of Hexadecimal to Decimal no
Example convert (3BF)16 to the equivalent Decimal number system.
(3BF)16 = (?)10
= 3 x 162+ B x 161+ F x 160
= 3 x 256+ 11 x 16 + 15 x 1
= 768+ 176+ 15
= (959)10
Hence
(3BF)16 = (959)10

Conversion of Binary to Octal no


Example:
Convert (1110)2 into its octal equivalent.
(1110)2 = 1  23 + 1  22 + 1  21 + 0  20
= 8+4+2+0
= (14)10
Now, this 1410 is converted into octal numbers as:
8 14
1—6
(16)8
Hence
(1110)2 = (14)10= (17)8
Conversion of Octal no to Binary
Example Convert (260)8 to binary number system
(260)8 = (?)2
= 2 x 82 + 6 x 81 + 0 x 80
= 2 x 64 + 6 x 8 + 0 x 1
= 128+48+0
= (176)10
To convert this decimal to its equivalent binary number, the Remainder
method is used. This method iis as follows:
• Divide the given decimal number by the base 2. In this step we get
a quotient answ1 and a remainder Remain 1.
• Divide again the answ1 by base 1. We will get a quotient answ2
and a remainder Remain 2.
• Repeat this process until the quotient becomes less than 2.
2 176
2 88-0
2 44-0
2 22-0
2 11-0
2 5-1
2 2-1
1-0

Hence
(260)8= (183)10 = (10110000)2

Conversion of Hexadecimal to Binary no


Example Convert (1AD)16 to the binary number system

First of all convert this number into decimal number system

(1AD)16 = (?)10

= 1 x 162 + A x 161 + D x 160

= 1 x 256 + 10 x 16 + 13 x 1

= 256+160+13

= 529

Hence

(1AD)16 = (529)10 Ans

To convert this decimal number to its equivalent binary number, the


remainder method is used. This method is as follow:

• Divide the given decimal number by the base 2. In this step we get a
quotient ans1 and a remainder Remain 1.
• Divide again the ans1 by base 2. We will get a quotient ans2 and a
remainder Remain 2.
• Repeat this process until the quotient becomes less than 2.
• Repeat this process until the quotient becomes less than 2.

2 529
2 264-1

2 132-0

2 66-0

2 33-0

2 16-1

2 8-0

2 4-0

2 2-0

1-0

Hence

(1AD)16 = (529)10 = (100010001)2 Ans

Conversion of Octal to Hexa decimal no


Example Convert (216)8 to the Hexadecimal number system

First of all convert the octal number into equivalent decimal number.

(216)8 = (?)16

= 2 x 82+ 1 x 81 + 6 x 80

= 2 x 64+ 1 x 8 + 6 x 1

= 128+8+6

= 142

Hence
(216)8= (142)10 Ans

To convert this decimal number to its equivalent hexadecimal number, the


remainder method is used. This method is as follows:

• Divide the given decimal number by the base 16. In this step we get a
quotient ans1 and a remainder Remain 1.
• Divide again the ans1 by base 16. We will get a quotient ans2 and a
remainder Remain 2.
• Repeat this process until the quotient becomes less than 16.

16 142

8-14

Hence

(216)8= (142)10 = (8E)16 Ans

You might also like