[4] APCSP Prep - Pseudocode Practice(edward_mosley_52506)

[4] APCSP Prep - Pseudocode Practice(edward_mosley_52506)

Assessment

Flashcard

Computers

10th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does this code do?

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)?

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

Back

Only block 1 is correct

5.

FLASHCARD QUESTION

Front

What is the value of x after this code runs?

Back

10

6.

FLASHCARD QUESTION

Front

What is the value of y after the following statements?

Back

2

7.

FLASHCARD QUESTION

Front

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

Back

10

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?