BJC AP CSP Unit 3 Exam Review (In-Class)

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

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is shopping list[6]?
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
15 questions
Trigonometry

Flashcard
•
9th - 12th Grade
15 questions
Scatter Plots

Flashcard
•
9th - 12th Grade
13 questions
Mechanical Energy

Flashcard
•
11th Grade
13 questions
Day 65 Elapsed Time Flashcard

Flashcard
•
9th - 12th Grade
12 questions
Budgeting

Flashcard
•
9th - 12th Grade
14 questions
9.4 - Special Right Triangles

Flashcard
•
9th - 12th Grade
15 questions
Trigonometry

Flashcard
•
9th - 12th Grade
15 questions
Saving Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade