Search Header Logo
[4] APCSP Prep - Pseudocode Practice(edward_mosley_52506)

[4] APCSP Prep - Pseudocode Practice(edward_mosley_52506)

Assessment

Flashcard

Computers

10th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does this code do?

Media Image

Back

If a song requested by the user is in the playlist, plays it; Otherwise adds it to the end of the playlist and then plays it

2.

FLASHCARD QUESTION

Front

In the code, if "play" is a procedure (function), what does "song" represent in the line: play(song)?

Media Image

Back

It is a value being passed to the procedure via an argument that will be used as a parameter in the procedure.

3.

FLASHCARD QUESTION

Front

Which of these is a Boolean expression? Options: x <-- 57, y <-- temp * 120 / 100, (temp > 32), 72 + 12 - (12 * 6) --> z

Back

(temp > 32)

4.

FLASHCARD QUESTION

Front

Will both of the following two blocks produce correct results? Assume all variables have been properly initialized. Options: Only block 1 is correct, Only block 2 is correct, Both blocks are correct, Neither block is correct

Media Image

Back

Only block 1 is correct

5.

FLASHCARD QUESTION

Front

What is the value of x after this code runs?

Media Image

Back

10

6.

FLASHCARD QUESTION

Front

What is the value of y after the following statements?

Media Image

Back

2

7.

FLASHCARD QUESTION

Front

What is displayed after this code runs? Options: 10, 15, 20, 25

Media Image

Back

10

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?