Helpful actions in app design: I and III

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
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 Quizizz
9 questions
User Interface

Flashcard
•
10th Grade
16 questions
Unit 3 - Intro to App Design

Flashcard
•
12th Grade
8 questions
Investigating and Creating Variables Flashcard

Flashcard
•
11th Grade - University
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
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
6 questions
EXIT TICKET: Unity Review 2

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade