SlideShare a Scribd company logo
Binary Code
The Language of Your Computer
Input/Output
Input is whatever is put into a computer.
Input can be data, letters, numbers, symbols, shapes,
sounds, pressure, light beams or whatever material
needs processing.
Output hardware consists of devices that translate
information processed by the computer into a form
humans can understand - print, sound, graphics, or
video, for example.
The Binary System
The base of all programs is the binary system, a
number system of two - 1 and 0.
These represent On and Off - the position for an
electrical signal to pass through (or not) a transistor.
All data and program instructions that go into the
computer to be processed and stored, are
represented by these binary numbers.
Decimal System
To understand the binary system, we need to review
our Base 10, decimal system.
The prefix “dec-” means 10
Our decimal system is based on 10 numbers
(0,1,2,3,4,5,6,7,8,9)
When counting, using place value, we fill the ones
place and then move to the tens place.
For example:
When you count in the
decimal system (base 10)
you fill the one’s place, then
move to the ten’s place.
Only the numbers 0 - 9 are
used.
As each place value is filled
with the numbers, we
continue to the next place
value. Each place value is
10x the previous place.
10’s 1’s
9
1 0
1 1
1 2
1 3
100’s 10’s 1’s
9 9
1 0 0
1 0 1
Counting in Binary (Base 2)
The prefix “bi-” means two.
The binary system uses only two numbers - 0 and 1.
We count in the binary system the same as in the
decimal system by filling in the place values and
moving up the place value chart.
If the decimal system, base 10 has place values 10x
the previous place - How do you think the place
values for the binary system are determined?
Counting in Binary
0
1
1 0
1 1
1 0 0
1 0 1
1 1 0
1 1 1
1 0 0 0
Do you see a
pattern?
Counting in Binary
64’s 32’s 16’s 8’s 4’s 2’s 1’s
0
1
1 0
1 1
1 0 0
1 0 1
1 1 0
1 1 1
1 0 0 0
Each place
value is 2x the
previous place.
Decima
l
0
1
2
3
4
5
6
7
8
Counting in Binary
64’s 32’s 16’s 8’s 4’s 2’s 1’s
0
1
1 0
1 1
1 0 0
1 0 1
1 1 0
1 1 1
1 0 0 0
110 = 6
one 4, one 2 = 6
1000 = 8
one 8
Decima
l
0
1
2
3
4
5
6
7
8
Counting in Binary
64’s 32’s 16’s 8’s 4’s 2’s 1’s
1 0 1 0 0 1
What is this
binary
number?
Counting in Binary
64’s 32’s 16’s 8’s 4’s 2’s 1’s
1 0 1 0 0 1
(32) + (0) + (8) + (0) + (0) + 1=
Determine the
place values
and add them
together.
41
Try
counting
to 20.
Counting to 20 in binary
Binary Decimal
1 1
10 2
11 3
100 4
101 5
110 6
111 7
1000 8
1001 9
1010 10
Binary Decimal
1011 11
1100 12
1101 13
1110 14
1111 15
10000 16
10001 17
10010 18
10011 19
10100 20
Bits and Bytes
Bit - In the binary system, each 0 or 1 is called a bit -
short for binary digit.
Byte - A group of eight bits. The letter “G” is a
representation of 1 byte (eight bits).
There are 256 combinations of bits available 28=256
The alphabet in binary
Binary Alphabet
O11OOOO1 a
O11OOO1O b
O11OOO11 c
O11OO1OO d
O11OO1O1 e
O11OO11O f
O11OO111 g
O11O1OOO h
O11O1OO1 i
Can you read this?
O11O1OOO_O11O1OO1
Binary code is the base code of computer
language.
Once you understand the patterns and the
rules, you can learn other programming
languages.
Have fun coding!
Sources
Adapted from, Using Information Technology,
Williams/Sawyer
Additional Teaching Links
Text to Binary and Back Again
http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.a
sp
The Alphabet in Binary
http://www.tekmom.com/buzzwords/binaryalphabet.html
Cisco Binary Game
http://forums.cisco.com/CertCom/game/binary_game_page.htm
http://www.networkclue.com/hardware/computer/binary.aspx
http://en.wikipedia.org/wiki/Binary_numeral_system

More Related Content

What's hot

Computer Keyboard
Computer KeyboardComputer Keyboard
Computer Keyboard
FathimaLidiya
 
Number system....
Number system....Number system....
Number system....mshoaib15
 
Binary codes
Binary codesBinary codes
Binary codes
Neha Jamini
 
Binary presentation
Binary presentationBinary presentation
Binary presentation
johandford
 
Bcd
BcdBcd
Number system
Number systemNumber system
Number system
RajThakuri
 
Computer keyboard
Computer keyboardComputer keyboard
Computer keyboard
Cheneta Kenny Calvo
 
Binary codes
Binary codesBinary codes
Binary codes
GargiKhanna1
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary
tcc_joemarie
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
Buxoo Abdullah
 
BCD.
BCD.BCD.
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
Janki Shah
 
Binary number system
Binary number systemBinary number system
Binary number system
Nadeem Uddin
 
Number system
Number systemNumber system
Number system
ankush9927
 
Binary number ppt
Binary number pptBinary number ppt
Binary number ppt
Ankit Gupta
 
Data representation
Data representationData representation
Data representation
Prashant Saurabh
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
Er. Nawaraj Bhandari
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Number System
Number SystemNumber System
Number System
Zahid Rajeel
 
Number system
Number systemNumber system
Number system
Sajib
 

What's hot (20)

Computer Keyboard
Computer KeyboardComputer Keyboard
Computer Keyboard
 
Number system....
Number system....Number system....
Number system....
 
Binary codes
Binary codesBinary codes
Binary codes
 
Binary presentation
Binary presentationBinary presentation
Binary presentation
 
Bcd
BcdBcd
Bcd
 
Number system
Number systemNumber system
Number system
 
Computer keyboard
Computer keyboardComputer keyboard
Computer keyboard
 
Binary codes
Binary codesBinary codes
Binary codes
 
Convert decimal to binary
Convert decimal to binary Convert decimal to binary
Convert decimal to binary
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
BCD.
BCD.BCD.
BCD.
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Binary number system
Binary number systemBinary number system
Binary number system
 
Number system
Number systemNumber system
Number system
 
Binary number ppt
Binary number pptBinary number ppt
Binary number ppt
 
Data representation
Data representationData representation
Data representation
 
Chapter 1: Binary System
 Chapter 1: Binary System Chapter 1: Binary System
Chapter 1: Binary System
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 

Similar to Binary code - Beginning

binarycode.pptx
binarycode.pptxbinarycode.pptx
binarycode.pptx
WilliamLugo12
 
Number system
Number systemNumber system
Number system
Prof. Dr. K. Adisesha
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
John Todora
 
Introduction to digital computers and Number systems.pptx
Introduction to digital computers and Number systems.pptxIntroduction to digital computers and Number systems.pptx
Introduction to digital computers and Number systems.pptx
BhawaniShankarSahu1
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
NathanielRapanut2
 
CSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & BinaryCSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & Binary
Richard Homa
 
Computer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG xComputer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG x
rawatsumit9902
 
Presentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptxPresentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptx
MinahilUmar1
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
VandanaPagar1
 
SD & D Representing Positive Numbers
SD & D Representing Positive NumbersSD & D Representing Positive Numbers
SD & D Representing Positive Numbers
Forrester High School
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
Wollo UNiversity
 
Number system of computer
Number system of computerNumber system of computer
Number system of computer
VishalChaudhary151
 
Number system
Number system  Number system
Number system
anjineyalus
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representationekul
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
Kyle
 
Basics of Computer For Begginers
Basics of Computer For BegginersBasics of Computer For Begginers
Basics of Computer For Begginers
kavithapriya C J
 

Similar to Binary code - Beginning (20)

binarycode.pptx
binarycode.pptxbinarycode.pptx
binarycode.pptx
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
Number system
Number systemNumber system
Number system
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
Introduction to digital computers and Number systems.pptx
Introduction to digital computers and Number systems.pptxIntroduction to digital computers and Number systems.pptx
Introduction to digital computers and Number systems.pptx
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
CSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & BinaryCSC103 Bits, Bytes & Binary
CSC103 Bits, Bytes & Binary
 
Computer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG xComputer-Number-Systems (1).ppt FCIT HG x
Computer-Number-Systems (1).ppt FCIT HG x
 
Binary systemn
Binary systemnBinary systemn
Binary systemn
 
Presentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptxPresentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptx
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
SD & D Representing Positive Numbers
SD & D Representing Positive NumbersSD & D Representing Positive Numbers
SD & D Representing Positive Numbers
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
Number system of computer
Number system of computerNumber system of computer
Number system of computer
 
