0% found this document useful (0 votes)
34 views7 pages

Part 1

This document provides examples of converting between decimal, binary, octal, and hexadecimal number systems. Conversions include changing decimal numbers to and from binary, octal, and hexadecimal representations. Steps show dividing the decimal number by powers of the new base and recording the remainders to get the result in the new numbering system.

Uploaded by

nahiankhan141
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views7 pages

Part 1

This document provides examples of converting between decimal, binary, octal, and hexadecimal number systems. Conversions include changing decimal numbers to and from binary, octal, and hexadecimal representations. Steps show dividing the decimal number by powers of the new base and recording the remainders to get the result in the new numbering system.

Uploaded by

nahiankhan141
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Decimal to Binary Conversion

(a) (8354)10=( ? )2
2 8354

2 4177 0

2 2088 1

2 1044 0

2 522 0

2 261 0

2 130 1

2 65 0

2 32 1

2 16 0

2 8 0

2 4 0

2 2 0

2 1 0

2 0 1

(8354)10= (10000010100010) 𝟐

(𝑏) (8354.8354)10=(? )2

2 8354

2 4177 0

2 2088 1

2 1044 0
2 522 0

2 261 0

2 130 1

2 65 0

2 32 1

2 16 0

2 8 0

2 4 0

2 2 0

2 1 0

2 0 1

(8354)10= (10000010100010) 𝟐

0 .8354*2

1 .6708*2

1 .3416*2

0 .6832*2

1 .3664*2

835410 =(.01101 … )2

(8354.8354)10=(10000010100010.01101 … )2
Binary to Decimal Conversion

(a) (11001101) 2 = (? )10

11001101

=1*20 0+0*21 +1*22 +1*23 +0*24 +1*25 +1*26 +1*27

=(205)10

(11001101)2 = (205)10

(b) (11001101.1010)2 =(? )10

11001101.1010

=1*20 +0*21 +1*22 +1*23 +0*24 +1*25 +1*26 +1*27 +1*2−1 +0*2−2 +1*2−3+0*2−4
= (205.625)10

(11001101.1010)2 = (205.625)10

Decimal to Octal Conversion


(a) (8354)10=(? )8

8 8354

8 1044 2

8 130 4

8 16 2

8 2 0

8 0 2

(8354)10 =(20242)8
(b) (95534)10 =(? )8

8 95534

8 11941 6

8 1492 5

8 186 4

8 23 2

8 2 7

0 2

(95534)10 =(272456)8

Octal to Decimal Conversion


(a) (374)8=(? )10

374

4*80 +7*81 +3*82


=4+56+192

=(252)10

(374)8=(252)10

(b) (457)8 =(? )10

4578

7*80 +5*81 +4*82


=7+40+256

=(303)10

(457)8=(303)10
Decimal to Hexadecimal Conversion

(a) (536)10

16 536
16 33 8
16 2 1
0 2
(536)10=(218)16
(b) (1434)10

16 1434
16 89 A [ A=10]
16 5 9
0 5
(1434)10=(59A)16

Hexadecimal to Decimal Conversion

(a) (8BD5)16
8BD5
=8*163 +11*162 +13 ∗ 161 +5 ∗ 160 [B=11,D=13]
=32768 + 2816 + 208+ 5
=(35797)₁₀

(8BD5)16=(35797)₁₀
(b) (9CF4)16
9CF4
=9*163 + 12*162 + 15 ∗ 161 + 4 ∗ 160 [C=12,F=15]
= 36864 + 3072 + 240 + 4
=(40180)₁₀

(9CF4)16=(40180)10

Octal to Binary Conversion

(a) (213)8
2 1 3

010 001 011

(213)8=(10001011)2

Hexadecimal to Binary Conversion

(a) (8B)16
8 B

1000 1011
(8B)16=(10001011) 2

You might also like