Bytes & File Sizes
Text Compression
Encoding Images
Vocab
School Spirit
100

What is the difference between a bit and a byte?

Bit= 1 Bit

Byte= 8 Bits

100

An original file is 100 MB, it is compressed to 80 MB (including dictionary). What is its compression rate?

20%

100

What are the largest dimensions (width and height) of an image we can make with the pixelation widget?


255x255


The max image size is 255 x 255 because the width and height can only be expressed with 8 bits each, and the max value you can express with 8 bits is 255.

100

What is RGB?

Red Green Blue 

100

How many admin are at UHHS?

4

200

What is the proper order of these file sizes? Terabyte, Kilobyte, and Megabyte


200

Why do you want to compress anything? What's the point? Why is compression "hard"?



  • The main point of compression is to represent the same information with fewer bits should receive full credit.

  • There are too many possible ways it could be done to reasonably just try every possibility.



200

What would happen if we didn't include width and height bits in our protocol?

Without the width and height information it is impossible to determine how many bits go in each row of the image.

200

What is the difference between lossy vs lossless compression?

Lossy: Compression that removes data that can’t be returned to its original format

 Lossless: Compression that removes data that can be returned to its original format

200

How many clubs are at UHHS?



100 (and counting)

300

CONVERT THE FOLLOWING TO NUMBER FORMAT:

6 7

300

Compressed files consume less storage space and transmit _________ than uncompressed files

Faster; 

quicker

300

How many total bits would there be in  the largest possible image we could make with the pixelation widget?



65,041 bits

255x255+16= 65,041

300

What is a difference between Analog and Digital Data?

Analog Data= smooth data

Digital Data= Choppy copy

300

How many countries has Donald visited?

47 (and counting)

400

Consider the following three binary numbers:

1. 01010

2. 010000

3. 1110

Which of the following lists the numbers in order from least to greatest?

1 3 2


01010= 10

1110=14

010000=16

400

A photographer is removing color from an image to create a more dramatic, black and white photo.  This is an example of _______? How so?

Lossy compression; filter can be removed to bring color back to picture

400

 Using the RGB color model with 12 bits, the color code 92F would be a shade of what color?

Blue

400

What is metadata?

metadata - is data that describes other data. For example, a digital image may include metadata that describe the size of the image, number of colors, or resolution.

400

How old is UHHS?

38 Years

500

 Lil’ Nibble, a local Soundcloud rapper, has recorded a new mixtape called “Half-a-byte,” produced by “Mibikibi and the Teraflops.” The mixtape has several audio files that have been compressed into a .ZIP file so they can be transferred easily and a separate .ZIP file containing album artwork and liner notes. If the mixtape .ZIP file takes up 800 MB and the artwork .ZIP file is 300 MB, what size flash drive do you need in order to transfer the files?

2GB 

500

A movie can be played in a movie theatre and a cell phone device.  Is this various displaying of this video an example of lossy or lossless compression? Why?

Lossless; video is being compressed to fit into a smaller screen but still shows the same data

500

 How would you lighten the color #bcc8e1?

  • to each color component

To brighten:

  • RGB values should be increased.

  • Simple example: add some amount to each of the RGB values to make it brighter

To darken:

  • Do the opposite of brightening - subtract 50 from each value. 

500

What is a pixel?



Short for "picture element", the fundamental unit of a digital image, typically a tiny square or dot that contains a single point of color of a larger image.

500

What is our school motto?

"A high school that feels like a college"