SlideShare a Scribd company logo
BINARY : COUNTING TO 1 Computer Sciences NRHS
Simple Math First … ONES TENS HUNDREDS THOUSANDS X  10 X  10 X  10 BASE 10 3 6 5 9
BASE 10 = TEN DIGITS 1 2 3 4 5 6 7 8 9 0
3659 = ,[object Object],[object Object],[object Object],[object Object],NOTE: Numbers are always broken down from right to left.
Binary… 1 4 8 X  2 X  2 X  2 BASE 2 2 BIT 0 0 0 0
BINARY IS LIKE A LIGHT SWITCH 0 = OFF 1 = ON
What number is this? 1 4 8 Answer: 0 2 0 0 0 0
What number is this? 1 4 8 Answer: 1 2 0 0 0 1
What number is this? 1 4 8 Answer: 2 2 0 0 1 0
What number is this? 1 4 8 Answer: 4 2 0 1 0 0
What number is this? 1 4 8 Answer: 8 2 1 0 0 0
What number is this? 1 4 8 Answer: 9 2 1 0 0 1
What number is this? 1 4 8 Answer: 10 2 1 0 1 0
What number is this? 1 4 8 Answer: 6 2 0 1 1 0
8 Bits = 1 Byte 16 32 64 128 What is the highest possible number in one Byte? 255 8 4 2 1
What number is this? 16 32 64 128 Answer: 170 8 4 2 1 1 0 1 0 1 0 1 0
What number is this? 16 32 64 128 Answer: 85 8 4 2 1 0 1 0 1 0 1 0 1
What number is this? 16 32 64 128 Answer: 217 8 4 2 1 1 1 0 1 1 0 0 1
How do Bytes add up?
CD ROM = up to 900 MB DVD ROM = up to 4.7 GB Average MP3 = 1.5 MB
Converting Binary to Base10
Let’s Start With ½ a Byte  (aka Nibble) How do you know that this number is 13? 8 4 2 1 1 1 0 1
Determine which are “on” and which are “off” First, you ignore the numbers that are turned off. 8 4 2 1 1 1 0 1
Create the Equation Then, you add together the numbers that are turned on. + + + 8 4 2 1 1 1 0 1
Do the Equation The equation is … 8+4+1 = 13 + + + 8 4 2 1 1 1 0 1
Convert from Base10 to Binary How do you find the binary for 14? 8 4 2 1
Start with the Largest Number on the Left Ask: Does 8 go into 14? If YES … put a 1 in that box to turn it “on”. 1 8 4 2 1
Subtract to get the Remainder 14-8=6 1 8 4 2 1
Move to the next largest number Ask: Does 4 go into 6? If YES … put a 1 in that box to turn it “on”. 1 1 8 4 2 1
Subtract to get the Remainder 6-4=2 1 1 8 4 2 1
Move to the next largest number Ask: Does 2 go into 2? If YES … put a 1 in that box to turn it “on”. 1 1 1 8 4 2 1
Subtract to get the Remainder 2-2=0 1 1 1 8 4 2 1
Move to the next largest number Ask: Does 1 go into 0? If NO… put a 0 in that box to turn it “off”. 1 1 1 0 8 4 2 1
Now Let’s Do a Byte 16 32 64 128 What is the first step to find out what binary is for 235? 8 4 2 1
Start with the Largest Number on the Left 16 32 64 128 Does 128 go into 235? 235-128 = 107 YES! Turn 128 “on” 1 8 4 2 1
Move one number to the right 16 32 64 128 Does 64 go into 107? 107-64 = 43 YES! Turn 64“on” 1 1 8 4 2 1
Move one number to the right 16 32 64 128 Does 32 go into 43? 43-32= 11 YES! Turn 32“on” 1 1 1 8 4 2 1
Move one number to the right 16 32 64 128 Does 16 go into 11? 11-16= NO NO! Turn 16 “off” 1 1 1 0 8 4 2 1
Move one number to the right 16 32 64 128 Does 8 go into 11? 11-8= 3 YES! Turn 8 “on” 1 1 1 0 1 8 4 2 1
Move one number to the right 16 32 64 128 Does 4 go into 3? 3-4= NO NO! Turn 4 “off” 1 1 1 0 1 0 8 4 2 1
Move one number to the right 16 32 64 128 Does 2 go into 3? 3-2= 1 YES! Turn 2 “on” 1 1 1 0 1 0 1 8 4 2 1
Move one number to the right 16 32 64 128 Does 1 go into 1? 1-1= 0 YES! Turn 1 “on” 1 1 1 0 1 0 1 1 8 4 2 1
Move one number to the right 16 32 64 128 235 in Binary! 1 1 1 0 1 0 1 1 8 4 2 1
Numbers Larger than 255
How do you get the number 270? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Make a Table 1 32768 16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2
Get Rid of All Numbers Larger than the One You Are Trying To Convert (they become 0s) 1 256 128 64 32 16 8 4 2 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 0

More Related Content

What's hot

Ikan3
Ikan3Ikan3
Divisibility Rules
Divisibility RulesDivisibility Rules
Divisibility Rules
HeatherNeal
 
Binary numbers-7-12-2011
Binary numbers-7-12-2011Binary numbers-7-12-2011
Binary numbers-7-12-2011
Januário Esteves
 
TUTORIAL ON MASTERMIND CODEBREAKING STRATEGY
TUTORIAL ON MASTERMIND CODEBREAKING STRATEGYTUTORIAL ON MASTERMIND CODEBREAKING STRATEGY
TUTORIAL ON MASTERMIND CODEBREAKING STRATEGYMaster Mind Abacus
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
AMIE(I) Study Circle
 
Factors and multiples ppt Class 3
Factors and multiples ppt Class 3Factors and multiples ppt Class 3
Factors and multiples ppt Class 3
ssuser862a42
 
5.2 Numbering systems
5.2 Numbering systems5.2 Numbering systems
5.2 Numbering systemslpapadop
 

What's hot (10)

Ikan3
Ikan3Ikan3
Ikan3
 
Divisibility Rules
Divisibility RulesDivisibility Rules
Divisibility Rules
 
Binary numbers-7-12-2011
Binary numbers-7-12-2011Binary numbers-7-12-2011
Binary numbers-7-12-2011
 
Integers jeopardy
Integers jeopardyIntegers jeopardy
Integers jeopardy
 
Integers jeopardy
Integers jeopardyIntegers jeopardy
Integers jeopardy
 
TUTORIAL ON MASTERMIND CODEBREAKING STRATEGY
TUTORIAL ON MASTERMIND CODEBREAKING STRATEGYTUTORIAL ON MASTERMIND CODEBREAKING STRATEGY
TUTORIAL ON MASTERMIND CODEBREAKING STRATEGY
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 
Math vocab 1
Math vocab 1Math vocab 1
Math vocab 1
 
Factors and multiples ppt Class 3
Factors and multiples ppt Class 3Factors and multiples ppt Class 3
Factors and multiples ppt Class 3
 
5.2 Numbering systems
5.2 Numbering systems5.2 Numbering systems
5.2 Numbering systems
 

Similar to Binary

Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01Abhay kadu
 
09 binary number systems
09   binary number systems09   binary number systems
09 binary number systems
Lee Chadwick
 
Representation of Positive Numbers
Representation of Positive NumbersRepresentation of Positive Numbers
Representation of Positive Numbers
Forrester High School
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Datagavhays
 
Unit 3 Data Representation
Unit 3 Data RepresentationUnit 3 Data Representation
Unit 3 Data Representation
Miss Short
 
Number bases
Number basesNumber bases
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
Edhole.com
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
Edhole.com
 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1
DIGDARSHAN KUNWAR
 
Number System
Number SystemNumber System
Number System
Pradipta Sarkar
 
Parallel adders
Parallel addersParallel adders
Parallel adders
sana younas
 
Multiplying-and-Dividing-Decimals.ppt
Multiplying-and-Dividing-Decimals.pptMultiplying-and-Dividing-Decimals.ppt
Multiplying-and-Dividing-Decimals.ppt
RoseAnnStaAna5
 
