What is a variable in programming?
TSA Coding Practice Test 2025

Quiz
•
Computers
•
8th Grade
•
Easy
Quizizz Content
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A place to store data that can change
A fixed value that cannot be altered
A type of function that performs calculations
A method for organizing code into classes
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which programming structure is used to repeat actions multiple times?
Loop
Function
Conditional
Array
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What happens when the following Scratch code is run?
The sprite turns 15 degrees once
The sprite continuously turns 15 degrees
The sprite stops turning after 15 degrees
The sprite moves in a straight line
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of the "else" statement in an "if" condition?
To run code when the "if" condition is true
To run code when the "if" condition is false
To define a function
To declare a variable
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which part of a computer is responsible for executing code?
RAM
CPU
Hard Drive
Motherboard
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is an example of a string?
"Hello, world!"
12345
undefined
True
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will happen with the following code in Scratch?
The sprite moves 10 steps every 1 second
The sprite waits 1 second then moves 10 steps continuously
The sprite moves 10 steps and stops
The sprite waits for the mouse click
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Scratch

Quiz
•
5th - 9th Grade
16 questions
Scratch Coding Basic Vocabulary

Quiz
•
6th - 8th Grade
17 questions
Scratch

Quiz
•
7th - 8th Grade
20 questions
Scratch Pre-Assessment

Quiz
•
5th - 9th Grade
21 questions
Introduction to CS

Quiz
•
7th Grade - University
20 questions
Scratch Year 7 End of Unit Quiz

Quiz
•
7th - 8th Grade
19 questions
Scratch Quiz

Quiz
•
4th - 8th Grade
21 questions
Code.Org - Part II

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade