Intro to Programming - AP CSP Unit 2 Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Victoria Craig
Used 93+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Chad has written the majority of his code in Scratch and is ready to start thinking of test cases to make sure that his program functions properly, and when issues arise, fix them. Chad is also going to show his program to his classmate and ask for any feedback or changes he could add to make his program better. This process is known as what?
Iterative Development Process
Debugging
Pseudocode
Program Detection
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the below options would be the best set of instructions to give for a program designed in Scratch?
Make your way through the maze! Avoid the brain-eating zombies and be sure to collect the “hearts” for extra lives. Good Luck!
Dodge zombies, gain lives, all while trying to make it through the maze! Click start to begin your exciting adventure.
Click on the GREEN flag. Once the game starts, use the arrow keys to navigate your way through the maze. In your travels, collect the “hearts” for more lives and avoid being eaten by zombies.
Ready, set, RUN!!!!! Use your skills and intelligence to weave your way through the maze, avoiding obstacles and prove that you’ve got what it takes to survive!
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following would be the most appropriate name for a variable?
variable1
t
amountOfTimeRemainingInTheGame
time_left
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the image above.
Which of the following values is displayed if the user inputs the following list of values for each prompt:
1 2 3 4 5 6 7 8 9 15
3
4
5
6
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Assuming that before this code is run, x = 1. What would be displayed at the end?
210
16
8
1
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What condition will make the following an infinite loop?
y = -108
y ≠ -3
y ≥ 8
y < -53
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
If the variables onTime and absent both have the value false, what is displayed as a result of running the code segment?
Is anyone there?
Better late than never.
Hello. Is anyone there?
Hello. Better late than never.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Unit 6. Mathematical Library Methods

Quiz
•
9th - 10th Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
15 questions
KS4 - Python Turtle

Quiz
•
9th - 11th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
21 questions
Programming - Python (year 12)

Quiz
•
9th - 12th Grade
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
20 questions
JAVA FUNDAMENTALS

Quiz
•
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade