What is shopping list[6]?
BJC AP CSP Unit 3 Exam Review (In-Class)

Flashcard
•
Computers, Education
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
chips
Answer explanation
AP Exam pseudocode:
item 6 of "shopping list"
2.
FLASHCARD QUESTION
Front
What is the output of point(x,y) which takes in two numbers & reports a list, [x,y], ignoring the words? Options: [-50,20], [10, 120], [30,20]; [-50], [10], [30]; [-50, 10, 30]; -50, 10, 30
Back
-50, 10, 30
Answer explanation
The last three choices are not identical. Square brackets, [], denote a list.
3.
FLASHCARD QUESTION
Front
A global and a local variable have the same name. Will changing the value of the global variable affect the local one?
Back
No
Answer explanation
Even if they have the same name.
Global variable: When you click "Make a variable" button in the Variables palette.
Local variable: A script variable or a paramter.
4.
FLASHCARD QUESTION
Front
Where will the sprite end up after the code above is executed? Options: A, B, C, D
Back
A
Answer explanation
The curly brackets {} denote what is repeated before the next instruction runs. So, the first repeat has to finish before the second repeat starts.
5.
FLASHCARD QUESTION
Front
Which brick wall could not be drawn by the block above? A, B, C, D
Back
D
Answer explanation
Check each random reporter by itself, if possible. Can only draw 2-4 full bricks per row.
6.
FLASHCARD QUESTION
Front
Which script(s) will allow the sprite to escape the maze?
Back
Both scripts
Answer explanation
Write things down on paper. They work the same way.
7.
FLASHCARD QUESTION
Front
What is output when the code above is run? Options: 21, 22, 23, Nothing gets displayed; this is an infinite loop
Back
22
Answer explanation
Pen/pencil to draw trace table.
5, 6, 7, 8, 9, 10, 13, 16, 19, 22
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
BJC AP CSP Unit 3 Exam Review (In-Class)

Flashcard
•
9th - 12th Grade
6 questions
Understanding Loops and Lists

Flashcard
•
9th - 12th Grade
10 questions
CMU Python Intro Flashcard

Flashcard
•
9th - 12th Grade
10 questions
POE Simple Machines

Flashcard
•
10th - 12th Grade
9 questions
Saving

Flashcard
•
9th - 12th Grade
9 questions
IST, Final Exam

Flashcard
•
10th Grade
10 questions
Box Plots

Flashcard
•
9th - 12th Grade
12 questions
BJC AP CSP Unit 3 Exam Review (In-Class)

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
30 questions
Linear Inequalities

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

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