Search Header Logo

Variables and Conditionals review

Authored by Nathan Jeffers

Computers

8th Grade

Used 71+ times

Variables and Conditionals review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a word we set that contains a specific type of data that we use to keep track of information in our code

Variable

Conditional

Object

Method

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The information that’s stored inside a variable, such as a number or a name, is called what?

Variable

Value

Object

Conditional

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which word is the variable name in this line of code: var steps = 2;

var

steps

2

;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What word is the variable name in this line of code: var enemy = hero.findNearestEnemy();

findNearestEnemy

hero

enemy

var

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What word is the variable name in this line of code: var friend = "George";

"George"

var

=

friend

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value in this line of code? var steps = 3;

var

steps

3

;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value in this line of code: var friend = "George";

friend

var

"George"

;

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?