Multiplying and dividing decimals
Multiplying and dividing decimalsMultiplying and dividing decimals
Multiplying and dividing decimals
Richa Mittal
 
Binary
BinaryBinary
Binary
ALI RAZA
 
Ncp computer appls num sys1 pramod
Ncp computer appls  num sys1 pramodNcp computer appls  num sys1 pramod
Ncp computer appls num sys1 pramod
NCP
 
Introduction to binary
Introduction to binaryIntroduction to binary
Introduction to binary
Gerrianne Roberts
 
Number system
Number systemNumber system
Number system
Mohit Saini
 
L 14 birds come ,birds go
L 14 birds come ,birds goL 14 birds come ,birds go
L 14 birds come ,birds go
Suphia Sultana
 

Similar to Binary (20)

Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01Binaryconversion 090715011937-phpapp01
Binaryconversion 090715011937-phpapp01
 
09 binary number systems
09   binary number systems09   binary number systems
09 binary number systems
 
Representation of Positive Numbers
Representation of Positive NumbersRepresentation of Positive Numbers
Representation of Positive Numbers
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Data
 
Unit 3 Data Representation
Unit 3 Data RepresentationUnit 3 Data Representation
Unit 3 Data Representation
 
Number bases
Number basesNumber bases
Number bases
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1
 
Number System
Number SystemNumber System
Number System
 
12.1
12.112.1
12.1
 
Parallel adders
Parallel addersParallel adders
Parallel adders
 
Multiplying-and-Dividing-Decimals.ppt
Multiplying-and-Dividing-Decimals.pptMultiplying-and-Dividing-Decimals.ppt
Multiplying-and-Dividing-Decimals.ppt
 
Multiplying and dividing decimals
Multiplying and dividing decimalsMultiplying and dividing decimals
Multiplying and dividing decimals
 
Binary
BinaryBinary
Binary
 
Ncp computer appls num sys1 pramod
Ncp computer appls  num sys1 pramodNcp computer appls  num sys1 pramod
Ncp computer appls num sys1 pramod
 
Introduction to binary
Introduction to binaryIntroduction to binary
Introduction to binary
 
Number system
Number systemNumber system
Number system
 
L 14 birds come ,birds go
L 14 birds come ,birds goL 14 birds come ,birds go
L 14 birds come ,birds go
 
01 intro
01 intro01 intro
01 intro
 

Recently uploaded

PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Reflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPointReflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPoint
amberjdewit93
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
MERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDFMERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDF
scholarhattraining
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 

Recently uploaded (20)

PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Reflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPointReflective and Evaluative Practice PowerPoint
Reflective and Evaluative Practice PowerPoint
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
MERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDFMERN Stack Developer Roadmap By ScholarHat PDF
MERN Stack Developer Roadmap By ScholarHat PDF
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 

