What does this code do?
[4] APCSP Prep - Pseudocode Practice(edward_mosley_52506)

Flashcard
•
Computers
•
10th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Similar Resources on Quizizz
10 questions
Python Loops Flashcard

Flashcard
•
10th Grade
10 questions
Scratch Coding Vocabulary

Flashcard
•
9th Grade
6 questions
Python -- Inputs

Flashcard
•
9th - 12th Grade
14 questions
Quarter 1 PLTW CSE Exam Review

Flashcard
•
10th Grade
10 questions
French Revolution and Napoleon

Flashcard
•
10th Grade
10 questions
CONSTRUCTION DRAWINGS

Flashcard
•
11th Grade
14 questions
CodeHS: Unit6 - JavaScript Basics

Flashcard
•
9th Grade
10 questions
PLTW CSE L1 Vocab P1/2

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University