SlideShare a Scribd company logo
B nar y
 i
    In 1854, British mathematician
   George Boole published a paper
 detailing a system of logic that would
 become known as Boolean algebra.

His logical system proved instrumental
   in the development of the binary
        system, particularly in its
implementation in electronic circuitry.
B nar y
 i
A numbering systems that only uses
         two digits. 0 and 1.
Rather than a base ten that we are all
            familiar with.
   Computers use binary to store
   information in a digital format.

 Each digit ( 0 or 1) represents one bit
   Eight bits are equal to one byte.
Bt
 i

 One Binary Digit
 abbreviation is “b”


Can be thought of as one character
     Either a 1 or a 0
B e
 yt

 Eight bits make up one byte
 Abbreviation     “B”
 Combination of 1’s and 0’s
 Can be thought of as one character
                    11101010
ki l obi t

 1024 bits
 Abbreviation   “Kb”
ki l obyt es

 Represented by KB
 Slang “Kilo”
 Is equal to 1024 bytes
 210
megabyt es

 Represented by MB
 Slang “Meg”
 Is equal to 1,000000 bytes
 One million bytes
 220
gi gabyt e

 Represented by GB
 Slang “Gig”
 Equal to 1,000,000,000 Bytes
 One Billion bytes
 230
t er abyt e

 Represented by TB
 Slang “tera”
 Equal to 1,000,000,000,000 Bytes
 One Trillion bytes
 240
pet abyt e

 Represented by PB
 Slang “peta”
 Equal to 1,000,000,000,000,000 Bytes
 One Thousand Trillion bytes
 250
exabyt e

   Represented by EB
   Slang “exa”
   Equal to 1,000,000,000,000,000,000 Bytes
   One Million Trillion bytes
   260
   All printed materialin the world
                                       would use about 5   Exabytes
Think of Binary as light bulbs

that are either ON
   or       Off
One Light bulb represents one
               Bit




All eight of these Light bulbs would represent one byte
1      0      0       0       0   0   0   1




Think of Binary as light bulbs

that are either ON
   or       Off
B nar y Exer ci se
     i
                                           Binary Exercise
 Bit Postion     Bit 8   Bit 7    Bit 6    Bit 5   Bit 4     Bit 3   Bit 2   Bit 1   Total Binary Value
Position Value
                 128      64       32       16       8        4       2        1             255
     if ON
Position Value
                   0       0        0       0        0        0       0        0              0
    if OFF
Turn a Postion
                   1       0        0       0        0        0       0        1
      ON
                                                                                      Here we would
                                                                                           ADD
                                                                                     The Postion Value
Here we bring
 The Postion
    Value
                 128                                                           1            129
   DOWN


           In this incidence our binary Number 10000001 would have a value of 129
     Because Postion 8 is ON Postion 7 is OFF Postion 6 is OFF Position 5 is OFF Position 4 is Off
                        Postion 3 is OFF Postion 2 is OFF and Position 1 is ON.
B nar y
     i
   Figuring Binary.
   Starting on the right going to the left
   The       first        digit will be      1
   The       second       digit will be      2
   The       third        digit will be      4
   The       fourth       digit will be      8
   The       fifth        digit will be      16
   The       sixth        digit will be      32
   The       seventh      digit will be      64
   The       eighth       digit will be      128
B nar y
   i
Base Ten numbers are tabulated
                 Left to Right.
B nar y
   i
Binary numbers are tabulated
                 Right to Left.
Exam e
    pl
10000000
The 1st – 7th digit would be Off
The Eighth digit would be                      On

   The       first           digit will be     1         0
   The       second          digit will be     2         0
   The       third           digit will be     4         0
   The       fourth          digit will be     8         0
   The       fifth           digit will be     16        0
   The       sixth           digit will be     32        0
   The       seventh         digit will be     64        0
   The       eighth          digit will be    128      +128
                                               Add the bits
The value of the number would be        Total 128
Exam e
    pl
10000001
The 1st             digit would be On
The 2nd – 7th digit would be       Off
The Eighth digit would be          On

   The       first           digit will be      1        1
   The       second          digit will be      2        0
   The       third           digit will be      4        0
   The       fourth          digit will be      8        0
   The       fifth           digit will be     16        0
   The       sixth           digit will be     32        0
   The       seventh         digit will be     64        0
   The       eighth          digit will be    128      +128
                                               Add the bits
The value of the number would be        Total 129
Exam e
    pl
