
AP CSP Unit 3 Review
Flashcard
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Easy
Jennie Phipps
Used 1+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Helpful actions in app design: I and III
Back
I and III only
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.
FLASHCARD QUESTION
Front
Purpose of a design specification (prototype):
Back
Describes requirements for program functionality and user interaction.
Answer explanation
We created a prototype of the app.
3.
FLASHCARD QUESTION
Front
Background color of topButton after execution?
Back
blue
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.
FLASHCARD QUESTION
Front
Color of 'topButton' if not clicked?
Back
blue
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.
FLASHCARD QUESTION
Front
Program run, user clicks 'topButton' once. Console output?
Back
cat dog bird
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.
FLASHCARD QUESTION
Front
Program run, user clicks 'bottomButton' then 'topButton'. Console output?
Back
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.
FLASHCARD QUESTION
Front
Program run, user clicks 'bottomButton' twice. Console output?
Back
banana dragon fruit cherry cherry
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.
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?
Similar Resources on Wayground
8 questions
Lesson 3 - Internet Concepts
Flashcard
•
KG
11 questions
Parts of a Camera 1
Flashcard
•
11th Grade
7 questions
Computer Games Then and Now Flashcard
Flashcard
•
KG - University
10 questions
Output Devices
Flashcard
•
10th Grade
10 questions
Programming Overview
Flashcard
•
8th - 12th Grade
14 questions
Excel Module 2
Flashcard
•
9th Grade - University
10 questions
Social Etiquette
Flashcard
•
9th - 12th Grade
10 questions
Operating Systems Flashcard
Flashcard
•
8th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade