What will the console log say when this program is run? Assume the user clicks the button after 10 seconds of the program being run.
Unit 3: Intro to App Design (APCSP 22-23, Code.org)

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

S Wines
Used 725+ times
FREE Resource
Student preview

32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
"Starting my program!"
"You clicked the button!"
"Ending my program!"
"Starting my program!"
"Ending my program!"
"You clicked the button!"
"You clicked the button!"
"Starting my program!"
"Ending my program!"
"You clicked the button!"
"Ending my program!"
"Starting my program!"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After the program is run, what will the text color of smallButton be?
red
blue
green
yellow
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not one of the purposes of having potential users test a program or app?
To write the code for the program/app.
To see if there are any bugs in the program/app.
To get input on the design of the program/app.
To see how a user interacts with the app/program.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the user clicks the button, what color will "topButton" be when the program finishes running?
red
green
blue
orange
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When this program is run, the user clicks "topButton" then "bottomButton" and then "topButton" again. What will be displayed in the console?
aaa
bbb
ccc
aaa
aaa
ccc
bbb
aaa
ccc
aaa
bbb
aaa
aaa
bbb
aaa
ccc
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code is most likely to return an error?
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following describes "event-driven programming?"
Commands run one at a time in the order that they are written.
Commands run one at a time in response to user interactions or other events.
Commands all run at the same time when the user interacts with the app.
Commands all run whether or not the user interacts with the program.
Create a free account and access millions of resources
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
Discover more resources for Computers
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
37 questions
Camp Re-cap Week 1 (no regression)

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

Quiz
•
10th Grade