
[9] Intro to Programming - AP CSP Unit 2 Review(victoria_craig_47436))
Flashcard
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

17 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Chad has written the majority of his code in Snap 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?
Back
Iterative Development Process
2.
FLASHCARD QUESTION
Front
Which of the below options would be the best set of instructions to give for a program designed in Snap? Options: 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!
Back
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.
3.
FLASHCARD QUESTION
Front
Which of the following would be the most appropriate name for a variable? variable1, t, amountOfTimeRemainingInTheGame, time_left
Back
time_left
4.
FLASHCARD QUESTION
Front
Which value is displayed if the user inputs the following list of values for each prompt: 1, 2, 3, 4, 5, 6, 7, 8, 9, 15?
Back
6
5.
FLASHCARD QUESTION
Front
Assuming that before this code is run, x = 1. What would be displayed at the end? Options: 210, 16, 8, 1
Back
16
6.
FLASHCARD QUESTION
Front
What condition will make the following an infinite loop? y ≥ 8
Back
y ≥ 8
7.
FLASHCARD QUESTION
Front
If the variables onTime and absent both have the value false, what is displayed as a result of running the code segment?
Back
Better late than never.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?