Search Header Logo

Lesson 2: Buttons and Events

Authored by Rashad Davis

Computers

9th Grade

Used 11+ times

Lesson 2: Buttons and Events
AI

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

The ​ (a)   of ​ (b)   will ​ change to pink when you ​ (c)   ​ (d)   . ​

text-color
button1
blue
press
click

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?