Add Variables
Quiz
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Standards-aligned
Barbara White
FREE Resource
Enhance your content in a minute
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
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Y8 Flow Diagrams
Quiz
•
8th Grade
10 questions
2.1 Algorithms and Computational Thinking
Quiz
•
8th - 11th Grade
10 questions
Intro to Python
Quiz
•
KG - University
10 questions
Small Basic Basics
Quiz
•
8th - 9th Grade
10 questions
Y8 Microbit Python
Quiz
•
8th Grade
10 questions
8-sinf Cambridge II chorak
Quiz
•
8th Grade - University
11 questions
KS3 - Programming Key terms
Quiz
•
8th Grade
10 questions
Mengenal Microsoft Word
Quiz
•
1st - 9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
