SlideShare a Scribd company logo
2
Most read
3
Most read
10
Most read
BINARY CONVERSION
What Is Binary ?
Binary is a language written with a combination of ones (1) and zeros (0) that
computers use to carry out commands, inputs, or functions.
Whatever you write onto a computer, a machine inside processes the input and
converts it into binary. It's like using a translator!
Bytes and Bits
In binary, we have bytes and bits which are major components in writing binary.
Bit
:
a single 0 or 1 in a binary number
10100000
Byte: eight bits put
together
10100000
Converting Binary to decimal
Using a chart like this: compared to one like this:
Everywhere there is a “0” that digit is “off”
Everywhere there is a “1” that digit is “on”
0 0 0 0 0 0 1 1
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
0 0 0 1 1
104 103 102 101 100
10000 1000 100 10 1
An Example
Every digit in a binary number represents a power of 2. For example if we were working
with the binary number ‘00001101” we could convert it to decimal with that chart:
0 0 0 0 1 1 0 1
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
Off Off Off Off 8 + 4 + Off 1
=13
Converting Decimal to Binary
Say we want to convert 23 to binary
We would start with all digits in “off” position
Next we find the largest power of two less than 23 and turn that “on”, or put a 1
there
Now we would find the largest power of two less than 23-16 and repeat
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0
128 64 32 16 8
4
2 1
0 0 0 1 0 1 0 0
128 64 32
16 8
4 2
1
0 0 0 1 0 1 1 0
128 64 32 16
8 4 2
1
0 0 0 1 0 1 1 1
128 64 3
2
16 8 4 2 1
Converting
23 to binary:
● Start with all numbers “off”
● Find the biggest power of two less
than 23 turn it on
23 - 16 = 7
● Find the biggest power of two less
than 7 turn it on
7 - 4 = 3
 Find the biggest power of two less
than 3 turn it on
3-2=1
 Turn on 1
What is Hexadecimal?
❖ Similar to binary, but easier to
understand.
❖ It uses sixteen different
symbols, the numbers zero
through nine, and the letters A
through F. Each symbol
represents four bits.
For example: 7FFFD4
Uses of Hexadecimal
❖Represent colors
❖Saves memory, shorter than binary
❖Describes locations in a computer’s
memory
Compare: 1010000011100111110 vs. 5073E
Click here for random color generator!
How to Convert Hexadecimal into Binary
123AE:
1 2 3 A E
How to Convert Hexadecimal into Binary
123AE:
1 2 3 A E
0001 0010 0011 1010 1110
How to Convert Hexadecimal into Binary
123AE:
1 2 3 A E
0001 0010 0011 1010 1110
74670

More Related Content

PPTX
Convert decimal to binary
tcc_joemarie
 
PPTX
Hexadecimal Conversion
Mac Mac
 
PPTX
11 octal number system
Lee Chadwick
 
PPTX
Octal COnversion
Mac Mac
 
PPT
Binary number systems
KULDEEP MATHUR
 
PPTX
Binary to Decimal Conversion
Mac Mac
 
PPT
Binary Arithmetic
gavhays
 
PDF
BINARY SUBTRACTION
UoHCollegeScienceOfComputer
 
Convert decimal to binary
tcc_joemarie
 
Hexadecimal Conversion
Mac Mac
 
11 octal number system
Lee Chadwick
 
Octal COnversion
Mac Mac
 
Binary number systems
KULDEEP MATHUR
 
Binary to Decimal Conversion
Mac Mac
 
Binary Arithmetic
gavhays
 
BINARY SUBTRACTION
UoHCollegeScienceOfComputer
 

What's hot (20)

PPTX
Conversion binary to decimal
Marizza Dizon Magallanes Jimenez
 
PPSX
Basic of number system
Akhilesh Maithani
 
PPTX
1.1.1 BINARY SYSTEM
Buxoo Abdullah
 
PPTX
Decimal to Binary Conversion
Mac Mac
 
PDF
Lecture-2(2): Number System & Conversion
Mubashir Ali
 
PPT
binary number system
vishal gupta
 
PPTX
CCS103 Bits, Bytes, Binary
Richard Homa
 
PPT
Binary to Decimal Conversion
Neelanjan Bhattacharyya
 
PPTX
Number system and its conversions
ShilpaKrishna6
 
PPTX
Number Base Conversion Digital Electronics
Srikrishna Thota
 
PPT
Binary code - Beginning
Debbie Eitner
 
PPT
Binary ppt tr
tomrussso
 
PPTX
Data representation in computers
Hazel Anne Quirao
 
PPTX
Number system computer fundamental
Aman anand kumar
 
PPTX
NUMBER BASE SYSTEM.pptx
OsenagaAirewele
 
PPT
Handycrafts crocheting and tatting
Kenzie Ancheta
 
PPT
Introduction to the Binary Number System
James Hamilton
 
PPTX
Decimal, Binary, Octal, And Hexadecimal number systems.
AOUN ABBAS
 
PDF
Midterm exam-css
Adrian Buban
 
Conversion binary to decimal
Marizza Dizon Magallanes Jimenez
 
Basic of number system
Akhilesh Maithani
 
1.1.1 BINARY SYSTEM
Buxoo Abdullah
 
Decimal to Binary Conversion
Mac Mac
 
Lecture-2(2): Number System & Conversion
Mubashir Ali
 
binary number system
vishal gupta
 
CCS103 Bits, Bytes, Binary
Richard Homa
 
Binary to Decimal Conversion
Neelanjan Bhattacharyya
 
Number system and its conversions
ShilpaKrishna6
 
Number Base Conversion Digital Electronics
Srikrishna Thota
 
Binary code - Beginning
Debbie Eitner
 
Binary ppt tr
tomrussso
 
Data representation in computers
Hazel Anne Quirao
 
Number system computer fundamental
Aman anand kumar
 
NUMBER BASE SYSTEM.pptx
OsenagaAirewele
 
Handycrafts crocheting and tatting
Kenzie Ancheta
 
Introduction to the Binary Number System
James Hamilton
 
Decimal, Binary, Octal, And Hexadecimal number systems.
AOUN ABBAS
 
Midterm exam-css
Adrian Buban
 
Ad

Similar to Binary.ppt (20)

PPT
Binary.ppt
Lyka Gumatay
 
PPTX
Data Representation
Education Front
 
PPTX
Data Representation
Education Front
 
PPTX
Unit 3 Data Representation
Miss Short
 
PPT
Representation Of Data
gavhays
 
PPT
Lec 02 data representation part 1
Abdul Khan
 
PPT
numbers_systems.ppt
Suganthi Vasanth Raj
 
PPT
numbers_systems.ppt
IsfahanAhmed3
 
PPT
numbers_systems.ppt
sulekhasaxena2
 
PPT
numbers_systems.ppt numbers_systems.pptt
anilmallah76
 
PPT
Conversion between various numbers_systems
dradilkhan87
 
PPT
numbers_systems.ppt DIFFERENT NUMBER SYTEMS AND ITS CONVERSIONS
kashinathkodad1
 
PPTX
numbers_systems.pptx
MohammedtajuddinTaju
 
PPT
numbers_systems (1).ppt
YashNaware2
 
DOCX
Number system
Mohit Saini
 
PPT
numbers_systemsThe number system hel.ppt
ishanmishra71
 
PPTX
Lesson4.1 u4 l1 binary representation
Lexume1
 
PDF
As Level Computer Science Book -1
DIGDARSHAN KUNWAR
 
PPTX
Number system by ammar nawab
Ammar_n
 
PPTX
Introduction to binary
Gerrianne Roberts
 
Binary.ppt
Lyka Gumatay
 
Data Representation
Education Front
 
Data Representation
Education Front
 
Unit 3 Data Representation
Miss Short
 
Representation Of Data
gavhays
 
Lec 02 data representation part 1
Abdul Khan
 
numbers_systems.ppt
Suganthi Vasanth Raj
 
numbers_systems.ppt
IsfahanAhmed3
 
numbers_systems.ppt
sulekhasaxena2
 
numbers_systems.ppt numbers_systems.pptt
anilmallah76
 
Conversion between various numbers_systems
dradilkhan87
 
numbers_systems.ppt DIFFERENT NUMBER SYTEMS AND ITS CONVERSIONS
kashinathkodad1
 
numbers_systems.pptx
MohammedtajuddinTaju
 
numbers_systems (1).ppt
YashNaware2
 
Number system
Mohit Saini
 
numbers_systemsThe number system hel.ppt
ishanmishra71
 
Lesson4.1 u4 l1 binary representation
Lexume1
 
As Level Computer Science Book -1
DIGDARSHAN KUNWAR
 
Number system by ammar nawab
Ammar_n
 
Introduction to binary
Gerrianne Roberts
 
Ad

More from Lyka Gumatay (20)

PPTX
Day #1- Kabutihang Panlahat (Elemento ng KP).pptx
Lyka Gumatay
 
PPTX
Day #2- Kabutihang Panlahat (Mga Hadlang sa Pagkamit ng KP).pptx
Lyka Gumatay
 
PPTX
Day #1- Kabutihang Panlahat (Elemento ng KP).pptx
Lyka Gumatay
 
PPTX
Day #3- Kabutihang Panlahat (Kondisyon sa Pagkamit ng KP).pptx
Lyka Gumatay
 
PPTX
Learning Outcome 4.pptx Store meat pptxx
Lyka Gumatay
 
PPTX
PPT FOR dlpTLE 10 Q4.pptx market forms of meat
Lyka Gumatay
 
PPTX
attachment for 2.3.pptx Prepare and use suitable
Lyka Gumatay
 
PPTX
10.3.2.pptx Recipe and procedure in making hollaindaise sauce
Lyka Gumatay
 
PPTX
Plate.pptx plating and garnishing presentation
Lyka Gumatay
 
PPTX
dlp12_attachment.pptx selecting good quality poultry products
Lyka Gumatay
 
PPTX
dlp11_TLE 10 3RD Q.pptx powerpoint presentation
Lyka Gumatay
 
PPTX
dlp13_DIFFERENT CUTS OF POULTRY.pptx1234
Lyka Gumatay
 
PPTX
ATTACHMENT tools, equipment and untensils
Lyka Gumatay
 
PPTX
163444624-Lesson-1-Use-Tools-Equipment-Paraphernalia-in-Caregiving-pptx.pptx
Lyka Gumatay
 
PPTX
9fitness_testing.pptx physical education
Lyka Gumatay
 
PPTX
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pptx
Lyka Gumatay
 
PPT
health9riskprotectivefctrs4drgs-161016192040.ppt
Lyka Gumatay
 
PPTX
632550471-Copy-of-Copy-of-Q3-PPT-HEALTH-9-Dressing-and-Bandages-1-pptx.pptx
Lyka Gumatay
 
PPT
6 The Romantic period powerpoint presentation
Lyka Gumatay
 
PPT
Classical Period.ppt in Greece and Romans
Lyka Gumatay
 
Day #1- Kabutihang Panlahat (Elemento ng KP).pptx
Lyka Gumatay
 
Day #2- Kabutihang Panlahat (Mga Hadlang sa Pagkamit ng KP).pptx
Lyka Gumatay
 
Day #1- Kabutihang Panlahat (Elemento ng KP).pptx
Lyka Gumatay
 
Day #3- Kabutihang Panlahat (Kondisyon sa Pagkamit ng KP).pptx
Lyka Gumatay
 
Learning Outcome 4.pptx Store meat pptxx
Lyka Gumatay
 
PPT FOR dlpTLE 10 Q4.pptx market forms of meat
Lyka Gumatay
 
attachment for 2.3.pptx Prepare and use suitable
Lyka Gumatay
 
10.3.2.pptx Recipe and procedure in making hollaindaise sauce
Lyka Gumatay
 
Plate.pptx plating and garnishing presentation
Lyka Gumatay
 
dlp12_attachment.pptx selecting good quality poultry products
Lyka Gumatay
 
dlp11_TLE 10 3RD Q.pptx powerpoint presentation
Lyka Gumatay
 
dlp13_DIFFERENT CUTS OF POULTRY.pptx1234
Lyka Gumatay
 
ATTACHMENT tools, equipment and untensils
Lyka Gumatay
 
163444624-Lesson-1-Use-Tools-Equipment-Paraphernalia-in-Caregiving-pptx.pptx
Lyka Gumatay
 
9fitness_testing.pptx physical education
Lyka Gumatay
 
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pptx
Lyka Gumatay
 
health9riskprotectivefctrs4drgs-161016192040.ppt
Lyka Gumatay
 
632550471-Copy-of-Copy-of-Q3-PPT-HEALTH-9-Dressing-and-Bandages-1-pptx.pptx
Lyka Gumatay
 
6 The Romantic period powerpoint presentation
Lyka Gumatay
 
Classical Period.ppt in Greece and Romans
Lyka Gumatay
 

Recently uploaded (20)

PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 

Binary.ppt

  • 2. What Is Binary ? Binary is a language written with a combination of ones (1) and zeros (0) that computers use to carry out commands, inputs, or functions. Whatever you write onto a computer, a machine inside processes the input and converts it into binary. It's like using a translator!
  • 3. Bytes and Bits In binary, we have bytes and bits which are major components in writing binary. Bit : a single 0 or 1 in a binary number 10100000 Byte: eight bits put together 10100000
  • 4. Converting Binary to decimal Using a chart like this: compared to one like this: Everywhere there is a “0” that digit is “off” Everywhere there is a “1” that digit is “on” 0 0 0 0 0 0 1 1 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 0 0 0 1 1 104 103 102 101 100 10000 1000 100 10 1
  • 5. An Example Every digit in a binary number represents a power of 2. For example if we were working with the binary number ‘00001101” we could convert it to decimal with that chart: 0 0 0 0 1 1 0 1 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 Off Off Off Off 8 + 4 + Off 1 =13
  • 6. Converting Decimal to Binary Say we want to convert 23 to binary We would start with all digits in “off” position Next we find the largest power of two less than 23 and turn that “on”, or put a 1 there Now we would find the largest power of two less than 23-16 and repeat
  • 7. 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 128 64 32 16 8 4 2 1 0 0 0 1 0 1 0 0 128 64 32 16 8 4 2 1 0 0 0 1 0 1 1 0 128 64 32 16 8 4 2 1 0 0 0 1 0 1 1 1 128 64 3 2 16 8 4 2 1 Converting 23 to binary: ● Start with all numbers “off” ● Find the biggest power of two less than 23 turn it on 23 - 16 = 7 ● Find the biggest power of two less than 7 turn it on 7 - 4 = 3  Find the biggest power of two less than 3 turn it on 3-2=1  Turn on 1
  • 8. What is Hexadecimal? ❖ Similar to binary, but easier to understand. ❖ It uses sixteen different symbols, the numbers zero through nine, and the letters A through F. Each symbol represents four bits. For example: 7FFFD4
  • 9. Uses of Hexadecimal ❖Represent colors ❖Saves memory, shorter than binary ❖Describes locations in a computer’s memory Compare: 1010000011100111110 vs. 5073E Click here for random color generator!
  • 10. How to Convert Hexadecimal into Binary 123AE: 1 2 3 A E
  • 11. How to Convert Hexadecimal into Binary 123AE: 1 2 3 A E 0001 0010 0011 1010 1110
  • 12. How to Convert Hexadecimal into Binary 123AE: 1 2 3 A E 0001 0010 0011 1010 1110 74670