
AP CSP Unit 3 Review

Flashcard
•
Computers
•
10th - 12th Grade
•
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.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Code.org Unit 3 Review: Intro to App Design

Flashcard
•
12th Grade
10 questions
Code.org Unit 3 Post-Assessment: Intro to App Design

Flashcard
•
9th Grade
15 questions
AP CSP - Code.org Unit 3 Review

Flashcard
•
9th - 12th Grade
6 questions
EXIT TICKET: Unity Review 2

Flashcard
•
9th - 12th Grade
13 questions
App Lab Review

Flashcard
•
9th - 12th Grade
14 questions
Unit 4 Assessment Day

Flashcard
•
9th - 12th Grade
10 questions
AP Computer Science Principles - Unit 6: Algorithms

Flashcard
•
9th - 12th Grade
10 questions
CSP Unit 3 Assessment

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade