wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Crash Course Computer Science #21 - Compression

Total questions: 17

Worksheet time: 12mins

Name
Class
Date
1.

How do files get squeezed into a smaller size?

a)

reduction

b)

compression

c)

shrinking

d)

constrict

2.

What number represents full intensity for colors in a pixel?

(a)  

3.

One way to compress data is to reduce repeated or redundant information. The most straightforward way is called...

a)

run-length encoding

b)

repeated-line encoding

c)

reverse-logic encoding

d)

retroactive-line encoding

4.

After compression, how many bytes is our PacMan image?

(a)  

5.

A compression ​ (a)   that has this characteristic is called ​ (b)   compression, because we don't lose anything. The ​ (c)   data is identical to the original before compression, bit for bit.

Choose from the below words
technique
lossless
decompressed
style
lineless
compressed
6.

What's the most common color block in our example?

a)

white-yellow

b)

black-yellow

c)

yellow-yellow

d)

white-white

7.

How does the Huffman tree organize data?

a)

lower frequencies at the bottom

b)

lower frequencies at the top

8.

What is the Huffman code for white-white?

(a)  

9.

Using the Huffman tree to compress Pac Man, we used only __ - significantly less than the original 48 bytes!

a)

14 bits

b)

14 bytes

c)

24 bits

d)

24 bytes

10.

Both ​ (a)   encoding and ​ (b)   coders are ​ (c)   compression techniques. No information is lost; when you ​ (d)   , you get the original file.

Choose from the below words
run-length
dictionary
lossless
decompress
11.

Compression that removes unnecessary or less important information is called __ compression techniques.

a)

lossy

b)

lousy

c)

lofty

d)

lengthy

12.

Lossy compression is willing to lose quality with...

a)

vocal ranges

b)

bass range

c)

ultrasonic range

d)

all of these

13.

How much smaller are .MP3 files versus .WAV or .FLAC files?

a)

2x

b)

5x

c)

10x

d)

50x

14.

Which image file type uses lossy compression to simplify 8x8 pixel blocks for compression?

a)

.RAW

b)

.JPEG

c)

.GIF

d)

.PNG

15.

In video, a lot of pixels remain the same, such as in a background. This is called

a)

temporal redundancy

b)

background compression

c)

peripheral blur

d)

same-edge pixel repeation

16.

The fanciest video compression formats find similar patches between frames. They can copy them forward and apply simple effects, such as

a)

shift

b)

rotation

c)

lighten

d)

darken

17.

MPEG-4 videos are often __ smaller than the original, uncompressed file.

a)

10-50x

b)

20-200x

c)

50-300x

d)

45-125x