AP CSP MCQ Review Session 2 Quiz

AP CSP MCQ Review Session 2 Quiz

10th Grade

11 Qs

quiz-placeholder

Similar activities

CodeHS 5.1 & 5.2 Intro to Data Structures

CodeHS 5.1 & 5.2 Intro to Data Structures

9th - 12th Grade

10 Qs

2.1 Linear and Binary Searching Algorithms

2.1 Linear and Binary Searching Algorithms

8th - 10th Grade

16 Qs

APCSP Code.org Unit 10

APCSP Code.org Unit 10

9th - 12th Grade

15 Qs

Search Algorithms

Search Algorithms

9th - 12th Grade

10 Qs

Python Arrays

Python Arrays

9th - 12th Grade

13 Qs

Algorithms

Algorithms

9th - 12th Grade

10 Qs

Python Lists

Python Lists

9th - 12th Grade

15 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

AP CSP MCQ Review Session 2 Quiz

AP CSP MCQ Review Session 2 Quiz

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Thomas Harris

Used 2+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A database of information about shows at a concert venue contains the following information. • Name of artist performing at the show • Date of show • Total dollar amount of all tickets sold Which of the following additional pieces of information would be most useful in determining the artist with the greatest attendance during a particular month?

Average ticket price

Length of the show in minutes

Start time of the show

Total dollar amount of food and drinks sold during the show

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A video game character can face toward one of four directions: north, south, east, and west. Each direction is stored in memory as a sequence of four bits. A new version of the game is created in which the character can face toward one of eight directions, adding northwest, northeast, southwest, and southeast to the original four possibilities. Which of the following statements is true about how the eight directions must be stored in memory?

Four bits are not enough to store the eight directions. Five bits are needed for the new version of the game.

Four bits are not enough to store the eight directions. Eight bits are needed for the new version of the game.

Four bits are not enough to store the eight directions. Sixteen bits are needed for the new version of the game.

Four bits are enough to store the eight directions.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following numeric values. • Binary 1011 • Binary 1101 • Decimal 5 • Decimal 12 Which of the following lists the values in order from least to greatest?

Decimal 5, binary 1011, decimal 12, binary 1101

Decimal 5, decimal 12, binary 1011, binary 1101

Decimal 5, binary 1011, binary 1101, decimal 12

Binary 1011, binary 1101, decimal 5, decimal 12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user wants to save a data file on an online storage site. The user wants to reduce the size of the file, if possible, and wants to be able to completely restore the file to its original version.

Compressing the file using a lossless compression algorithm before uploading it

Compressing the file using a lossy compression algorithm before uploading it

Compressing the file using both lossy and lossless compression algorithms before uploading it

Uploading the original file without using any compression algorithm

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A student is creating a Web site that is intended to display information about a city based on a city name that a user enters in a text field. Which of the following are likely to be challenges associated with processing city names that users might provide as input? Select TWO answers.

A. Users might attempt to use the Web site to search for multiple cities.

B. Users might enter abbreviations for the names of cities.

C. Users might misspell the name of the city.

D. Users might be slow at typing a city name in the text field.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A camera mounted on the dashboard of a car captures an image of the view from the driver’s seat every second. Each image is stored as data. Along with each image, the camera also captures and stores the car’s speed, the date and time, and the car’s GPS location as metadata.

The average number of hours per day that the car is in use

The car’s average speed on a particular day

The distance the car traveled on a particular day

The number of bicycles the car passed on a particular day

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A large spreadsheet contains information about the schedule for a college radio station. A sample portion of the spreadsheet is shown below. A student wants to count the number of shows that meet both of the following criteria: • Is a talk show • Is on Saturday or Sunday For a given row in the spreadsheet, suppose genre contains the genre as a string and day contains the day as a string. Which of the following expressions will evaluate to true if the show should be counted and evaluates to false otherwise?

(genre = "talk") AND ((day = "Saturday") AND (day = "Sunday"))

(genre = "talk") AND ((day = "Saturday") OR (day = "Sunday"))

(genre = "talk") OR ((day = "Saturday") AND (day = "Sunday"))

(genre = "talk") OR ((day = "Saturday") OR (day = "Sunday")).

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?