0% found this document useful (0 votes)
18 views

Convert Decimal To Binary Sunday Class

This document provides instructions for converting between decimal and binary numbers. It explains that to convert a decimal number to binary, you repeatedly divide the number by 2 and write down the remainders with the least significant bit first. Similarly, to convert a binary number to decimal, you multiply each bit by powers of 2 and sum the results. Examples are provided of converting 156 decimal to binary and 1101 binary to decimal. The document concludes with an activity where students work in groups to practice additional conversions.

Uploaded by

Laila Hammad
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Convert Decimal To Binary Sunday Class

This document provides instructions for converting between decimal and binary numbers. It explains that to convert a decimal number to binary, you repeatedly divide the number by 2 and write down the remainders with the least significant bit first. Similarly, to convert a binary number to decimal, you multiply each bit by powers of 2 and sum the results. Examples are provided of converting 156 decimal to binary and 1101 binary to decimal. The document concludes with an activity where students work in groups to practice additional conversions.

Uploaded by

Laila Hammad
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Convert Decimal To Binary

Teacher : Laila hammad


Grade : 8th H
• Students should be able to :
• Convert Decimal Number to it’s equivalent Binary number .
• Convert Binary Number to it’s equivalent Decimal number .
Converting Decimal number to Binary
number :
To convert a number from decimal system (base 10) to binary system
(base 2) follow the steps below :
• Divide the number by the base ( which is 2 ).
• Get the integer quotient for the next step.
• Get the remainder by multiplying by the base ( which is 2 ).
• Repeat the steps until the quotient is equal to 0.
• Now the sequence of remainders is the binary equivalent , where the
first remainder is the LSB ( Least significant bit ) and the Last
Remainder is the MSB (Most significant bit) .
Example : Convert 156 (10) to it’s Binary equivalent
27 26 25 24 23 22 21 20
1 0 0 1 1 1 0 0
LSB
165 ÷ 2 = 78 remainder is 0  0 X 2 = 0
78 ÷ 2 = 39 remainder is 0  0 X 2 = 0
39 ÷ 2 = 19.5 remainder is 0.5  0.5 X 2 = 1
19 ÷ 2 = 9.5 remainder is 0.5  0.5 X 2 = 1
9 ÷ 2 = 4.5 remainder is 0.5  0.5 X 2 = 1
4 ÷ 2 = 2 remainder is 0  0 X 2 = 0
2 ÷ 2 = 1 remainder is 0  0 X 2 = 0
1 ÷ 2 = 0.5 remainder is 0.5  0.5 X 2 = 1
MSB
Question :

What if I asked you to convert the number


450(10) to it’s binary equivalent on apiece of
paper ?
How many bits you are going to use ?

• 4 bits
• 5 bits
• 8 bits
• 9 bits
• Give it a try ..
• On paper work on converting 450(10)
Into it’s binary equivalent .

The answer is : 111000010(2)


Activity Time
• In groups of 4-3 students , each group will get a question
paper .
• The student with the yellow stick starts , then Red stick ,
then green stick , then blue stick .
• each student will work on one example in the question
paper , and show their work to their partners on the paper .
• calculators are allowed but work must be shown on the
paper.
• Once the student is done , partners greet her then next
student starts .
• Each students has 2 mins to complete the Activity .
• Always Be ready to help your colleague .
Just to make sure we get it :
• Who starts first ?
• Student with the yellow stick then Student with the red stick then Student with
the green stick then Student with the blue stick .
• Do you need to show your work on the paper ?
• Yes
• Is calculator allowed ?
• Yes . But work must be shown on the paper .
• Can I help my colleague if needed ?
• Yes
• What do I say to my friend when she’s done ?
• Thank you
• How much time to finish the whole paper ?
• 3 mins
• Check your answers 
Now let’s work binary to decimal
Converting Binary Numbers to Decimal Numbers :
• Step 1: Multiply each digit starting from the rightmost digit by the
powers of 2. Here, we start with 20 and increase the exponent by 1 as
we move onto the left side.
• Step 2: The sum of all these values obtained for each digit gives the
equivalent value of the given binary number in the decimal system.
Example 1 : Convert 1101(2)
23 22 21 20

1 1 0 1

= 1 X 2 3 + 1 X 2 2 + 0 X 2 1 + 1 X 20
=8+4+0+1
= 13(10)
Ready to try ?

28 27 26 25 24 23 22 21 20

1 1 0 0 1 0 1 1 1

The Decimal equivalent to the binary number above is : 407(10)


Activity Time
• In groups of 4-3 students , each group will get a question
paper .
• The student with the yellow stick starts , then Red stick ,
then green stick , then blue stick .
• each student will work on one example in the question
paper , and show their work to their partners on the paper .
• calculators are allowed but work must be shown on the
paper.
• Once the student is done , partners greet her then next
student starts .
• Each group has 3 mins to complete Activity .
• Always Be ready to help your colleague .

You might also like