Upcoming SlideShare
×

# Decimal to binary number

1,815 views

Published on

Published in: Technology
1 Comment
3 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Learn Secrets That Most People Will Never Know About Binary Options! Access Here! http://tinyurl.com/nfv37kr

Are you sure you want to  Yes  No
Views
Total views
1,815
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
89
1
Likes
3
Embeds 0
No embeds

No notes for slide

### Decimal to binary number

1. 1. Decimal to Binary Number Conversion MS. Douglas, Bsc
2. 2. Revision <ul><li>Binary numbers only have 2 digits and are written in base 2 </li></ul><ul><li>Example; 110 2 </li></ul><ul><li>Decimal numbers have 10 digits and are written in base 10 </li></ul><ul><li>Example 110 10 </li></ul><ul><li>MSB and LSB </li></ul><ul><li>10110 </li></ul>LSB MSB
3. 3. Decimal to Binary Conversion <ul><li>Method: Repeated division by 2 to convert numbers from decimal to binary. </li></ul><ul><li>Convert decimal number 13 10 to a binary number: </li></ul><ul><li>13/ 2 = 6 Reminder 1 </li></ul><ul><li>6 / 2 = 3 Reminder 0 </li></ul><ul><li>3 /2 = 1 Reminder 1 </li></ul><ul><li>1 / 2 = 0 Reminder 1 </li></ul><ul><li>1101 2 </li></ul><ul><li>13 10 is equal to 1101 2 </li></ul>MSB LSB
4. 4. Convert decimal number 20 10 to a binary number. Decimal to Binary Conversion
5. 5. Convert decimal number 25 10 to a binary number. Decimal to Binary Conversion
6. 6. Binary Arithmetic Operations <ul><li>Binary numbers can be </li></ul><ul><li>Added </li></ul><ul><li>Subtracted </li></ul><ul><li>Multiplied </li></ul><ul><li>Divided </li></ul><ul><li>To carry out any of the binary arithmetic operations the rules must be followed </li></ul>
7. 7. The Rules <ul><li>Addition rules </li></ul><ul><li>Subtraction rules </li></ul><ul><li>Multiplication rules </li></ul><ul><li>Division rules </li></ul>
8. 8. Home Work <ul><li>Convert the following decimal numbers to binary numbers. </li></ul><ul><li>35 10 </li></ul><ul><li>29 10 </li></ul><ul><li>50 10 </li></ul><ul><li>10 10 </li></ul><ul><li>16 10 </li></ul>