Upcoming SlideShare
×

# Dec to bin.20

569 views

Published on

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total views
569
On SlideShare
0
From Embeds
0
Number of Embeds
23
Actions
Shares
0
2
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Dec to bin.20

1. 1. Conversions of decimal to binary number http://improvec.blogspot.in/ 1
2. 2. ObjectiveOn completion of this period, you would beable to know: Conversion of a decimal number to equivalent binary http://improvec.blogspot.in/ 2
3. 3. RecapVarious number systems used in digital computer http://improvec.blogspot.in/ 3
4. 4. Conversions from oneNumber System to other http://improvec.blogspot.in/ 4
5. 5. 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
6. 6. 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
7. 7. 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
8. 8. 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
9. 9. Fractional part (contd) : This process is continued until the fraction becomes zero (or) until sufficient accuracy is obtained. http://improvec.blogspot.in/ 9
10. 10. 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
11. 11. 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
12. 12. 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
13. 13. 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
14. 14. SummaryIn this class, we have learnt about Conversion from decimal numbering system to binary numbering system http://improvec.blogspot.in/ 14
15. 15. 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
16. 16. Quiz:1. The base of binary system is a. 10 b. 2 c. 8 d. 16Answer: b http://improvec.blogspot.in/ 16
17. 17. Quiz:2. What is the binary equivalent of 10 a. 1000 b. 1011 c. 1010 d. 1111Answer: c http://improvec.blogspot.in/ 17
18. 18. Quiz:3. What is the binary equivalent of 125 a. 1111101 b. 1111001 c. 1101101 d. 1111111Answer: a http://improvec.blogspot.in/ 18