The Hour of Code!
You Were a Part of the Largest Learning Event in History!
Key Terms
- Algorithm: A series of instructions on how to accomplish a task
- Coding: Transforming actions into a symbolic language
- Debugging: Finding and fixing problems in code
- Function: A piece of code that can be called over and over
- Parameter: Extra bits of information that you can pass into a function to customize it
Numbers & Letters
- Binary Code 0's & 1" or "on & off"
- ASCII Code
- Unicode
What About Color and Animation?
Picture Element: PIxel
Pix = Pictures
El = Element
Pixels by Patrick Jean
Bits Per Pixel: 1 for "On", 0 for "Off"
How Many Pixels per Bit?
1 Bit Image = ?
8 Bit Image = ?
16 Bit Image = ?
32 Bit Image = ?
*often you hear pixels described in 24 bits which is is really 32 bits in true color and that is 16,777,216 or 256 x 256 x 256
File Size or disk space
1 byte = 8 bits
1 Kbyte = 1000 bytes
1 Megabyte = 1000 Kbytes (1,000,000 bytes)
1 Gigabyte = 1000 Megabytes (1,000,000,000 bytes)
1 Terabyte = 1000 Gigabytes (1,000,000,000,000 bytes)
1 Kbyte = 1000 bytes
1 Megabyte = 1000 Kbytes (1,000,000 bytes)
1 Gigabyte = 1000 Megabytes (1,000,000,000 bytes)
1 Terabyte = 1000 Gigabytes (1,000,000,000,000 bytes)
Compression
- mp3, jpeg, etc..
- patterns within the data to reduce the amount of storage
Pong, Tetris, Minecraft
Highly pixelated OR Basic pixel games
Pong: 1972
Earliest Arcade Video Game
Pong Screen
Highly Pixelated
Pong Controller: 1975
First Atari Home Game Console