SlideShare a Scribd company logo
1 of 7
Binar y
Understanding Computer Code
What is Binary?
    What computers use to process Data
    Made up of 0’s and 1’s
    BASE 2
      This means that there are only two possible values
       (0/1).
  1 binary digit = 1 bit (the smallest unit of
   information when dealing with computing)
  8 bits = 1 Byte
  0 = OFF
  1 = ON
  Anytime we use numbers in computing, such
   as IP Addresses, we are converting them from
   Binary so they are easy to understand.
What is Decimal?
 What we use everyday as humans
   Easy to read
   15, 88, 102…
 Base 10
   Means: 10 possible values 0 1 2 3 4 5 6 7 8 9
 Used to read IP Addresses: 192.166.15.7
Binary Values
       IP Addresses are 4 Bytes of information
       Each Byte has 8 bits
       Each bit has a special value depending on
        where it is in the order.

                         Bit Values
 128     64      32      16        8       4       2       1
1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
  27      26      25      24      23      22      21      20
Converting Decimal to
Binary
Decimal #                        195
Bit Value     128      64     32 16         8    4    2    1

Value of 2     27      26      25    24    23    22 21 20

Binary
Equivalent
ON/OFF
               1 1 0 0 0011
Add up all the bits that are ON in order to check your answer:
                     128 + 64 + 2 + 1 = 195
Converting Binary to
Decimal
WHAT IS THE DECIMAL VALUE?
Add up all the bits that are ON in order to find the answer:

Decimal #                       109
Bit Value      128     64      32     16     8    4    2       1

Value of 2      27     26      25     24     23   22 21 20

Binary
Equivalent
ON/OFF
               0 1 1 0 1101
Classwork

 Play the Binary Conversion Game
 Try conversions on your own!!!
   Complete the Conversions
    Worksheet.

More Related Content

Similar to Binary

Binary Numbers
Binary NumbersBinary Numbers
Binary Numbersikjsamuel
 
SD & D Representing Positive Numbers
SD & D Representing Positive NumbersSD & D Representing Positive Numbers
SD & D Representing Positive NumbersForrester High School
 
Easy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersEasy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersS Khawaja
 
Lecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfLecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfUmerKhan147799
 
Implementation of character translation integer and floating point values
Implementation of character translation integer and floating point valuesImplementation of character translation integer and floating point values
Implementation of character translation integer and floating point valuesغزالة
 
CO for classroom observation presentation
CO for classroom observation presentationCO for classroom observation presentation
CO for classroom observation presentationchricylmaeleganad
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Datagavhays
 
Student IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.pptStudent IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.pptjohnBronson6
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...JatinJatin30
 
Converting denary binary
Converting denary binaryConverting denary binary
Converting denary binaryysolanki78
 

Similar to Binary (20)

Ipv4 Final
Ipv4 FinalIpv4 Final
Ipv4 Final
 
Number systems
Number systemsNumber systems
Number systems
 
Representation of Positive Numbers
Representation of Positive NumbersRepresentation of Positive Numbers
Representation of Positive Numbers
 
Binary Numbers
Binary NumbersBinary Numbers
Binary Numbers
 
SD & D Representing Positive Numbers
SD & D Representing Positive NumbersSD & D Representing Positive Numbers
SD & D Representing Positive Numbers
 
Digital Electronics Codes.pdf
Digital Electronics Codes.pdfDigital Electronics Codes.pdf
Digital Electronics Codes.pdf
 
Easy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersEasy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for Starters
 
Lecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfLecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdf
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Quantitative Analysis 2
Quantitative Analysis 2Quantitative Analysis 2
Quantitative Analysis 2
 
Binary no
Binary noBinary no
Binary no
 
Implementation of character translation integer and floating point values
Implementation of character translation integer and floating point valuesImplementation of character translation integer and floating point values
Implementation of character translation integer and floating point values
 
CO for classroom observation presentation
CO for classroom observation presentationCO for classroom observation presentation
CO for classroom observation presentation
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Data
 
Binary
BinaryBinary
Binary
 
Student IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.pptStudent IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.ppt
 
Code conversion r006
Code conversion r006Code conversion r006
Code conversion r006
 
Binary codes
Binary codesBinary codes
Binary codes
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 
Converting denary binary
Converting denary binaryConverting denary binary
Converting denary binary
 

More from heidirobison

L26 communication services
L26   communication servicesL26   communication services
L26 communication servicesheidirobison
 
L25 network fundamentals
L25   network fundamentalsL25   network fundamentals
L25 network fundamentalsheidirobison
 
Lesson 8 vocabulary
Lesson 8 vocabularyLesson 8 vocabulary
Lesson 8 vocabularyheidirobison
 
Power point lesson 08
Power point lesson 08Power point lesson 08
Power point lesson 08heidirobison
 
Lesson 7 vocabulary
Lesson 7 vocabularyLesson 7 vocabulary
Lesson 7 vocabularyheidirobison
 
L7 operating system
L7   operating systemL7   operating system
L7 operating systemheidirobison
 