10000011
The        1st            digit would be On
The       2nd           digit would be On
The       3rd – 7th digit would be Off
The        Eighth digit would be         On

   The          first        digit will be       1         1
   The          second       digit will be       2         2
   The          third        digit will be       4         0
   The          fourth       digit will be       8         0
   The          fifth        digit will be      16         0
   The          sixth        digit will be      32         0
   The          seventh      digit will be      64         0
   The          eighth       digit will be     128      +128
                                                Add the bits
The value of the number would be        Total   131
Exam e
    pl
10000111
The 1st- 3rd       digit would be On
The 4th – 7th digit would be Off
The Eighth digit would be         On

   The       first           digit will be       1         1
   The       second          digit will be       2         2
   The       third           digit will be       4         4
   The       fourth          digit will be       8         0
   The       fifth           digit will be      16         0
   The       sixth           digit will be      32         0
   The       seventh         digit will be      64         0
   The       eighth          digit will be     128      +128
                                                Add the bits
The value of the number would be        Total   135
Exam e
    pl
11000000
The 1st- 6th             digit would be Off
The 7th                 digit would be On
The 8th                 digit would be On

   The       first           digit will be       1         0
   The       second          digit will be       2         0
   The       third           digit will be       4         0
   The       fourth          digit will be       8         0
   The       fifth           digit will be      16         0
   The       sixth           digit will be      32         0
   The       seventh         digit will be      64        64
   The       eighth          digit will be     128      +128
                                                Add the bits
The value of the number would be        Total   192
192
What is the
 value?
      1      1      0       0       0   0   0   0




   Think of Binary as light bulbs

   that are either ON
      or       Off
Exam e
    pl
11111111
The 1st- 8th            digit would be On

   The       first           digit will be       1            1
   The       second          digit will be       2            2
   The       third           digit will be       4            4
   The       fourth          digit will be       8            8
   The       fifth           digit will be      16        16
   The       sixth           digit will be      32        32
   The       seventh         digit will be      64        64
   The       eighth          digit will be     128      +128
                                                Add the bits
The value of the number would be        Total   255
255
What is the
 value?
   1 1 1                   1       1   1   1   1


  128 64 32 16 8                       4   2   1



  Think of Binary as light bulbs

  that are either ON
     or       Off
U ng C cul at or
  si      al
t o f i gur e
B nar y N ber s
  i         um
First we would open Calculator
Start/All Programs/Accessories/Calculator
From the Calculator go to View and down
To SCIENTIFIC
Scientific
Binary Conversion
 This is the Scientific Calculator
 The next thing we would need to do in select

   BIN for Binary
Binary Conversion
 Next we would enter the Binary number
 For example


          10000000
Binary Conversion
After entering the Binary number we would
  then select the

             Dec   Radio Button
Binary Conversion
We now see the answer to the problem
Is

                    128
Binary Conversion
192
What is the
 value?
     1      1      0       0       0   0   0   0




  Think of Binary as light bulbs

  that are either ON
     or       Off
ICT 1
Deci m t o B nar y
      al    i

 It follows a starightforward method.
 It involves dividing the number to be
  converted, say N by 2 (since binary is in base
  2) until we reach the division of (1/2), also
  making note of all remainders.
Exam e 1: C
      pl        onver t 98
f r om deci m t o bi nar y
             al
 Divide 98 by 2, make note of all the
  remainder.
 Continue dividingquotientsby 2, making
  notes of the remainder.
 Also, note the star beside the last remainder.
Division                      Remainder, R
      98/2 = 49                         R=0
      49/2 = 24                         R=1
      24/2 = 12                         R=0
      12/2 = 6                          R=0
       6/2 = 3                          R=0
       3/2 = 1                          R=1
       1/2 = 0                          R=1

The sequance of remainders going up gives the answer.
Starting from 1*, we have 1100010.
Therefore, 98 in decimals is 1100010 in binary
Exam e 2: C
       pl        onver t 21
 i nt o bi nar y
              Division                         Remainder, R
              21/2 = 10                            R=1
              10/2 = 5                             R=0
               5/2 = 2                             R=1
               2/2 = 1                             R=0
               1/2 = 0                             R=1


Therefore, 21 in decimals is 10101 in binary
B nar y t o deci m
 i                al

 Conversion follows the same steps as decimal
  to binary, except in reverse order.
 We can begin by multiplying 0 x 2 and adding
  1.
 We continue to multiply the numbers in the
  “results” column by 2, and adding the digits
  from left to right in our binary numbers.
Exam e 1: C
      pl        onver t 11101
f r om bi nar y t o deci mal

     Operations                         Result
      0x2+1                                1
      1x2+1                                3
      3x2+1                                7
      7x2+0                               14
      14 x 2 + 1                          29


    Therefore, 11101 in binary is 29 in decimal.

More Related Content

PPT
Binary Arithmetic
PPT
Conversion of number system
PPT
Binary code - Beginning
PPTX
Ascii and Unicode (Character Codes)
PPT
Binary code
PPT
BINARY NUMBER SYSTEM
PPT
binary number system
PPTX
Data representation in computers
Binary Arithmetic
Conversion of number system
Binary code - Beginning
Ascii and Unicode (Character Codes)
Binary code
BINARY NUMBER SYSTEM
binary number system
Data representation in computers

What's hot (20)

PPTX
Logic gates ppt
PPTX
Data Representation
PPTX
Quick tutorial on IEEE 754 FLOATING POINT representation
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
PPTX
Assembly Language and microprocessor
PPTX
Microoperations
PDF
Binary codes
PPT
Decimal to binary number
PPT
Binary to Decimal Conversion
PPT
Digital Logic Design
PPTX
Number system conversion
PPTX
Magnetic Disk
PPTX
Computer ports
PPTX
Convert decimal to binary
PDF
Decoders
PPT
Hexadecimal numbers
PPTX
Number system in Digital Electronics
PPTX
Weighted and Non Weighted Codes
PPTX
IEEE floating point representation
PPTX
Desktop icons
Logic gates ppt
Data Representation
Quick tutorial on IEEE 754 FLOATING POINT representation
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Assembly Language and microprocessor
Microoperations
Binary codes
Decimal to binary number
Binary to Decimal Conversion
Digital Logic Design
Number system conversion
Magnetic Disk
Computer ports
Convert decimal to binary
Decoders
Hexadecimal numbers
Number system in Digital Electronics
Weighted and Non Weighted Codes
IEEE floating point representation
Desktop icons
Ad

Viewers also liked (6)

PPT
Transmission Of Heat
PPTX
Florante at Laura (Aralin 17-22)
DOCX
FLORANTE AT LAURA KABANATA 1 TO 64
PPTX
Florante at Laura Introduction
PDF
Florante at-laura-saknong
PDF
K to 12 - Filipino Learners Module
Transmission Of Heat
Florante at Laura (Aralin 17-22)
FLORANTE AT LAURA KABANATA 1 TO 64
Florante at Laura Introduction
Florante at-laura-saknong
K to 12 - Filipino Learners Module
Ad

Similar to Binary Conversion (20)

PPT
Binary
PPT
Binaryconversion 090715011937-phpapp01
PPTX
Lecture4 binary-numbers-logic-operations
PPT
Sistem bilangan
PDF
Bits, Bytes and Blobs
PDF
Number system
PPT
Computer archi&mp
PPT
Topic 1 Data Representation
PPT
Topic 1 Data Representation
PDF
Binary reference guide csit vn1202
PDF
Digital Electronics – Unit I.pdf
PPTX
Unit 1 PDF.pptx
PPTX
09 binary number systems
PDF
4 technology
PPTX
Lecture 7 Data Representation (1).pptx for computer organization and architec...
PDF
Lecture.1
PPT
Number Systems.ppt
PPT
Various num systems used in digital comp.18to19
PPS
Binary Numbers
Binary
Binaryconversion 090715011937-phpapp01
Lecture4 binary-numbers-logic-operations
Sistem bilangan
Bits, Bytes and Blobs
Number system
Computer archi&mp
Topic 1 Data Representation
Topic 1 Data Representation
Binary reference guide csit vn1202
Digital Electronics – Unit I.pdf
Unit 1 PDF.pptx
09 binary number systems
4 technology
Lecture 7 Data Representation (1).pptx for computer organization and architec...
Lecture.1
Number Systems.ppt
Various num systems used in digital comp.18to19
Binary Numbers

More from Rey Belen (20)

PPT
Inflation
PPTX
Macroeconomic concerns
PPT
Macro basics
PPT
Geographyof China
PPTX
Market Structure
PPT
Price Elasticity Of Supply
PPT
Price Elasticity Of Demand
PDF
Demand Ans Supply
PPT
Demand and supply
PPT
Market supply
PPT
Demand
PPTX
Resources
PPTX
Resources
PPT
Consumption consumer rights
PPT
Our early ancestors
PPT
Hierarchy of needs
PPT
Scarcity, wants, & needs
PPT
Economics and others
PPT
Econ
PPT
Hellenistic Age
Inflation
Macroeconomic concerns
Macro basics
Geographyof China
Market Structure
Price Elasticity Of Supply
Price Elasticity Of Demand
Demand Ans Supply
Demand and supply
Market supply
Demand
Resources
Resources
Consumption consumer rights
Our early ancestors
Hierarchy of needs
Scarcity, wants, & needs
Economics and others
Econ
Hellenistic Age

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Types and Its function , kingdom of life
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Sports Quiz easy sports quiz sports quiz
TR - Agricultural Crops Production NC III.pdf
Anesthesia in Laparoscopic Surgery in India
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
Pre independence Education in Inndia.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Renaissance Architecture: A Journey from Faith to Humanism
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
human mycosis Human fungal infections are called human mycosis..pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Computing-Curriculum for Schools in Ghana

Binary Conversion

  • 1. B nar y i In 1854, British mathematician George Boole published a paper detailing a system of logic that would become known as Boolean algebra. His logical system proved instrumental in the development of the binary system, particularly in its implementation in electronic circuitry.
  • 2. B nar y i A numbering systems that only uses two digits. 0 and 1. Rather than a base ten that we are all familiar with. Computers use binary to store information in a digital format. Each digit ( 0 or 1) represents one bit Eight bits are equal to one byte.
  • 3. Bt i  One Binary Digit  abbreviation is “b” Can be thought of as one character  Either a 1 or a 0
  • 4. B e yt  Eight bits make up one byte  Abbreviation “B”  Combination of 1’s and 0’s  Can be thought of as one character  11101010
  • 5. ki l obi t  1024 bits  Abbreviation “Kb”
  • 6. ki l obyt es  Represented by KB  Slang “Kilo”  Is equal to 1024 bytes  210
  • 7. megabyt es  Represented by MB  Slang “Meg”  Is equal to 1,000000 bytes  One million bytes  220
  • 8. gi gabyt e  Represented by GB  Slang “Gig”  Equal to 1,000,000,000 Bytes  One Billion bytes  230
  • 9. t er abyt e  Represented by TB  Slang “tera”  Equal to 1,000,000,000,000 Bytes  One Trillion bytes  240
  • 10. pet abyt e  Represented by PB  Slang “peta”  Equal to 1,000,000,000,000,000 Bytes  One Thousand Trillion bytes  250
  • 11. exabyt e  Represented by EB  Slang “exa”  Equal to 1,000,000,000,000,000,000 Bytes  One Million Trillion bytes  260  All printed materialin the world would use about 5 Exabytes
  • 12. Think of Binary as light bulbs that are either ON or Off
  • 13. One Light bulb represents one Bit All eight of these Light bulbs would represent one byte
  • 14. 1 0 0 0 0 0 0 1 Think of Binary as light bulbs that are either ON or Off
  • 15. B nar y Exer ci se i Binary Exercise Bit Postion Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Total Binary Value Position Value 128 64 32 16 8 4 2 1 255 if ON Position Value 0 0 0 0 0 0 0 0 0 if OFF Turn a Postion 1 0 0 0 0 0 0 1 ON Here we would ADD The Postion Value Here we bring The Postion Value 128 1 129 DOWN In this incidence our binary Number 10000001 would have a value of 129 Because Postion 8 is ON Postion 7 is OFF Postion 6 is OFF Position 5 is OFF Position 4 is Off Postion 3 is OFF Postion 2 is OFF and Position 1 is ON.
  • 16. B nar y i  Figuring Binary.  Starting on the right going to the left  The first digit will be 1  The second digit will be 2  The third digit will be 4  The fourth digit will be 8  The fifth digit will be 16  The sixth digit will be 32  The seventh digit will be 64  The eighth digit will be 128
  • 17. B nar y i Base Ten numbers are tabulated Left to Right.
  • 18. B nar y i Binary numbers are tabulated Right to Left.
  • 19. Exam e pl 10000000 The 1st – 7th digit would be Off The Eighth digit would be On  The first digit will be 1 0  The second digit will be 2 0  The third digit will be 4 0  The fourth digit will be 8 0  The fifth digit will be 16 0  The sixth digit will be 32 0  The seventh digit will be 64 0  The eighth digit will be 128 +128 Add the bits The value of the number would be Total 128
  • 20. Exam e pl 10000001 The 1st digit would be On The 2nd – 7th digit would be Off The Eighth digit would be On  The first digit will be 1 1  The second digit will be 2 0  The third digit will be 4 0  The fourth digit will be 8 0  The fifth digit will be 16 0  The sixth digit will be 32 0  The seventh digit will be 64 0  The eighth digit will be 128 +128 Add the bits The value of the number would be Total 129
  • 21. Exam e pl 10000011 The 1st digit would be On The 2nd digit would be On The 3rd – 7th digit would be Off The Eighth digit would be On  The first digit will be 1 1  The second digit will be 2 2  The third digit will be 4 0  The fourth digit will be 8 0  The fifth digit will be 16 0  The sixth digit will be 32 0  The seventh digit will be 64 0  The eighth digit will be 128 +128 Add the bits The value of the number would be Total 131
  • 22. Exam e pl 10000111 The 1st- 3rd digit would be On The 4th – 7th digit would be Off The Eighth digit would be On  The first digit will be 1 1  The second digit will be 2 2  The third digit will be 4 4  The fourth digit will be 8 0  The fifth digit will be 16 0  The sixth digit will be 32 0  The seventh digit will be 64 0  The eighth digit will be 128 +128 Add the bits The value of the number would be Total 135
  • 23. Exam e pl 11000000 The 1st- 6th digit would be Off The 7th digit would be On The 8th digit would be On  The first digit will be 1 0  The second digit will be 2 0  The third digit will be 4 0  The fourth digit will be 8 0  The fifth digit will be 16 0  The sixth digit will be 32 0  The seventh digit will be 64 64  The eighth digit will be 128 +128 Add the bits The value of the number would be Total 192
  • 24. 192 What is the value? 1 1 0 0 0 0 0 0 Think of Binary as light bulbs that are either ON or Off
  • 25. Exam e pl 11111111 The 1st- 8th digit would be On  The first digit will be 1 1  The second digit will be 2 2  The third digit will be 4 4  The fourth digit will be 8 8  The fifth digit will be 16 16  The sixth digit will be 32 32  The seventh digit will be 64 64  The eighth digit will be 128 +128 Add the bits The value of the number would be Total 255
  • 26. 255 What is the value? 1 1 1 1 1 1 1 1 128 64 32 16 8 4 2 1 Think of Binary as light bulbs that are either ON or Off
  • 27. U ng C cul at or si al t o f i gur e B nar y N ber s i um First we would open Calculator Start/All Programs/Accessories/Calculator From the Calculator go to View and down To SCIENTIFIC
  • 30.  This is the Scientific Calculator  The next thing we would need to do in select  BIN for Binary
  • 32.  Next we would enter the Binary number  For example 10000000
  • 34. After entering the Binary number we would then select the Dec Radio Button
  • 36. We now see the answer to the problem Is 128
  • 38. 192 What is the value? 1 1 0 0 0 0 0 0 Think of Binary as light bulbs that are either ON or Off
  • 39. ICT 1
  • 40. Deci m t o B nar y al i  It follows a starightforward method.  It involves dividing the number to be converted, say N by 2 (since binary is in base 2) until we reach the division of (1/2), also making note of all remainders.
  • 41. Exam e 1: C pl onver t 98 f r om deci m t o bi nar y al  Divide 98 by 2, make note of all the remainder.  Continue dividingquotientsby 2, making notes of the remainder.  Also, note the star beside the last remainder.
  • 42. Division Remainder, R 98/2 = 49 R=0 49/2 = 24 R=1 24/2 = 12 R=0 12/2 = 6 R=0 6/2 = 3 R=0 3/2 = 1 R=1 1/2 = 0 R=1 The sequance of remainders going up gives the answer. Starting from 1*, we have 1100010. Therefore, 98 in decimals is 1100010 in binary
  • 43. Exam e 2: C pl onver t 21 i nt o bi nar y Division Remainder, R 21/2 = 10 R=1 10/2 = 5 R=0 5/2 = 2 R=1 2/2 = 1 R=0 1/2 = 0 R=1 Therefore, 21 in decimals is 10101 in binary
  • 44. B nar y t o deci m i al  Conversion follows the same steps as decimal to binary, except in reverse order.  We can begin by multiplying 0 x 2 and adding 1.  We continue to multiply the numbers in the “results” column by 2, and adding the digits from left to right in our binary numbers.
  • 45. Exam e 1: C pl onver t 11101 f r om bi nar y t o deci mal Operations Result 0x2+1 1 1x2+1 3 3x2+1 7 7x2+0 14 14 x 2 + 1 29 Therefore, 11101 in binary is 29 in decimal.