Search Header Logo

AP CSP Final 2

Authored by Charldon Dennis

Computers

11th Grade

AP CSP Final 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

[10, 10, 20, 20, 10, 10]

[30, 30, 30, 10, 20, 20]

[30, 50, 40, 10, 20, 40]

[50, 50, 50, 50, 50, 50]

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

A group of students take hundreds of digital photos for a science project about weather patterns. Each photo file contains data representing the level of red, green, and blue for each pixel in the photo. The file also contains metadata that describes the date, time, 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?

Select TWO answers

Determining the chronological order of the photos

Determining the number of clouds in a particular photo

Determining whether a photo is suitable for printing in black-and-white

Determining whether two photos were taken at the same location on different days

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Assume that the Boolean variable hot is assigned the value true and the Boolean variable humid is assigned the value false. Which of the following will display the value true?

Select TWO answers.

IF hot

DISPLAY hot AND humid

IF NOT humid DISPLAY hot OR humid

IF hot OR humid DISPLAY hot

IF hot AND humid DISPLAY hot

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

The following spinner is used in a game. The region labeled "blue" represents 1/4 of the spinner. The regions labeled "orange" and "purple" are equal in size. Which of the following code segments can be used to simulate the behavior of the spinner? Select two answers.

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Line 3

Line 8

Line 10

Line 15

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?