Questions for interviewers worksheet
Questions for interviewers worksheetQuestions for interviewers worksheet
Questions for interviewers worksheetheidirobison
 
Starting the career search
Starting the career searchStarting the career search
Starting the career searchheidirobison
 
Labor laws questions
Labor laws questionsLabor laws questions
Labor laws questionsheidirobison
 
Work place readiness (student instructions)
Work place readiness (student instructions)Work place readiness (student instructions)
Work place readiness (student instructions)heidirobison
 
Candy bar presentation
Candy bar presentationCandy bar presentation
Candy bar presentationheidirobison
 
Power point lesson 20
Power point lesson 20Power point lesson 20
Power point lesson 20heidirobison
 
Power point lesson 19
Power point lesson 19Power point lesson 19
Power point lesson 19heidirobison
 
Review for 6 week assessment
Review for 6 week assessmentReview for 6 week assessment
Review for 6 week assessmentheidirobison
 
Review for quiz lesson 3 5
Review for quiz lesson 3 5Review for quiz lesson 3 5
Review for quiz lesson 3 5heidirobison
 
Lesson 5 vocabulary
Lesson 5 vocabularyLesson 5 vocabulary
Lesson 5 vocabularyheidirobison
 

More from heidirobison (20)

L26 communication services
L26   communication servicesL26   communication services
L26 communication services
 
L25 network fundamentals
L25   network fundamentalsL25   network fundamentals
L25 network fundamentals
 
Lesson 8 vocabulary
Lesson 8 vocabularyLesson 8 vocabulary
Lesson 8 vocabulary
 
Power point lesson 08
Power point lesson 08Power point lesson 08
Power point lesson 08
 
Lesson 7 vocabulary
Lesson 7 vocabularyLesson 7 vocabulary
Lesson 7 vocabulary
 
L7 operating system
L7   operating systemL7   operating system
L7 operating system
 
Questions for interviewers worksheet
Questions for interviewers worksheetQuestions for interviewers worksheet
Questions for interviewers worksheet
 
Starting the career search
Starting the career searchStarting the career search
Starting the career search
 
Osha rules
Osha rulesOsha rules
Osha rules
 
Labor laws questions
Labor laws questionsLabor laws questions
Labor laws questions
 
Work place readiness (student instructions)
Work place readiness (student instructions)Work place readiness (student instructions)
Work place readiness (student instructions)
 
Wpr career search
Wpr   career searchWpr   career search
Wpr career search
 
Candy bar presentation
Candy bar presentationCandy bar presentation
Candy bar presentation
 
Power point lesson 20
Power point lesson 20Power point lesson 20
Power point lesson 20
 
Power point lesson 19
Power point lesson 19Power point lesson 19
Power point lesson 19
 
Week 8 october 22
Week 8 october 22Week 8 october 22
Week 8 october 22
 
Week 7 october 15
Week 7 october 15Week 7 october 15
Week 7 october 15
 
Review for 6 week assessment
Review for 6 week assessmentReview for 6 week assessment
Review for 6 week assessment
 
Review for quiz lesson 3 5
Review for quiz lesson 3 5Review for quiz lesson 3 5
Review for quiz lesson 3 5
 
Lesson 5 vocabulary
Lesson 5 vocabularyLesson 5 vocabulary
Lesson 5 vocabulary
 

Recently uploaded

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Recently uploaded (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Binary

  • 2. What is Binary?  What computers use to process Data  Made up of 0’s and 1’s  BASE 2  This means that there are only two possible values (0/1).  1 binary digit = 1 bit (the smallest unit of information when dealing with computing)  8 bits = 1 Byte  0 = OFF  1 = ON  Anytime we use numbers in computing, such as IP Addresses, we are converting them from Binary so they are easy to understand.
  • 3. What is Decimal?  What we use everyday as humans  Easy to read  15, 88, 102…  Base 10  Means: 10 possible values 0 1 2 3 4 5 6 7 8 9  Used to read IP Addresses: 192.166.15.7
  • 4. Binary Values  IP Addresses are 4 Bytes of information  Each Byte has 8 bits  Each bit has a special value depending on where it is in the order. Bit Values 128 64 32 16 8 4 2 1 1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit 27 26 25 24 23 22 21 20
  • 5. Converting Decimal to Binary Decimal # 195 Bit Value 128 64 32 16 8 4 2 1 Value of 2 27 26 25 24 23 22 21 20 Binary Equivalent ON/OFF 1 1 0 0 0011 Add up all the bits that are ON in order to check your answer: 128 + 64 + 2 + 1 = 195
  • 6. Converting Binary to Decimal WHAT IS THE DECIMAL VALUE? Add up all the bits that are ON in order to find the answer: Decimal # 109 Bit Value 128 64 32 16 8 4 2 1 Value of 2 27 26 25 24 23 22 21 20 Binary Equivalent ON/OFF 0 1 1 0 1101
  • 7. Classwork  Play the Binary Conversion Game  Try conversions on your own!!!  Complete the Conversions Worksheet.