What is a variable?
Quiz on Variables

Quiz
•
Information Technology (IT)
•
7th Grade
•
Medium
Used 3+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A) A special character in coding
B) A place to store information in a program
C) A type of animal in a game
D) A method of deleting data
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data can a variable store?
A) Only numbers
B) Only text
C) Numbers, text, or True/False values
D) Only images
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is an example of a variable in a game?
A) The colour of the background
B) The game’s music
C) The player’s score
D) The game’s graphics
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name?
A) 1stPlayer
B) player name
C) playerScore
D) player-name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, how would you declare a variable to store a player’s name?
A) set playerName = "Alice"
B) playerName: "Alice"
C) playerName = "Alice"
D) name.player = "Alice"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the code age = input("Enter your age: ") do?
A) Displays your age on the screen
B) Stores the user’s input as the variable age
C) Changes the user’s age
D) Deletes the user’s age
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these can change throughout a program?
A) A constant
B) A variable
C) A command
D) A function
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Google Drive Quiz

Quiz
•
7th Grade
21 questions
Technology Safety Rules

Quiz
•
6th - 8th Grade
23 questions
Grade 7 ICT: Types of Computers

Quiz
•
7th Grade - University
22 questions
MS Excel

Quiz
•
4th Grade - University
20 questions
Perangkat Lunak (Software)

Quiz
•
7th Grade
20 questions
Exploring the World of AI

Quiz
•
6th Grade - University
23 questions
Cybercrime exercise

Quiz
•
7th Grade - University
20 questions
Thử thách 6-Đường đua lập trình-Lớp 7

Quiz
•
7th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
43 questions
LinkIt Test - 24-25_BM4_7th

Quiz
•
7th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
14 questions
One Step Equations

Quiz
•
5th - 7th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
37 questions
7th Grade Summer Recovery Review

Quiz
•
7th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade