SlideShare a Scribd company logo
What is Binary?
Presented by developerX
BI * NA * RY
Relating to, using, or expressed in system of numerical notation that has 2 rather
than 10 as a base.
What is Binary (Computer Science)
What is Binary (Computer Science)
DEC * I * MAL
Relating to or denoting a system of numbers and arithmetic based on the number
ten, tenth parts, and powers of ten.
Decimal Symbols
0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9
Positional Notation
A system of expressing numbers in which the digits are arranged in succession,
the position of each digit has a place value, and the number is equal to the sum of
the products of each digital by its place value
https://www.merriam-webster.com/dictionary/positional%20notation
What is Binary (Computer Science)
= 116
Decimal System
Binary System
0010111 = (1 * 64) + (1 * 32) + (1 * 16) + (1 * 4) = 116
Alternative:
0010111 = (1 * 2^6) + (1 * 2^5) + ( 1 * 2^4) + (1 * 2^2) = 116
Practice
What numbers are these?
00000111
10100011
01001101
Adding
What is 10010101 + 11110010?
What is 10010101 + 11110010?
10010101 + 11110010 = 128 * 2 + 64 * 1 + 32 * 1 + 16 * 2 + 4 * 1 + 1 * 1
10010101 + 11110010 = 256 + 64 + 32 + 32 + 4 + 1
10010101 + 11110010 = 391
Subtracting
Solve this puzzle
10010101 - 11110010
Translate:
01100111 0110001 0110000
0110001
UTF-8:
Because more special characters
are needed most of the web is
using (87%) UTF-8.
Seeing Binary in Javascript
Binary ---> Decimal
parseInt(‘01001000’, 2) // => 72
Decimal ---> Binary
(45).toString(2)// => '101101'
Binary ---> String
String.fromCodePoint(parseInt('11111010010111110', 2)) // => "💾"
String ---> Binary
"💾".codePointAt().toString(2) //=> ‘11111010010111110’
Questions?
Thank you for learning about Binary
Ad

Recommended

Binary system ppt
Binary system ppt
BBDITM LUCKNOW
 
computer Unit 2
computer Unit 2
Aqeel Rehman
 
Computers numbering systems
Computers numbering systems
sld1950
 
Conversion binary to decimal
Conversion binary to decimal
Marizza Dizon Magallanes Jimenez
 
Introduction to python programming
Introduction to python programming
Rakotoarison Louis Frederick
 
Number system
Number system
RajThakuri
 
Mrs. Noland's Binary System ppt
Mrs. Noland's Binary System ppt
dsparone
 
Java Tutorial: Part 4 - Data and Calculations
Java Tutorial: Part 4 - Data and Calculations
Svetlin Nakov
 
ALL ABOUT NUMBER SYSTEMS
ALL ABOUT NUMBER SYSTEMS
vinaygoel18
 
Chapter 1: Binary System
Chapter 1: Binary System
Er. Nawaraj Bhandari
 
NUMBER SYSTEM
NUMBER SYSTEM
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
Binary code - Beginning
Binary code - Beginning
Debbie Eitner
 
Number System
Number System
itutor
 
2.1 data represent on cpu
2.1 data represent on cpu
Wan Afirah
 
Octal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering Systems
Leo Hernandez
 
Chapter 1 number and code system sss
Chapter 1 number and code system sss
Baia Salihin
 
Lesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representation
Lexume1
 
DCF QNA edited
DCF QNA edited
Emmanuel Eniola Falade
 
Datarepresentation2
Datarepresentation2
gollasaidulu1
 
Block ciphers
Block ciphers
Sandeep Joshi
 
Computer Number System
Computer Number System
Ahi Bhusan Mukherjee
 
Data representation
Data representation
Kaviya Arikrishnan
 
Python Programming
Python Programming
Sreedhar Chowdam
 
Basic of number system
Basic of number system
Akhilesh Maithani
 
Python programming lab3 250215
Python programming lab3 250215
profbnk
 
Logic Design 2009
Logic Design 2009
lionking
 
Image Recognition with Neural Network
Image Recognition with Neural Network
Sajib Sen
 
Number system
Number system
SIVALAKSHMIPANNEERSE
 
presentation on number system power point.
presentation on number system power point.
umeh62621
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
NathanielRapanut2
 

More Related Content

What's hot (20)

ALL ABOUT NUMBER SYSTEMS
ALL ABOUT NUMBER SYSTEMS
vinaygoel18
 
