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

PPTX
PPTX
BCD arithmetic and 16-bit data operations
PDF
BCD to Decimal - Digital Electronics
PDF
What is bcd number system
PPTX
Weighted and Non Weighted Codes
PPT
Int 2 data representation 2010
PPTX
Bcd adder
BCD arithmetic and 16-bit data operations
BCD to Decimal - Digital Electronics
What is bcd number system
Weighted and Non Weighted Codes
Int 2 data representation 2010
Bcd adder

Similar to Binary (20)

PPT
Representation of Positive Numbers
PPT
Representation Of Data
PPTX
The fundamentals of Computer Storage System
PPT
SD & D Representing Positive Numbers
PPTX
09 binary number systems
PPT
Digital Logic Design lec 2 slide.ppt DLD Lec 1.ppt
PPTX
Digital Logic Design.pptx
PPTX
Introduction to binary
PPT
Binaryconversion 090715011937-phpapp01
PPTX
data representation
PDF
Binary reference guide csit vn1202
PPT
01.number systems
DOCX
HexaDecimal-Number-Syatem-Use.-from-computer-science-subject-code-2210.docx
PDF
Easy IP Addressing and Subnetting Manual for Starters
DOC
Chapter 4--Data representation Method.doc
PPTX
Number_systems_for _o_& _A_levels by fari
PPTX
ARCsxfhcjkvmnfxcgbfgcxhvbxdfzxcgbfxgcvbnx3.pptx
PPTX
ELECTRICAL 411 L1 Digital Electronics.pptx
PPT
PPT
2. Computer_Organization_unit_ 1_win.ppt
Representation of Positive Numbers
Representation Of Data
The fundamentals of Computer Storage System
SD & D Representing Positive Numbers
09 binary number systems
Digital Logic Design lec 2 slide.ppt DLD Lec 1.ppt
Digital Logic Design.pptx
Introduction to binary
Binaryconversion 090715011937-phpapp01
data representation
Binary reference guide csit vn1202
01.number systems
HexaDecimal-Number-Syatem-Use.-from-computer-science-subject-code-2210.docx
Easy IP Addressing and Subnetting Manual for Starters
Chapter 4--Data representation Method.doc
Number_systems_for _o_& _A_levels by fari
ARCsxfhcjkvmnfxcgbfgcxhvbxdfzxcgbfxgcvbnx3.pptx
ELECTRICAL 411 L1 Digital Electronics.pptx
2. Computer_Organization_unit_ 1_win.ppt
Ad

More from heidirobison (20)

PPTX
L26 communication services
PPTX
L25 network fundamentals
DOCX
Lesson 8 vocabulary
PPT
Power point lesson 08
DOCX
Lesson 7 vocabulary
PPTX
L7 operating system
DOCX
Questions for interviewers worksheet
DOCX
Starting the career search
DOCX
Osha rules
DOCX
Labor laws questions
DOCX
Work place readiness (student instructions)
PDF
Wpr career search
DOCX
Candy bar presentation
PPT
Power point lesson 20
PPT
Power point lesson 19
PDF
Week 8 october 22
PDF
Week 7 october 15
PDF
Review for 6 week assessment
PDF
Review for quiz lesson 3 5
PDF
Lesson 5 vocabulary
L26 communication services
L25 network fundamentals
Lesson 8 vocabulary
Power point lesson 08
Lesson 7 vocabulary
L7 operating system
Questions for interviewers worksheet
Starting the career search
Osha rules
Labor laws questions
Work place readiness (student instructions)
Wpr career search
Candy bar presentation
Power point lesson 20
Power point lesson 19
Week 8 october 22
Week 7 october 15
Review for 6 week assessment
Review for quiz lesson 3 5
Lesson 5 vocabulary
Ad

Recently uploaded (20)

PDF
Statistics on Ai - sourced from AIPRM.pdf
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PPTX
Microsoft User Copilot Training Slide Deck
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PPTX
Module 1 Introduction to Web Programming .pptx
PPTX
Internet of Everything -Basic concepts details
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PPTX
Configure Apache Mutual Authentication
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Comparative analysis of machine learning models for fake news detection in so...
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
DOCX
Basics of Cloud Computing - Cloud Ecosystem
Statistics on Ai - sourced from AIPRM.pdf
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Microsoft User Copilot Training Slide Deck
Custom Battery Pack Design Considerations for Performance and Safety
Module 1 Introduction to Web Programming .pptx
Internet of Everything -Basic concepts details
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
Configure Apache Mutual Authentication
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
Early detection and classification of bone marrow changes in lumbar vertebrae...
Comparative analysis of machine learning models for fake news detection in so...
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
MuleSoft-Compete-Deck for midddleware integrations
Rapid Prototyping: A lecture on prototyping techniques for interface design
Basics of Cloud Computing - Cloud Ecosystem

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.