Which of the following actions would usually be helpful in designing and developing an app?

AP CSP Unit 3 Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Alexandria BrenonHodas
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
I and II only
I and III only
II and III only
I, II, and III
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the purpose of a design specification?
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
You completed this type of specification during step 4 of the project at the end of Lesson 3 - Designing an App Part 1.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
30 sec • 1 pt
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
30 sec • 1 pt
The following program is run completely. 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
30 sec • 1 pt
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
30 sec • 1 pt
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
Similar Resources on Quizizz
10 questions
Unit 3 Quiz

Quiz
•
10th Grade - University
10 questions
Coding - Computer Programming

Quiz
•
KG - University
10 questions
Programming Languages

Quiz
•
11th Grade
13 questions
Python Basics (Y9)

Quiz
•
8th - 10th Grade
8 questions
Code.org Unit 3 Review

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

Quiz
•
9th Grade
15 questions
Coding Pre-quiz

Quiz
•
6th - 9th Grade
12 questions
CSP: Code.org - Unit 3 Vocabulary Review

Quiz
•
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