Search Header Logo

Coding with Variables

Authored by Beth Osten

Computers

8th Grade

Used 5+ times

Coding with Variables
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

3 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When coding with variables, you must

first define/set the variable, then change the variable in a loop

only change the variable in a loop

only set the variable at the beginning

Set the variable at the beginning with a mathematical expression

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The above code will not run because

the variable is not defined

the variable should not be set to 3

the variable will always be equal to 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Select the correct code below.

Media Image
Media Image
Media Image

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?