
Understanding Variables in Programming

Quiz
•
Information Technology (IT)
•
7th Grade
•
Hard

John Heatley
Used 3+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable commonly used for in video games?
To display graphics
To track your score, health points or lives remaining
To play background music
To control the game speed
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where is a variable stored in a computer?
On the screen
In a memory location
On the hard drive only
In the printer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why does each variable need a unique name?
So you can easily find and use the data it holds
To make the programme run faster
To save storage space
To make the code look colourful
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can happen to the data held by a variable during the running of a programme?
It always stays the same
It can change
It disappears
It becomes a file
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a real-world example of something that could be represented by a variable?
The temperature displayed on a weather app
A countdown timer in a game
The number of letters in the alphabet
The number of steps you take in a day
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is it called when a programme stores a value in a variable?
Calculation
Assignment statement
Looping
Outputting
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an assignment statement do?
It solves equations
It stores or updates the value held by a variable
It prints text to the screen
It creates a new window
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
20 questions
Morpheme Mastery Quiz for Grade 7

Quiz
•
7th Grade
10 questions
Fast Food Slogans

Quiz
•
6th - 8th Grade