Binary

  • 1. BINARY : COUNTING TO 1 Computer Sciences NRHS
  • 2. Simple Math First … ONES TENS HUNDREDS THOUSANDS X 10 X 10 X 10 BASE 10 3 6 5 9
  • 3. BASE 10 = TEN DIGITS 1 2 3 4 5 6 7 8 9 0
  • 4.
  • 5. Binary… 1 4 8 X 2 X 2 X 2 BASE 2 2 BIT 0 0 0 0
  • 6. BINARY IS LIKE A LIGHT SWITCH 0 = OFF 1 = ON
  • 7. What number is this? 1 4 8 Answer: 0 2 0 0 0 0
  • 8. What number is this? 1 4 8 Answer: 1 2 0 0 0 1
  • 9. What number is this? 1 4 8 Answer: 2 2 0 0 1 0
  • 10. What number is this? 1 4 8 Answer: 4 2 0 1 0 0
  • 11. What number is this? 1 4 8 Answer: 8 2 1 0 0 0
  • 12. What number is this? 1 4 8 Answer: 9 2 1 0 0 1
  • 13. What number is this? 1 4 8 Answer: 10 2 1 0 1 0
  • 14. What number is this? 1 4 8 Answer: 6 2 0 1 1 0
  • 15. 8 Bits = 1 Byte 16 32 64 128 What is the highest possible number in one Byte? 255 8 4 2 1
  • 16. What number is this? 16 32 64 128 Answer: 170 8 4 2 1 1 0 1 0 1 0 1 0
  • 17. What number is this? 16 32 64 128 Answer: 85 8 4 2 1 0 1 0 1 0 1 0 1
  • 18. What number is this? 16 32 64 128 Answer: 217 8 4 2 1 1 1 0 1 1 0 0 1
  • 19. How do Bytes add up?
  • 20. CD ROM = up to 900 MB DVD ROM = up to 4.7 GB Average MP3 = 1.5 MB
  • 22. Let’s Start With ½ a Byte (aka Nibble) How do you know that this number is 13? 8 4 2 1 1 1 0 1
  • 23. Determine which are “on” and which are “off” First, you ignore the numbers that are turned off. 8 4 2 1 1 1 0 1
  • 24. Create the Equation Then, you add together the numbers that are turned on. + + + 8 4 2 1 1 1 0 1
  • 25. Do the Equation The equation is … 8+4+1 = 13 + + + 8 4 2 1 1 1 0 1
  • 26. Convert from Base10 to Binary How do you find the binary for 14? 8 4 2 1
  • 27. Start with the Largest Number on the Left Ask: Does 8 go into 14? If YES … put a 1 in that box to turn it “on”. 1 8 4 2 1
  • 28. Subtract to get the Remainder 14-8=6 1 8 4 2 1
  • 29. Move to the next largest number Ask: Does 4 go into 6? If YES … put a 1 in that box to turn it “on”. 1 1 8 4 2 1
  • 30. Subtract to get the Remainder 6-4=2 1 1 8 4 2 1
  • 31. Move to the next largest number Ask: Does 2 go into 2? If YES … put a 1 in that box to turn it “on”. 1 1 1 8 4 2 1
  • 32. Subtract to get the Remainder 2-2=0 1 1 1 8 4 2 1
  • 33. Move to the next largest number Ask: Does 1 go into 0? If NO… put a 0 in that box to turn it “off”. 1 1 1 0 8 4 2 1
  • 34. Now Let’s Do a Byte 16 32 64 128 What is the first step to find out what binary is for 235? 8 4 2 1
  • 35. Start with the Largest Number on the Left 16 32 64 128 Does 128 go into 235? 235-128 = 107 YES! Turn 128 “on” 1 8 4 2 1
  • 36. Move one number to the right 16 32 64 128 Does 64 go into 107? 107-64 = 43 YES! Turn 64“on” 1 1 8 4 2 1
  • 37. Move one number to the right 16 32 64 128 Does 32 go into 43? 43-32= 11 YES! Turn 32“on” 1 1 1 8 4 2 1
  • 38. Move one number to the right 16 32 64 128 Does 16 go into 11? 11-16= NO NO! Turn 16 “off” 1 1 1 0 8 4 2 1
  • 39. Move one number to the right 16 32 64 128 Does 8 go into 11? 11-8= 3 YES! Turn 8 “on” 1 1 1 0 1 8 4 2 1
  • 40. Move one number to the right 16 32 64 128 Does 4 go into 3? 3-4= NO NO! Turn 4 “off” 1 1 1 0 1 0 8 4 2 1
  • 41. Move one number to the right 16 32 64 128 Does 2 go into 3? 3-2= 1 YES! Turn 2 “on” 1 1 1 0 1 0 1 8 4 2 1
  • 42. Move one number to the right 16 32 64 128 Does 1 go into 1? 1-1= 0 YES! Turn 1 “on” 1 1 1 0 1 0 1 1 8 4 2 1
  • 43. Move one number to the right 16 32 64 128 235 in Binary! 1 1 1 0 1 0 1 1 8 4 2 1
  • 45.
  • 46. Make a Table 1 32768 16384 8192 4096 2048 1024 512 256 128 64 32 16 8 4 2
  • 47. Get Rid of All Numbers Larger than the One You Are Trying To Convert (they become 0s) 1 256 128 64 32 16 8 4 2 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 0