Search Header Logo

Code.Org Unit 4 Variables

Authored by Andrew Wilson

Computers

11th Grade

Used 57+ times

Code.Org Unit 4 Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

The "Comment" block allows...

You to organize your code which changes it

You to organize your code and doesn't change it

Is a warning that something is wrong with your code

Is a useless block and has no meaning

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is y equal to at the end of this program?

30

100

50

55

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is x equal to at the end of this program?

30

100

50

55

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What number will print to the console at the end of this program?

20

21

23

24

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is y equal to at the end of this program?

100

101

102

120

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What number will print to the console at the end of this program?

20

100

120

220

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This code doesn't work properly. Which line is causing the problem?

1

3

6

8

Answer explanation

You only need to type "var" for the variable the first time you use it in the code. You need to delete the "var" in line 6.

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?