Number Systems
Number  SystemsNumber  Systems
Number Systems
 
Number system
Number system  Number system
Number system
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Topic 1 Data Representation
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
 
Basics of Computer For Begginers
Basics of Computer For BegginersBasics of Computer For Begginers
Basics of Computer For Begginers
 

Recently uploaded

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 

Recently uploaded (20)

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 

Binary code - Beginning

  • 1. Binary Code The Language of Your Computer
  • 2. Input/Output Input is whatever is put into a computer. Input can be data, letters, numbers, symbols, shapes, sounds, pressure, light beams or whatever material needs processing. Output hardware consists of devices that translate information processed by the computer into a form humans can understand - print, sound, graphics, or video, for example.
  • 3. The Binary System The base of all programs is the binary system, a number system of two - 1 and 0. These represent On and Off - the position for an electrical signal to pass through (or not) a transistor. All data and program instructions that go into the computer to be processed and stored, are represented by these binary numbers.
  • 4. Decimal System To understand the binary system, we need to review our Base 10, decimal system. The prefix “dec-” means 10 Our decimal system is based on 10 numbers (0,1,2,3,4,5,6,7,8,9) When counting, using place value, we fill the ones place and then move to the tens place.
  • 5. For example: When you count in the decimal system (base 10) you fill the one’s place, then move to the ten’s place. Only the numbers 0 - 9 are used. As each place value is filled with the numbers, we continue to the next place value. Each place value is 10x the previous place. 10’s 1’s 9 1 0 1 1 1 2 1 3 100’s 10’s 1’s 9 9 1 0 0 1 0 1
  • 6. Counting in Binary (Base 2) The prefix “bi-” means two. The binary system uses only two numbers - 0 and 1. We count in the binary system the same as in the decimal system by filling in the place values and moving up the place value chart. If the decimal system, base 10 has place values 10x the previous place - How do you think the place values for the binary system are determined?
  • 7. Counting in Binary 0 1 1 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1 0 0 0 Do you see a pattern?
  • 8. Counting in Binary 64’s 32’s 16’s 8’s 4’s 2’s 1’s 0 1 1 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1 0 0 0 Each place value is 2x the previous place. Decima l 0 1 2 3 4 5 6 7 8
  • 9. Counting in Binary 64’s 32’s 16’s 8’s 4’s 2’s 1’s 0 1 1 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 1 0 0 0 110 = 6 one 4, one 2 = 6 1000 = 8 one 8 Decima l 0 1 2 3 4 5 6 7 8
  • 10. Counting in Binary 64’s 32’s 16’s 8’s 4’s 2’s 1’s 1 0 1 0 0 1 What is this binary number?
  • 11. Counting in Binary 64’s 32’s 16’s 8’s 4’s 2’s 1’s 1 0 1 0 0 1 (32) + (0) + (8) + (0) + (0) + 1= Determine the place values and add them together. 41
  • 12. Try counting to 20. Counting to 20 in binary Binary Decimal 1 1 10 2 11 3 100 4 101 5 110 6 111 7 1000 8 1001 9 1010 10 Binary Decimal 1011 11 1100 12 1101 13 1110 14 1111 15 10000 16 10001 17 10010 18 10011 19 10100 20
  • 13. Bits and Bytes Bit - In the binary system, each 0 or 1 is called a bit - short for binary digit. Byte - A group of eight bits. The letter “G” is a representation of 1 byte (eight bits). There are 256 combinations of bits available 28=256
  • 14. The alphabet in binary Binary Alphabet O11OOOO1 a O11OOO1O b O11OOO11 c O11OO1OO d O11OO1O1 e O11OO11O f O11OO111 g O11O1OOO h O11O1OO1 i
  • 15. Can you read this? O11O1OOO_O11O1OO1 Binary code is the base code of computer language. Once you understand the patterns and the rules, you can learn other programming languages. Have fun coding!
  • 16. Sources Adapted from, Using Information Technology, Williams/Sawyer
  • 17. Additional Teaching Links Text to Binary and Back Again http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.a sp The Alphabet in Binary http://www.tekmom.com/buzzwords/binaryalphabet.html Cisco Binary Game http://forums.cisco.com/CertCom/game/binary_game_page.htm http://www.networkclue.com/hardware/computer/binary.aspx http://en.wikipedia.org/wiki/Binary_numeral_system