Search Header Logo

Code.org Quiz2

Authored by Noura Elmawardy

Computers

7th Grade

Used 7+ times

Code.org Quiz2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What property would you adjust to change the color of text displayed on a label?

background-color

text-color

font-family

border-color

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to hide an element on the screen, which property should you set?

opacity

display

visibility

position

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Code.org, what does the setScreen() function do?

It changes the background color of the current screen

It switches the displayed screen to another predefined screen

It resets all screens to their original states

It deletes the current screen

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the addEventListener() function do in programming?

It creates a new button on the screen

It listens for user interactions on specified elements

It changes the text of an element

It deletes an event from the system

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a sound board application, which of the following is necessary to play a sound?

Calling changeSound() function

Using the playSound() function with a specified sound

Adding a sound file directly to the button

Changing the button's text property

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of comments in code?

To increase the file size

To explain the code to others (or yourself)

To execute specific functions

To change the appearance of the app

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to test your app frequently during development?

To ensure it looks good

To catch and fix errors early

To add more features

To make it run faster

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?