
AP CSP Unit 3 Review
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Joanna Stevens
Used 23+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the actions would usually be helpful in designing and developing an app?
I and II only
I and III only
II and III only
I, II, and III
Answer explanation
Consultation and communication with program users is an important aspect of program development. Incrementally adding tested program segments to correct working programs helps create large correct programs. You received feedback from your peers when you generated your idea. You also observed classmates using their apps last week.
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following best describes the purpose of a design specification (aka prototype)?
Tracking errors that arise through user testing
Documenting comments that will need to be added to a program
Describing the requirements for how a program will work or users will interact with it
Listing detailed questions that will be asked of users during interviews
Answer explanation
We created a prototype of the app.
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What will the “background-color” of the “topButton” be when the program is finished running?
red
orange
blue
green
Answer explanation
This is an example of sequential programming where the program statements run in order, from top to bottom. Since the last change to the “background-color” of the “topButton” is to the color blue, that is the color it will be when the program is done running.
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
If the user does NOT click the button what color will “topButton” be when this program finishes running?
red
blue
green
orange
Answer explanation
Since this is an example of event-driven programming, the commands on lines 4 and 5 will only execute when the user clicks the “topButton” since they are inside the onEvent block.
Since this question asks about the situation of the user NOT clicking the button, the last change to the color happens when line 2 executes and sets it to blue.
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
The following program is run. Then the user clicks the "topButton" button ONCE. What will be displayed in the console?
cat bird dog
dog cat bird
cat dog bird
bird cat dog
Answer explanation
Once the program is run, lines 1 and 5 will run, in that order, right away, meaning that the first two words displayed will be cat and dog respectively.
The word bird will be displayed once the user clicks the “topButton” and causes line 3 to run.
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
The following program is run. Then the user clicks the “bottomButton” ONCE and then clicks the “topButton” ONCE. What will be displayed in the console?
cow pig chicken
cow chicken pig
pig cow chicken
chicken pig cow
Answer explanation
Walking through the code run based on the description in the question:
Line 7 will run as soon as the program is run, displaying chicken to the console.
The user clicks the “bottomButton” ONCE which causes line 5 to run, displaying pig to the console.
The user clicks the “topButton” ONCE which causes line 2 to run, displaying cow to the console.
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
The following program is run. Then the user clicks the “bottomButton” TWO TIMES. What will be displayed in the console?
apple banana cherry cherry dragon fruit
banana dragon fruit cherry cherry
banana dragon fruit apple apple
banana cherry cherry dragon fruit
Answer explanation
Walking through the code run based on the description in the question:
Lines 4 and 8 will run as soon as the program is run, in that order, displaying banana then dragon fruit to the console.
The user clicks the “bottomButton” the first time which causes line 6 to run, displaying cherry to the console.
The user clicks the “bottomButton” the second time which causes line 6 to run again, displaying cherry to the console again.
Create a free account and access millions of resources
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?
Similar Resources on Wayground
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
10 questions
Quiz 8 (01.09.2021)
Quiz
•
1st - 12th Grade
10 questions
Quiz Kelas 4
Quiz
•
10th Grade
10 questions
Asesmen awal TIK
Quiz
•
10th Grade
10 questions
ICT as Platform for Change
Quiz
•
11th - 12th Grade
10 questions
emtech
Quiz
•
12th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