Chapter 1: Binary System
Chapter 1: Binary System
Er. Nawaraj Bhandari
 
NUMBER SYSTEM
NUMBER SYSTEM
PUNE VIDYARTHI GRIHA'S COLLEGE OF ENGINEERING, NASHIK
 
Binary code - Beginning
Binary code - Beginning
Debbie Eitner
 
Number System
Number System
itutor
 
2.1 data represent on cpu
2.1 data represent on cpu
Wan Afirah
 
Octal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering Systems
Leo Hernandez
 
Chapter 1 number and code system sss
Chapter 1 number and code system sss
Baia Salihin
 
Lesson4.1 u4 l1 binary representation
Lesson4.1 u4 l1 binary representation
Lexume1
 
DCF QNA edited
DCF QNA edited
Emmanuel Eniola Falade
 
Datarepresentation2
Datarepresentation2
gollasaidulu1
 
Block ciphers
Block ciphers
Sandeep Joshi
 
Computer Number System
Computer Number System
Ahi Bhusan Mukherjee
 
Data representation
Data representation
Kaviya Arikrishnan
 
Python Programming
Python Programming
Sreedhar Chowdam
 
Basic of number system
Basic of number system
Akhilesh Maithani
 
Python programming lab3 250215
Python programming lab3 250215
profbnk
 
Logic Design 2009
Logic Design 2009
lionking
 
Image Recognition with Neural Network
Image Recognition with Neural Network
Sajib Sen
 
Number system
Number system
SIVALAKSHMIPANNEERSE
 

Similar to What is Binary (Computer Science) (20)

presentation on number system power point.
presentation on number system power point.
umeh62621
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
NathanielRapanut2
 
dataformats and data conversionscpu1.ppt
dataformats and data conversionscpu1.ppt
anilvarsha1
 
Number systems
Number systems
pyingkodi maran
 
Number system
Number system
Raman Wankhede
 
02 Chapter 2 Data representation and organization of computer system_V4 (2).pptx
02 Chapter 2 Data representation and organization of computer system_V4 (2).pptx
bachrbxl
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
AnaMarieFrane
 
Chapter two FHI.pptx
Chapter two FHI.pptx
ODAATUBE1
 
08. Numeral Systems
08. Numeral Systems
Intro C# Book
 
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
Ahsan433
 
Digital Principles & System Design Unit1_Number systems
Digital Principles & System Design Unit1_Number systems
KanmaniRajamanickam
 
Lecture 2
Lecture 2
Chamila Fernando
 
Video lectures
Video lectures
Edhole.com
 
Mba ebooks
Mba ebooks
Edhole.com
 
Computer organiztion2
Computer organiztion2
Umang Gupta
 
Module 1 number systems and code1
Module 1 number systems and code1
Deepak John
 
Grade 7 numbersystem-lesson 4-211022083557.pptx
Grade 7 numbersystem-lesson 4-211022083557.pptx
arjanecuasay1
 
Computer Number system
Computer Number system
Anil Kumar Prajapati
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdf
AsthaChaurasia4
 
Lecture 1 PPT Number systems & conversions part.pptx
Lecture 1 PPT Number systems & conversions part.pptx
cronydeva
 
presentation on number system power point.
presentation on number system power point.
umeh62621
 
dataformats and data conversionscpu1.ppt
dataformats and data conversionscpu1.ppt
anilvarsha1
 
02 Chapter 2 Data representation and organization of computer system_V4 (2).pptx
02 Chapter 2 Data representation and organization of computer system_V4 (2).pptx
bachrbxl
 
Chapter two FHI.pptx
Chapter two FHI.pptx
ODAATUBE1
 
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
Ahsan433
 
Digital Principles & System Design Unit1_Number systems
Digital Principles & System Design Unit1_Number systems
KanmaniRajamanickam
 
Video lectures
Video lectures
Edhole.com
 
Computer organiztion2
Computer organiztion2
Umang Gupta
 
Module 1 number systems and code1
Module 1 number systems and code1
Deepak John
 
Grade 7 numbersystem-lesson 4-211022083557.pptx
Grade 7 numbersystem-lesson 4-211022083557.pptx
arjanecuasay1
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdf
AsthaChaurasia4
 
Lecture 1 PPT Number systems & conversions part.pptx
Lecture 1 PPT Number systems & conversions part.pptx
cronydeva
 
Ad

Recently uploaded (20)

Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
 
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
Fatality due to Falls at Working at Height
Fatality due to Falls at Working at Height
ssuserb8994f
 
Introduction to sensing and Week-1.pptx
Introduction to sensing and Week-1.pptx
KNaveenKumarECE
 
How to Un-Obsolete Your Legacy Keypad Design
How to Un-Obsolete Your Legacy Keypad Design
Epec Engineered Technologies
 
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
 
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
 
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
Shabista Imam
 
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
 
Unit III_One Dimensional Consolidation theory
Unit III_One Dimensional Consolidation theory
saravananr808639
 
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
 
DESIGN OF REINFORCED CONCRETE ELEMENTS S
DESIGN OF REINFORCED CONCRETE ELEMENTS S
prabhusp8
 
Cadastral Maps
Cadastral Maps
Google
 
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Shabista Imam
 
Solar thermal – Flat plate and concentrating collectors .pptx
Solar thermal – Flat plate and concentrating collectors .pptx
jdaniabraham1
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
Industry 4.o the fourth revolutionWeek-2.pptx
Industry 4.o the fourth revolutionWeek-2.pptx
KNaveenKumarECE
 
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
 
System design handwritten notes guidance
System design handwritten notes guidance
Shabista Imam
 
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Rapid Prototyping for XR: Lecture 1 Introduction to Prototyping
Mark Billinghurst
 
Fatality due to Falls at Working at Height
Fatality due to Falls at Working at Height
ssuserb8994f
 
Introduction to sensing and Week-1.pptx
Introduction to sensing and Week-1.pptx
KNaveenKumarECE
 
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
 
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
 
Proposal for folders structure division in projects.pdf
Proposal for folders structure division in projects.pdf
Mohamed Ahmed
 
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
 
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
Shabista Imam
 
special_edition_using_visual_foxpro_6.pdf
special_edition_using_visual_foxpro_6.pdf
Shabista Imam
 
Unit III_One Dimensional Consolidation theory
Unit III_One Dimensional Consolidation theory
saravananr808639
 
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
 
DESIGN OF REINFORCED CONCRETE ELEMENTS S
DESIGN OF REINFORCED CONCRETE ELEMENTS S
prabhusp8
 
Cadastral Maps
Cadastral Maps
Google
 
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Shabista Imam
 
Solar thermal – Flat plate and concentrating collectors .pptx
Solar thermal – Flat plate and concentrating collectors .pptx
jdaniabraham1
 
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
 
Industry 4.o the fourth revolutionWeek-2.pptx
Industry 4.o the fourth revolutionWeek-2.pptx
KNaveenKumarECE
 
Ad

What is Binary (Computer Science)

  • 2. BI * NA * RY Relating to, using, or expressed in system of numerical notation that has 2 rather than 10 as a base.
  • 5. DEC * I * MAL Relating to or denoting a system of numbers and arithmetic based on the number ten, tenth parts, and powers of ten.
  • 6. Decimal Symbols 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9
  • 7. Positional Notation A system of expressing numbers in which the digits are arranged in succession, the position of each digit has a place value, and the number is equal to the sum of the products of each digital by its place value https://www.merriam-webster.com/dictionary/positional%20notation
  • 10. Binary System 0010111 = (1 * 64) + (1 * 32) + (1 * 16) + (1 * 4) = 116 Alternative: 0010111 = (1 * 2^6) + (1 * 2^5) + ( 1 * 2^4) + (1 * 2^2) = 116
  • 11. Practice What numbers are these? 00000111 10100011 01001101
  • 12. Adding What is 10010101 + 11110010? What is 10010101 + 11110010? 10010101 + 11110010 = 128 * 2 + 64 * 1 + 32 * 1 + 16 * 2 + 4 * 1 + 1 * 1 10010101 + 11110010 = 256 + 64 + 32 + 32 + 4 + 1 10010101 + 11110010 = 391
  • 14. Translate: 01100111 0110001 0110000 0110001 UTF-8: Because more special characters are needed most of the web is using (87%) UTF-8.
  • 15. Seeing Binary in Javascript Binary ---> Decimal parseInt(‘01001000’, 2) // => 72 Decimal ---> Binary (45).toString(2)// => '101101' Binary ---> String String.fromCodePoint(parseInt('11111010010111110', 2)) // => "💾" String ---> Binary "💾".codePointAt().toString(2) //=> ‘11111010010111110’
  • 16. Questions? Thank you for learning about Binary

Editor's Notes