SlideShare a Scribd company logo
1 of 47
Binary Conversion.
Binary
In 1854, British mathematicianIn 1854, British mathematician
George BooleGeorge Boole published a paperpublished a paper
detailing a system of logic that woulddetailing a system of logic that would
become known asbecome known as Boolean algebraBoolean algebra..
His logical system proved instrumentalHis logical system proved instrumental
in the development of the binaryin the development of the binary
system, particularly in itssystem, particularly in its
implementation in electronic circuitry.implementation in electronic circuitry.
Binary
A numbering systems that only usesA numbering systems that only uses
two digits.two digits. 00 andand 11..
Rather than a base ten that we are allRather than a base ten that we are all
familiar with.familiar with.
Computers use binary to storeComputers use binary to store
information in a digital format.information in a digital format.
Each digit (Each digit ( 00 oror 11) represents one bit) represents one bit
Eight bits are equal to one byte.Eight bits are equal to one byte.
Bit
 One Binary Digit
 abbreviation is “b”
Can be thought of as one character
 Either a 1 or a 0
Byte
 Eight bits make up one byte
 Abbreviation “B”
 Combination of 1’s and 0’s
 Can be thought of as one character
11101010
kilobit
1024 bits
 Abbreviation “Kb”
kilobytes
 Represented by KB
 Slang “Kilo”
 Is equal to 1024 bytes
 210
megabytes
 Represented by MB
 Slang “Meg”
 Is equal to 1,000000 bytes
 One million bytes
 220
gigabyte
 Represented by GB
 Slang “Gig”
 Equal to 1,000,000,000 Bytes
 One Billion bytes
 230
terabyte
 Represented by TB
 Slang “tera”
 Equal to 1,000,000,000,000 Bytes
 One Trillion bytes
 240
petabyte
 Represented by PB
 Slang “peta”
 Equal to 1,000,000,000,000,000 Bytes
 One Thousand Trillion bytes
 250
exabyte
 Represented by EB
 Slang “exa”
 Equal to 1,000,000,000,000,000,000 Bytes
 One Million Trillion bytes
 260
 Allprintedmaterialintheworld
would use about 5 Exabytes
Think of Binary as light bulbs
that are either ON
or Off
All eight of these Light bulbs would represent one byte
One Light bulb represents oneOne Light bulb represents one
BitBit
Think of Binary as light bulbs
that are either ON
or Off
11 00 00 00 00 00 00 1111 00
Binary ExerciseBinary Exercise
Bit Postion Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Total Binary Value
Position Value
if ON
128 64 32 16 8 4 2 1 255
Position Value
if OFF
0 0 0 0 0 0 0 0 0
Turn a Postion
ON
1 0 0 0 0 0 0 1
Here we would
ADD
The Postion Value
Here we bring
The Postion
Value
DOWN
128 1 129
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.
Binary Exercise
Binary
 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
Binary
Base Ten numbers are tabulated
Left to Right.
Binary
Binary numbers are tabulated
Right to Left.
Example
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
Example
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
Example
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
Example
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
Example
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
Think of Binary as light bulbs
that are either ON
or Off
11 11 00 00 00 00 00 00
What is theWhat is the
value?value?
192192
Example
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
Think of Binary as light bulbs
that are either ON
or Off
11 11 11 11 11 11 11 11
What is theWhat is the
value?value?
255255
128128 6464 3232 1616 88 44 22 11
Using Calculator
to figure
Binary Numbers
First we would open Calculator
Start/All Programs/Accessories/Calculator
From the Calculator go to View and down
To SCIENTIFIC
Scientific
 This is the Scientific Calculator
 The next thing we would need to do in select
 BIN for Binary
 Next we would enter the Binary number
 For example
10000000
After entering the Binary number we would
then select the
Dec Radio Button
We now see the answer to the problem
Is
128
Think of Binary as light bulbs
that are either ON
or Off
11 11 00 00 00 00 00 00
What is theWhat is the
value?value?
192192
ICT 1
Decimal to Binary
 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.
Example 1: Convert 98 from
decimal to binary
 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
Example 2: Convert 21 into
binary
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
Binary to decimal
 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.
Example 1: Convert 11101
from binary to decimal
Operations Result
0 x 2 + 1 1
1 x 2 + 1 3
3 x 2 + 1 7
7 x 2 + 0 14
14 x 2 + 1 29
Therefore, 11101 in binary is 29 in decimal.
Binary Conversion Guide

More Related Content

What's hot

How computers represent data
How computers represent dataHow computers represent data
How computers represent dataShaon Ahmed
 
Mrs. Noland's Binary System ppt
Mrs. Noland's Binary System pptMrs. Noland's Binary System ppt
Mrs. Noland's Binary System pptdsparone
 
SD & D Representing Positive Numbers
SD & D Representing Positive NumbersSD & D Representing Positive Numbers
SD & D Representing Positive NumbersForrester High School
 
Binary ppt tr
Binary ppt trBinary ppt tr
Binary ppt trtomrussso
 
Binary numbers
Binary numbersBinary numbers
Binary numbersatcnerd
 
September 9, 2014
September 9, 2014September 9, 2014
September 9, 2014khyps13
 
C1: Whole Numbers
C1: Whole NumbersC1: Whole Numbers
C1: Whole Numbersrey castro
 
Chapter 1 addition and subtraction of whole numbers
Chapter 1 addition and subtraction of whole numbersChapter 1 addition and subtraction of whole numbers
Chapter 1 addition and subtraction of whole numbersrey castro
 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - BeginningDebbie Eitner
 

What's hot (14)

How computers represent data
How computers represent dataHow computers represent data
How computers represent data
 
Number system
Number systemNumber system
Number system
 
Twos complement
Twos complementTwos complement
Twos complement
 
Representation of Positive Numbers
Representation of Positive NumbersRepresentation of Positive Numbers
Representation of Positive Numbers
 
Mrs. Noland's Binary System ppt
Mrs. Noland's Binary System pptMrs. Noland's Binary System ppt
Mrs. Noland's Binary System ppt
 
SD & D Representing Positive Numbers
SD & D Representing Positive NumbersSD & D Representing Positive Numbers
SD & D Representing Positive Numbers
 
Binary ppt tr
Binary ppt trBinary ppt tr
Binary ppt tr
 
Binary numbers
Binary numbersBinary numbers
Binary numbers
 
September 9, 2014
September 9, 2014September 9, 2014
September 9, 2014
 
C1: Whole Numbers
C1: Whole NumbersC1: Whole Numbers
C1: Whole Numbers
 
Chapter 1 addition and subtraction of whole numbers
Chapter 1 addition and subtraction of whole numbersChapter 1 addition and subtraction of whole numbers
Chapter 1 addition and subtraction of whole numbers
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Binary code - Beginning
Binary code - BeginningBinary code - Beginning
Binary code - Beginning
 
Chapter#6
Chapter#6Chapter#6
Chapter#6
 

Viewers also liked

Efficiency of newer generation preadjusted edgewise appliances
Efficiency of newer generation preadjusted edgewise appliances Efficiency of newer generation preadjusted edgewise appliances
Efficiency of newer generation preadjusted edgewise appliances Indian dental academy
 
Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...
Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...
Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...Indian dental academy
 
Efficiency of newer generation edge wise applience /certified fixed orthodont...
Efficiency of newer generation edge wise applience /certified fixed orthodont...Efficiency of newer generation edge wise applience /certified fixed orthodont...
Efficiency of newer generation edge wise applience /certified fixed orthodont...Indian dental academy
 
Adjuncts in straight wire technique /certified fixed orthodontic courses by ...
Adjuncts in straight wire technique  /certified fixed orthodontic courses by ...Adjuncts in straight wire technique  /certified fixed orthodontic courses by ...
Adjuncts in straight wire technique /certified fixed orthodontic courses by ...Indian dental academy
 
Preadjusted edgewise techniques /certified fixed orthodontic courses by India...
Preadjusted edgewise techniques /certified fixed orthodontic courses by India...Preadjusted edgewise techniques /certified fixed orthodontic courses by India...
Preadjusted edgewise techniques /certified fixed orthodontic courses by India...Indian dental academy
 

Viewers also liked (7)

Efficiency of newer generation preadjusted edgewise appliances
Efficiency of newer generation preadjusted edgewise appliances Efficiency of newer generation preadjusted edgewise appliances
Efficiency of newer generation preadjusted edgewise appliances
 
Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...
Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...
Bonding in orthodontics /certified fixed orthodontic courses by Indian dental...
 
Efficiency of newer generation edge wise applience /certified fixed orthodont...
Efficiency of newer generation edge wise applience /certified fixed orthodont...Efficiency of newer generation edge wise applience /certified fixed orthodont...
Efficiency of newer generation edge wise applience /certified fixed orthodont...
 
Adjuncts in straight wire technique /certified fixed orthodontic courses by ...
Adjuncts in straight wire technique  /certified fixed orthodontic courses by ...Adjuncts in straight wire technique  /certified fixed orthodontic courses by ...
Adjuncts in straight wire technique /certified fixed orthodontic courses by ...
 
Brackets in orthodontics
Brackets in orthodonticsBrackets in orthodontics
Brackets in orthodontics
 
Preadjusted edgewise techniques /certified fixed orthodontic courses by India...
Preadjusted edgewise techniques /certified fixed orthodontic courses by India...Preadjusted edgewise techniques /certified fixed orthodontic courses by India...
Preadjusted edgewise techniques /certified fixed orthodontic courses by India...
 
Orthodontic brackets
Orthodontic brackets   Orthodontic brackets
Orthodontic brackets
 

Similar to Binary Conversion Guide (20)

Binary Conversion
Binary ConversionBinary Conversion
Binary Conversion
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Binary
BinaryBinary
Binary
 
Binary, Decimal and Hexadecimal
Binary, Decimal and HexadecimalBinary, Decimal and Hexadecimal
Binary, Decimal and Hexadecimal
 
Ch 4
Ch 4Ch 4
Ch 4
 
Cit 1101 lec 02
Cit 1101 lec 02Cit 1101 lec 02
Cit 1101 lec 02
 
Introduction to Computing
Introduction to ComputingIntroduction to Computing
Introduction to Computing
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Data
 
Representation of Negative Numbers
Representation of Negative NumbersRepresentation of Negative Numbers
Representation of Negative Numbers
 
Number bases
Number basesNumber bases
Number bases
 
Number system
Number systemNumber system
Number system
 
09 binary number systems
09   binary number systems09   binary number systems
09 binary number systems
 
Chapter two FHI.pptx
Chapter two FHI.pptxChapter two FHI.pptx
Chapter two FHI.pptx
 
Number system
Number systemNumber system
Number system
 
Number System
Number SystemNumber System
Number System
 
Data types
Data typesData types
Data types
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
 
chap1.pdf
chap1.pdfchap1.pdf
chap1.pdf
 
chap1.pdf
chap1.pdfchap1.pdf
chap1.pdf
 
chap1.pdf
chap1.pdfchap1.pdf
chap1.pdf
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

Binary Conversion Guide

  • 2. Binary In 1854, British mathematicianIn 1854, British mathematician George BooleGeorge Boole published a paperpublished a paper detailing a system of logic that woulddetailing a system of logic that would become known asbecome known as Boolean algebraBoolean algebra.. His logical system proved instrumentalHis logical system proved instrumental in the development of the binaryin the development of the binary system, particularly in itssystem, particularly in its implementation in electronic circuitry.implementation in electronic circuitry.
  • 3. Binary A numbering systems that only usesA numbering systems that only uses two digits.two digits. 00 andand 11.. Rather than a base ten that we are allRather than a base ten that we are all familiar with.familiar with. Computers use binary to storeComputers use binary to store information in a digital format.information in a digital format. Each digit (Each digit ( 00 oror 11) represents one bit) represents one bit Eight bits are equal to one byte.Eight bits are equal to one byte.
  • 4. Bit  One Binary Digit  abbreviation is “b” Can be thought of as one character  Either a 1 or a 0
  • 5. Byte  Eight bits make up one byte  Abbreviation “B”  Combination of 1’s and 0’s  Can be thought of as one character 11101010
  • 7. kilobytes  Represented by KB  Slang “Kilo”  Is equal to 1024 bytes  210
  • 8. megabytes  Represented by MB  Slang “Meg”  Is equal to 1,000000 bytes  One million bytes  220
  • 9. gigabyte  Represented by GB  Slang “Gig”  Equal to 1,000,000,000 Bytes  One Billion bytes  230
  • 10. terabyte  Represented by TB  Slang “tera”  Equal to 1,000,000,000,000 Bytes  One Trillion bytes  240
  • 11. petabyte  Represented by PB  Slang “peta”  Equal to 1,000,000,000,000,000 Bytes  One Thousand Trillion bytes  250
  • 12. exabyte  Represented by EB  Slang “exa”  Equal to 1,000,000,000,000,000,000 Bytes  One Million Trillion bytes  260  Allprintedmaterialintheworld would use about 5 Exabytes
  • 13. Think of Binary as light bulbs that are either ON or Off
  • 14. All eight of these Light bulbs would represent one byte One Light bulb represents oneOne Light bulb represents one BitBit
  • 15. Think of Binary as light bulbs that are either ON or Off 11 00 00 00 00 00 00 1111 00
  • 16. Binary ExerciseBinary Exercise Bit Postion Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Total Binary Value Position Value if ON 128 64 32 16 8 4 2 1 255 Position Value if OFF 0 0 0 0 0 0 0 0 0 Turn a Postion ON 1 0 0 0 0 0 0 1 Here we would ADD The Postion Value Here we bring The Postion Value DOWN 128 1 129 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. Binary Exercise
  • 17. Binary  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
  • 18. Binary Base Ten numbers are tabulated Left to Right.
  • 19. Binary Binary numbers are tabulated Right to Left.
  • 20. Example 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
  • 21. Example 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
  • 22. Example 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
  • 23. Example 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
  • 24. Example 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
  • 25. Think of Binary as light bulbs that are either ON or Off 11 11 00 00 00 00 00 00 What is theWhat is the value?value? 192192
  • 26. Example 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
  • 27. Think of Binary as light bulbs that are either ON or Off 11 11 11 11 11 11 11 11 What is theWhat is the value?value? 255255 128128 6464 3232 1616 88 44 22 11
  • 28. Using Calculator to figure Binary Numbers First we would open Calculator Start/All Programs/Accessories/Calculator From the Calculator go to View and down To SCIENTIFIC
  • 30.
  • 31.  This is the Scientific Calculator  The next thing we would need to do in select  BIN for Binary
  • 32.
  • 33.  Next we would enter the Binary number  For example 10000000
  • 34.
  • 35. After entering the Binary number we would then select the Dec Radio Button
  • 36.
  • 37. We now see the answer to the problem Is 128
  • 38.
  • 39. Think of Binary as light bulbs that are either ON or Off 11 11 00 00 00 00 00 00 What is theWhat is the value?value? 192192
  • 40. ICT 1
  • 41. Decimal to Binary  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.
  • 42. Example 1: Convert 98 from decimal to binary  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.
  • 43. 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
  • 44. Example 2: Convert 21 into binary 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
  • 45. Binary to decimal  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.
  • 46. Example 1: Convert 11101 from binary to decimal Operations Result 0 x 2 + 1 1 1 x 2 + 1 3 3 x 2 + 1 7 7 x 2 + 0 14 14 x 2 + 1 29 Therefore, 11101 in binary is 29 in decimal.