AP CSP Midterm Review

AP CSP Midterm Review

Assessment

Flashcard

Computers

10th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

19 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What kind of data does a float variable contain? Whole Numbers, words and letters, Decimal numbers, true or false

Back

Decimal numbers

2.

FLASHCARD QUESTION

Front

What type of variable is "help"? Options: Integer, Float, String, List

Back

String

3.

FLASHCARD QUESTION

Front

A photographer is manipulating a digital image and overwriting the original image. Which of the following describes a lossy transformation of the digital image? Options: Creating the gray scale of an image by averaging the amounts of red, green, and blue in each pixel and assigning this new value to the corresponding pixel in the new image. The new value of each pixel represents a shade of gray, ranging from white to black., Creating a mirrored image by swapping the RGB values from pixels on the left side of an image with RGB values from pixels on the right side of an image., Swapping the Red and Green values of each pixel so that areas that were red now appear green and vice versa., Creating the negative of an image by creating a new RGB triplet for each pixel in which each value is calculated by subtracting the original value from 255. The negative of an image is reversed from the original; light areas appear dark, and colors are reversed.

Back

Creating the gray scale of an image by averaging the amounts of red, green, and blue in each pixel and assigning this new value to the corresponding pixel in the new image. The new value of each pixel represents a shade of gray, ranging from white to black.

4.

FLASHCARD QUESTION

Front

Which of the following statements are true about lossless compression?
I - Lossless compression is used only to send files over the Internet
II - Sending a compressed version of a file ensures that the contents of the file cannot be intercepted by an unauthorized user.

Back

Neither I nor II

5.

FLASHCARD QUESTION

Front

A chat Website allows users to post messages to the site. When a user posts a message, the message itself is considered data. In addition to the data, the site stores the following metadata. The time the message was posted and the city from which the message was posted.
Which of the following questions can NOT be answered using only the data and metadata collected?
Options: What topics are most frequently posted about in a particular city?, When is a particular city most active on the site?, Which users post messages most frequently?, What topics are most frequently posted about during a particular time period?

Back

Which users post messages most frequently?

6.

FLASHCARD QUESTION

Front

What ASCII character is represented by the binary (base 2) number 1010001?

Back

Q

7.

FLASHCARD QUESTION

Front

Consider the following numbers: Binary 1001001, Decimal 70, Hexadecimal 4E. Which of the following lists the numbers in order from least to greatest?

Back

Decimal 70, Binary 1001001, Hexadecimal 4E

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?