Add Variables

Add Variables

8th Grade

6 Qs

quiz-placeholder

Similar activities

scratch-7

scratch-7

7th - 10th Grade

10 Qs

Python L1 Quiz 8: Designing Programs

Python L1 Quiz 8: Designing Programs

1st - 12th Grade

10 Qs

Variables

Variables

7th - 8th Grade

5 Qs

Introduction to Python, variables and data types

Introduction to Python, variables and data types

8th Grade

8 Qs

Wireless Communication

Wireless Communication

6th - 8th Grade

10 Qs

AppLab

AppLab

6th - 8th Grade

10 Qs

Scratch 8

Scratch 8

4th - 11th Grade

10 Qs

Scratch Quiz 4 - 2025/26

Scratch Quiz 4 - 2025/26

8th - 10th 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