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
What is a variable?
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
21 questions
Cfa Block coding
Quiz
•
7th Grade
21 questions
Technology Safety Rules
Quiz
•
6th - 8th Grade
23 questions
List | Set | String - Nâng cao (1)
Quiz
•
6th - 8th Grade
22 questions
KELAS 7 SEMESTER GANJIL 2024-2025
Quiz
•
7th Grade
25 questions
HARDWARE Y SOFTWARE DEFINICIÓN
Quiz
•
7th Grade
22 questions
ÔN TẬP CRV1
Quiz
•
6th Grade - University
20 questions
SE LIGA I - 2DS - ANÁLISE E PROJETO DE SISTEMAS
Quiz
•
2nd Grade - University
20 questions
soal algoritma dan pemograman
Quiz
•
7th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
12 questions
Digital Citizenship BSMS
Quiz
•
6th - 8th Grade
15 questions
Prefixes: pro- and trans- Assessment
Quiz
•
7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween History Trivia
Quiz
•
7th - 8th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
