AP CSP Pseudocode Assessment

AP CSP Pseudocode Assessment

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

AAP

Standards-aligned

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

37 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the value of second after the code is executed?
first ← 20
second ← 4
second ← first / second + 5 * 2

Back

20

2.

FLASHCARD QUESTION

Front

What is the value of n after the code executes?

Media Image

Back

8

3.

FLASHCARD QUESTION

Front

The robot (triangle) is currently facing upward. It can move onto white and gray squares, but not onto the black squares. Which code segments correctly get the robot from its current location to the gray square?

Media Image

Back

Media Image

4.

FLASHCARD QUESTION

Front

What is displayed to the screen when the code executes? Options: 2 5 1, 2 5 9, 5 2 5, 5 5 1

Media Image

Back

2 5 1

5.

FLASHCARD QUESTION

Front

What is displayed after the following code is run?

Media Image

Back

Odd Odd Odd

6.

FLASHCARD QUESTION

Front

What is displayed when the code is run? Options: Red Orange, Red Yellow Green, Orange Yellow, Red Green

Media Image

Back

Red Green

7.

FLASHCARD QUESTION

Front

What does the following program display? Options: 2, 4, 7, 16

Media Image

Back

4

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?