
Year 7 ICT MCQ Quiz: Variables
Authored by SAMANTHA NICOLE
Computers
7th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A type of computer hardware
A place to store data that can change
A command to print text
A fixed value that never changes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a variable name?
score
if
else
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a variable do in a program?
Runs the program
Stores information like numbers or text
Displays the program on the screen
Deletes old code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the code name = "Alice", what is the variable?
Alice
=
name
" "
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can a variable store?
Only numbers
Only text
Numbers, text, or other data
Only commands
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the code points = 10, what happens if you change points = 20 later?
The program stops
points now stores 20
points keeps storing 10
The code causes an error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable name is most appropriate for storing a player’s age?
x
age
number
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?