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
10 questions
CSP Unit 3 Assessment

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

Flashcard
•
12th Grade
10 questions
code.org Unit 3 Intro to App Design

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

Flashcard
•
9th - 12th Grade
10 questions
AP Computer Science Principles - Unit 3: App Design

Flashcard
•
9th - 12th Grade
7 questions
CodeHS 2.8 Functions to 2.12 User Input Review

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Photo App List Flashcard

Flashcard
•
9th - 12th Grade
9 questions
Video Games

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University