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 Wayground
9 questions
IST, Final Exam

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

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

Flashcard
•
9th - 12th Grade
10 questions
Box Plots

Flashcard
•
9th - 12th Grade
10 questions
AACPS Statistical Analysis - Box and Whisker Plots

Flashcard
•
9th - 12th Grade
7 questions
Understanding Body Dysmorphic Disorder

Flashcard
•
KG
12 questions
Code.org Unit 6 Assessment Day

Flashcard
•
9th - 12th Grade
9 questions
Saving

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade