Add Variables

Add Variables

8th Grade

6 Qs

quiz-placeholder

Similar activities

JavaScript variable quiz

JavaScript variable quiz

7th - 12th Grade

10 Qs

Scratch 6

Scratch 6

4th - 11th Grade

10 Qs

Programming - Variables & Constants

Programming - Variables & Constants

4th - 12th Grade

10 Qs

Scratch Code

Scratch Code

KG - 11th Grade

10 Qs

Programming - Arrays

Programming - Arrays

2nd - 12th Grade

10 Qs

SCRATCH

SCRATCH

4th - 8th Grade

10 Qs

GameMaker Quiz 5

GameMaker Quiz 5

KG - Professional Development

8 Qs

Unit 0-3

Unit 0-3

6th - 8th Grade

10 Qs

Add Variables

Add Variables

Assessment

Quiz

Computers

8th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

Barbara White

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You're writing an app to track your sleep habits. Which value is most likely represented by a variable?

Your name

The brand of mattress you sleep on

The usual time you go to sleep

The number of hours you sleep in a night

Tags

CCSS.6.EE.B.6

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which word always describes the value of a variable?

Adjustable

Hidden

Static

Minimal

Tags

CCSS.6.EE.B.6

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You're writing some code that will add your signature to any email you send. Which of the following is the best name for the variable?

Me

Sincerely

Name

Email

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between assigning and initializing a variable?

Initializing occurs after declaring; assigning occurs before

Initializing occurs once; assigning can occur multiple times

Initializing is optional; assigning is mandatory

Initializing involves a string; assigning involves a single character

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The variable PlayerScore represents a player's score in a videogame. If a player scores 10 more points, how would the variable be updated?

PlayerScore - 10

PlayerScore 0

PlayerScore 10

PlayerScore + 10

Tags

CCSS.6.EE.B.6

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The main cause of bugs in coding is:

hardware malfunction

human error

changing the value of variables

using too many variables