Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110...

11
Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101

Transcript of Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110...

Page 1: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.

Binary Code

0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101

Page 2: 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

Page 3: 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?

• The 2 digits express the flow of electricity through transistors (or switches)

• Computers are made up of millions of electronic switches

Page 4: 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?

• Switch can be either OFF or ON• 0 = OFF• 1 = ON

Page 5: 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?

• 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

Page 6: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.

Examples of 8-bit Binary Numbers

0100001001101111 0110100101100100011011100110 01010110000101110010011110010010000001000011

Page 7: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.

Practice

57 = _ _ _ _ _ _ _ _

32 = _ _ _ _ _ _ _ _

Page 8: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.

Practice

________ = 0110 1111

________ = 00010010

Page 9: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.

ASCII

• American Standard Code for Information Interchange

• Alphabet in Binary

• ASCII is an 8-bit code

Page 10: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.
Page 11: Binary Code 0100 0010 0110 1001 0110 1110 0110 0001 0111 0010 0111 1001 0010 0000 0100 0011 0110 1111 0110 0100 0110 0101.

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/