
Lesson 2: Buttons and Events
Authored by Rashad Davis
Computers
9th Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of the setProperty function in the second event?
To run the program.
To listen for events on the button.
To change the button background color to black.
To change the button text color to pink.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will happen when the first time button1 is clicked?
The button text color will change to pink and the background color will change to black.
The button text color will change to pink.
Nothing will happen.
The button background color will change to black.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the object being changed by setProperty?
Button 1
Text-Color
Background-color
The color black
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will happen when the second time button1 is clicked?
Button1 changes to black
The text of button1 changes to blue
The background color of button1 changes to black
Nothing at all
5.
DRAG AND DROP QUESTION
1 min • 1 pt
The (a) of (b) will change to pink when you (c) (d) .
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?