wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Code.org CSP Unit 1 Review

Total questions: 15

Worksheet time: 13mins

Name
Class
Date
1.

Which of the following best describes how computing devices represent information?

a)

A computer will either represent information as bits or bytes but not both

b)

A computer represents data as a byte which is either a 0 or a 1

c)

A computer represents data as bits which is either a 0 or a 1

d)

A computer represents information as bits which contain 8 bytes.

2.

Which of the following are true about how analog data is converted to digital data?

a)

The digital version is a representation of the analog, but cannot contain all of the details.

b)

To make the digital version be a more accurate representation of the analog data, the process should use fewer bits to represent each sample.

c)

A longer interval between measured samples means more details will be captured in the conversion from analog to digital.

d)

The digital version contains all of the details of the analog data, as long as enough storage capacity is available.

3.

How many bits are in two bytes of data?

a)

4

b)

8

c)

12

d)

16

4.

The binary number 1001 is equal to what in decimal?

a)

1,001

b)

17

c)

8

d)

9

5.

The digit C in hexadecimal is equivalent to what in decimal?

a)

12

b)

13

c)

3

d)

2

6.

With 8 bits of data, what is the largest decimal number that can be represented in binary?

a)

256

b)

1111 1111

c)

255

d)

1000 0000

7.

The number 43, when represented in binary is

a)

0100 0011

b)

1010 1101

c)

0010 1011

d)

0011 0001

8.

A computer program is using 4 bits to represent an integer. When the program adds the decimal numbers 10 and 6, the result is 0000. Which of the following describe the result? (Select all that apply)

a)

The number 16 in decimal is 0000 in binary.

b)

An overflow error occurred.

c)

a roundoff error occurred.

d)

You cannot represent the number 16 with 4 bits.

9.

A computer uses 3 bits of data to represent a number. What is the smallest number that would cause an overflow error in this situation?

a)

4

b)

7

c)

8

d)

9

10.

ASCII is an abstraction because

a)

it allows the user to know the binary code for each character.

b)

the user can type letters and other characters without knowing the binary code assigned to them.

c)

it helps the user convert the decimal representation of a letter to the binary representation for the letter.

d)

the user can read a binary message and translate it into characters.

11.

Which of the following statements about sampling is incorrect?

a)

Sampling is a process that can be used to compress an image.

b)

Sampling is a process for turning an analog image into a digital image.

c)

When smaller samples are used, the resulting file will require fewer bytes.

d)

Each pixel of the analog image is coded as one color, and cannot be more than one color.

12.

Given the hexcode A3BD02, which of the following describes the "blue" part of the pixel?

a)

A3

b)

30

c)

B2

d)

02

13.

What is the difference between Lossy and Lossless compression?

a)

With Lossy compression, none of the data is lost.

b)

With Lossless compression, a file cannot be decompressed to its original state.

c)

Lossless compression will usually reduce a file size less than Lossy compression.

d)

Lossy compression is reversible.

14.

Which of the following is most likely to be an unethical use of computer resources?

a)

Purchasing an app and downloading it to a smartphone.

b)

Downloading open source software to your computer.

c)

Purchasing a single-user copy of a photo editing software and sharing your login with another person.

d)

Purchasing a stock photo and putting it in a newsletter that is distributed to a large group of people.

15.

Given the color hex code #A30FB9, which of the following is true?

a)

The red portion of the color is A3

b)

The blue portion of the color is 0F

c)

The green portion of the color is B9

d)

We cannot determine what level each color is at from this information.