Search Header Logo

TSA Coding Practice Test 2025

Authored by Wayground Content

Computers

8th Grade

Used 7+ times

TSA Coding Practice Test 2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is a variable in programming?

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

Media Image

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

Media Image

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?