Upload
sandra-edwards
View
449
Download
1
Embed Size (px)
Citation preview
Binary Code
0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101
What is Binary Code?
• Code used to express digital information that computers process
• Consists of only 2 symbols– 0’s & 1’s
What is Binary Code?
• The 2 digits express the flow of electricity through transistors (or switches)
• Computers are made up of millions of electronic switches
What is Binary Code?
• Switch can be either OFF or ON• 0 = OFF• 1 = ON
What is Binary Code?
• Binary Digit BIT
• Each digit, a 1 or 0, is called a BIT
• 8 bits are called a BYTE
• 1 gigabyte ≈ 1 billion bytes ≈ 8 billion bits • http://youtu.be/ry1hpm1GXVI
Examples of 8-bit Binary Numbers
0100001001101111 0110100101100100011011100110 01010110000101110010011110010010000001000011
Practice
57 = _ _ _ _ _ _ _ _
32 = _ _ _ _ _ _ _ _
Practice
________ = 0110 1111
________ = 00010010
ASCII
• American Standard Code for Information Interchange
• Alphabet in Binary
• ASCII is an 8-bit code
Practice
• ASCII Code Sheet Handout
• Use what you’ve learned about Binary Numbers to complete the ASCII worksheet.
http://educate.intel.com/en/TheJourneyInside/ExploreTheCurriculum/EC_DigitalInformation/DILesson6/