Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP Unit 2

Total questions: 18

Worksheet time: 18mins

Name
Class
Date
1.
Which unit is the smallest?
a)
Megabyte
b)
Kilobyte
c)
Gigabyte
d)
Terabyte
2.

Which unit is the largest?

a)

Megabyte

b)

Terabyte

c)

Gigabyte

d)

Kilobyte

3.

An artist makes an RGB raster image in which each pixel color is encoded with 12-bits --- 4 bits each for red, green and blue.Which of the following correctly shows the hexadecimal value for Red as a 12-bit representation.

a)

F00

b)

00F

c)

FF00

d)

FF0000

4.

Approximately how much bigger (how many more bytes) is a megabyte than a kilobyte?

a)

1,000 times bigger

b)

100,000 times bigger

c)

1,000,000 times bigger

d)

1,000,000,000 times bigger

5.

Approximately 1,000 ________ are equal to 1 terabyte (1 TB).

a)

jengabytes

b)

gigglebytes

c)

gigabytes

d)

megabytes

6.

Which of the following is a reason to use lossy compression?

a)

You want the compressed file to be larger than the original.

b)

You want the highest quality audio file possible, with no modifications.

c)

You want the highest quality image file possible, with no modifications.

d)

You want to save space and are not concerned if the file is the highest quality possible.

7.

a problem solving approach (algorithm) to find a satisfactory solution where finding an optimal or exact solution is impractical or impossible

a)

Lossless Compression

b)

Heuristic

c)

Lossy Compression

d)

encryption

8.

Which of the following is irreversible?

a)

lossy compression

b)

lossless compression

c)

abstraction

d)

RLI

9.

Which of the file types is an audiofile type?

a)

jpg

b)

mp3

c)

png

d)

csv

10.

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

a)

90%

b)

80%

c)

20%

d)

100%

11.

Which of the following hexadecimal representations would represent dark green?

a)

#191399

b)

#00FF10

c)

#001313

d)

#001300

12.

How would you lighten the color #bcc8e1?

a)

+50 to each color component

b)

+50 to the red component

c)

-50 to each color component

d)

-50 to the red component

13.

How many bits are needed to represent 8 colors?

a)

8 bits

b)

24 bits

c)

1 hex digit

d)

3 bits

14.

How many bits are needed to represent a 3 x 3 black and white image (exclude metadata)

a)

3 bits

b)

6 bits

c)

9 bits

d)

9 x 24 bits

15.

The color widget uses 3 bytes of metadata. The first two bytes indicate the width and height of the image. The next byte indicates the number of bits that will be used to represent color. How many bits is used to represent color given the metadata (in binary) 00001000 00001000 0001001

a)

3 bits

b)

6 bits

c)

9 bits

d)

12 bits

16.

Which of the following statements is FALSE?

a)

The computer stores colors in hexadecimal

b)

Every color has 3 components. A red, green and a blue component.

c)

A bright color would be represented by a large number.

d)

A computer uses 3 bytes to store a single colored pixel.

17.

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?

a)

512 MB

b)

1.0 GB

c)

4 KB

d)

2.0 GB

18.

Consider the following three binary numbers:

01010

010000

1110

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

a)

010000

1110

01010


b)

01010

1110

010000


c)

01010

010000

1110


d)

1110

01010

010000