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
Flashcards

Flashcard
•
KG
11 questions
Safety and Security in Business Flashcard

Flashcard
•
9th Grade
10 questions
French Revolution and Napoleon

Flashcard
•
10th Grade
8 questions
Warm Up- EduBlocks- Terms and Concepts

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

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

Flashcard
•
9th - 12th Grade
10 questions
JavaScript While Loop Flashcard

Flashcard
•
11th Grade
10 questions
Code.org Unit 3 Review: Intro to App Design

Flashcard
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade