
Understanding Variables in Programming
Authored by John Heatley
Information Technology (IT)
7th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?