Unit 1 - Lesson 7 part 1
To do: September 7
Representing Numbers/Text Quiz this Friday
Warm-up 9/7:
Write all of the unique binary sequences for 4 bits.
How many are there total? What is the value of the maximum number?
Note: You will be asked to submit class notes/warm-up for HW.
Unit 1 Lesson 6
Unit 1 Lesson 6
Simpson's Treehouse of Horror VI
(season 7 ep 6)
Unit 1 Lesson 6
Simpson's Treehouse of Horror VI
(season 7 ep 6)
Unit 1 Lesson 6
Simpson's Treehouse of Horror VI
(season 7 ep 6)
Unit 1 Lesson 6
Unit 1 Lesson 6
Simpson's Treehouse of Horror VI
(season 7 ep 6)
46 72 69 6E 6B 20 72 75 6C 65 73 21
Unit 1 Lesson 6
Simpsons Treehouse of Horror VI
46 72 69 6E 6B 20 72 75 6C 65 73 21
These are ASCII values as hexadecimal numbers (base 16).
What is the message?
Unit 1 Lesson 6
Simpsons Treehouse of Horror VI
hexadecimal: 46 72 69 6E 6B 20 72 75 6C 65 73 21
decimal: 70 114 105 110 107 32 114 117 108 101 115 33
These are ASCII values as hexadecimal numbers (base 16).
What is the message?
Unit 1 Lesson 6
Simpsons Treehouse of Horror VI
46 72 69 6E 6B 20 72 75 6C 65 73 21 Frink rules!
in reference to Professor Frink.
Unit 1 Lesson 6
We know how to represent numbers using binary numbers. But people usually communicate in text!
Unit 1 Lesson 6 - Wrap Up
ASCII stands for American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand
The ASCII table is a table that maps a number to a character. The value can be expressed as a binary, decimal, or hexadecimal number.
Unit 1 Lesson 6 - Wrap Up
The ASCII table is a table that maps a number to a character.
And "under the hood" every number is represented as a binary number (8 bit sequence) which is really just stored as electric impulses in a wire.
Unit 1 Lesson 6 - Wrap Up
Abstraction
The ASCII table is an example of abstraction, a simpler way to represent something complex.
Unit 1 Lesson 6 - Wrap Up
Abstraction
Unit 1 Lesson 6 - Wrap Up
how's it going?
TEXT
ASCII
174 111 119 39 115 32 105 116 32 103 111 105 110 103 63
ASCII
BINARY
We don't have to think about this layer when we send a text message⦠but every message is really just zeroes and ones!
Test Corrections
Go over test
1. B
2. C
3. D
4. C
5. A
6. D
7. A
8. D
9. D
10. B
11. B
12. B,C
Test Corrections
Representing Numbers/Text Quiz this Friday
Unit 1 - Lesson 7
Unit 1 Lesson 7 - Warm Up
Prompt: You recently did some online shopping and are expecting a package to arrive in about a month. The delivery service has a tracking system which reads the location of the package.
Unit 1 Lesson 7 - Activity
Pixelation Widget: B&W
Unit 1 Lesson 7 Bubble 2
Unit 1 Lesson 7 - Activity
Homework
Representing Numbers/Text Quiz this Friday