Want to create interactive content? It’s easy in Genially!

Get started free

HORROR ESCAPE ROOM

Heritage Hall

Created on April 26, 2024

AP CSP Review

Start designing with a free template

Discover more than 1500 professional designs like these:

Transcript

HORROR ESCAPE ROOM

start

csp exam

Introduction

"A ghost is trapped in this house, doomed to wander through it until he recovers all his memories.To help him find them, you must first pass all the tests and get the missing items in your inventory. Explore the house and try not to get trapped yourself too..."

Inventory

Explore the house

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them.

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them. Then, if the first number is greater than the middle number, swap them.

If the first number is greater than the middle number, swap them. Then, if the middle number is greater than the last number, swap them. Then, if the first number is greater than the last number, swap them.

01

Three different numbers need to be placed in order from least to greatest. For example, if the numbers are ordered 9, 16, 4, they should be reordered as 4, 9, 16. Which of the following algorithms can be used to place any three numbers in the correct order?

Lists prevent duplicate data values from appearing in the list.

Lists often allow their size to be easily updated to hold as many data values as needed.

02

Lists are used to store all input data so that there is a running record of all user input.

Which of the following is a benefit of using a list as a data abstraction in a program?

There exist some problems that cannot be solved algorithmically using any computer.

Any problem can be solved algorithmically, though some algorithmic solutions may require humans to validate the results.

03

Any problem can be solved algorithmically, though some algorithmic solutions must be executed on multiple devices in parallel.

Which of the following best explains the ability to solve problems algorithmically?

04

An overflow error will occur because 4 bits is not large enough to represent either of the values 14 or 15.

An overflow error will occur because 4 bits is not large enough to represent 29, the sum of 14 and 15.

A round-off error will occur because the decimal values 14 and 15 are represented as approximations due to the fixed number of bits used to represent numbers.

A certain programming language uses 4-bit binary sequences to represent nonnegative integers. For example, the binary sequence 0101 represents the corresponding decimal value 5. Using this programming language, a programmer attempts to add the decimal values 14 and 15 and assign the sum to the variable total. Which of the following best describes the result of this operation?

It's not correct...

Find the key to continue

Inventory

Continue exploring the house

A parallel computing solution may not be appropriate for an algorithm that searches for occurrences of a key word in a large number of documents.

A parallel computing solution may not be appropriate for an algorithm that can be easily broken down into small independent tasks.

01

A parallel computing solution may not be appropriate for an algorithm in which the same formula is applied to many numeric data elements.

A parallel computing solution may not be appropriate for an algorithm in which each step requires the output from the preceding step.

Which of the following best describes a challenge involved in using a parallel computing solution?

A digital photo file contains data representing the level of red, green, and blue for each pixel in the photo. It also contains metadata that describes the date and geographic location where the photo was taken. For which of the following goals would analyzing the metadata be more appropriate than analyzing the data?

Determining the usability of the photo for projection onto a particular color background

Determining the likelihood that the photo is a picture of the sky

Determining the likelihood that the photo was taken at a particular public event

Determining the number of people that appear in the photo

02

Which of the following applications is most likely to benefit from the use of crowdsourcing?

An application that allows users to view descriptions and photographs of local landmarks

An application that allows users to compress the pictures on their devices to optimize storage space

An application that allows users to convert measurement units (e.g., inches to centimeters, ounces to liters)

An application that allows users to purchase tickets for a local museum

03

The variable age is to be used to represent a person’s age, in years. Which of the following is the most appropriate data type for age ?

string

list

Boolean

number

04

Remember these notes and play them on the piano in the correct order

♪♬ø

You found a secret message

01

02

...Keep playing

03

...One more

Try again...

You found a new item for your inventory

Continue exploring the house

♪♬ø

Inventory

224

Use the magnifying glass to find the code and then insert it into the typewriter.

Enter the code

A string variable named studentName and a numeric variable named numAbsences

A string variable named studentName and a Boolean variable named isAbsent

A string variable named s and a Boolean variable named a

01

A teacher is writing a code segment that will use variables to represent a student’s name and whether or not the student is currently absent. Which of the following variables are most appropriate for the code segment?

Testing the updated algorithm with a small number of users in the city where the developers are located so that immediate feedback can be gathered

Enticing users to spend more time using the application by providing the updated algorithm for users who use the application at least ten hours per week

Inviting a random sample of all users to try out the new algorithm and provide feedback before it is released to a wider audience

02

A certain social media application is popular with people across the United States. The developers of the application are updating the algorithm used by the application to introduce a new feature that allows users of the application with similar interests to connect with one another. Which of the following strategies is LEAST likely to introduce bias into the application?

03

The researcher can ensure that any personal information contained in the journal is kept private and secure.

The researcher can allow the results to be easily obtained by other researchers and members of the general public.

The researcher can better anticipate the effect of the results and ensure that they are used responsibly.

A researcher wants to publish the results of a study in an open access journal. Which of the following is a direct benefit of publishing the results in this type of publication?

A briefcase appeared...

You've recovered all the ghost's memories! Now he can finally rest and you can escape from the house!

congratulations

Back

Exit

Sure you want to go out?

You will lose all the progress so far...

Inventory

Inventory

Inventory

♪♬ø

Inventory

♪♬ø

Inventory

♪♬ø

Oh, no. You've failed...