Like this presentation? Why not share!

# Dec to bin.20

## on Apr 01, 2013

• 280 views

### Views

Total Views
280
Views on SlideShare
279
Embed Views
1

Likes
0
0
0

### 1 Embed1

 http://improvec.blogspot.in 1

### Categories

Uploaded via as Microsoft PowerPoint

### Report content

• Comment goes here.
Are you sure you want to
Your message goes here

## Dec to bin.20Presentation Transcript

• Conversions of decimal to binary number http://improvec.blogspot.in/ 1
• ObjectiveOn completion of this period, you would beable to know: Conversion of a decimal number to equivalent binary http://improvec.blogspot.in/ 2
• RecapVarious number systems used in digital computer http://improvec.blogspot.in/ 3
• Conversions from oneNumber System to other http://improvec.blogspot.in/ 4
• Conversion from decimal to binary The integer and fractional parts of the decimal number are dealt separately. The decimal number is divided by 2 successively. http://improvec.blogspot.in/ 5
• Conversion of decimal to binary The quotient and remainder are noted down at each stage. The present quotient is again divided by 2 and repeat the above step. This process is repeated until the quotient becomes 0. http://improvec.blogspot.in/ 6
• Conversion from decimal to binaryInteger part: Divide the integer part of the given decimal number repeatedly by 2. And write down the remainder after each division. The remainders are then taken in reverse order (bottom to top) to form binary equivalent to the number http://improvec.blogspot.in/ 7
• Fractional part: The fractional part of the given decimal number is multiplied repeatedly by 2, each time recording the carry (integer part). The integers are then taken in forward order (top to bottom) to form the binary equivalent of the number. http://improvec.blogspot.in/ 8
• Fractional part (contd) : This process is continued until the fraction becomes zero (or) until sufficient accuracy is obtained. http://improvec.blogspot.in/ 9
• Convert the decimal number 125 to binary. division 125 remainder 2 62 1 2 23 0 2 15 1 2 7 1 2 3 1 2 1 1 0 1 Thus (125)10 = (1111101)2 http://improvec.blogspot.in/ 10
• Convert the decimal number 0.4375 to binary. Multiplication Product Integral part 0.4375*2 0.8750 0 0.8750*2 1.75 1 0.75*2 1.50 1 0.5*2 1.00 1Taking the integers parts in the forward (top tobottom) gives the binary fraction 0.0111. Thus (0.4375)10= (0.0111)2 http://improvec.blogspot.in/ 11
• Convert the decimal number 17.35 to binary. Division Remainders 2 17 2 8 1 2 4 0 2 2 0 2 1 0 2 0 1 http://improvec.blogspot.in/ 12
• Fractional part:Multiplication Product Integral part 0.35*2 0.70 0 0.70*2 1.40 1 0.40*2 0.80 0 0.80*2 1.60 1 0.60*2 1.20 1 0.20*2 0.40 0 Thus (17.35)10= (10001.010110.......)2 http://improvec.blogspot.in/ 13
• SummaryIn this class, we have learnt about Conversion from decimal numbering system to binary numbering system http://improvec.blogspot.in/ 14
• Frequently Asked Questions1. Explain the procedure to convert a decimal number into binary number?2. Convert the decimal real number 12.625 8 into equivalent binary real number? http://improvec.blogspot.in/ 15
• Quiz:1. The base of binary system is a. 10 b. 2 c. 8 d. 16Answer: b http://improvec.blogspot.in/ 16
• Quiz:2. What is the binary equivalent of 10 a. 1000 b. 1011 c. 1010 d. 1111Answer: c http://improvec.blogspot.in/ 17
• Quiz:3. What is the binary equivalent of 125 a. 1111101 b. 1111001 c. 1101101 d. 1111111Answer: a http://improvec.blogspot.in/ 18