wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CompTIA Tech+ Review - 10.14.2025

Total questions: 24

Worksheet time: 1hrs 12mins

Name
Class
Date
1.

Grace is learning to code and her teacher tells her that she must follow certain rules when writing her programs, just like how sentences in English need correct grammar. What does “syntax” mean in programming?

a)

The meaning of code

b)

The rules that define how code must be written

c)

The process of debugging

d)

The software used to write code

2.

William is running a school fair game where players earn points for every correct answer. He needs a way to keep track of each player's score as they play. What should William use to store this changing score?

a)

A fixed number

b)

A command

c)

A named storage location for data

d)

A loop

3.

Oliver wants to keep track of his favorite fruits together in one place. Which of the following would allow him to store multiple items in a single variable?

a)

List

b)

Integer

c)

Boolean

d)

String

4.

Grace wants to assemble a piece of furniture, but she needs instructions to follow. In a computer, what is the role of code?

a)

Makes the computer sleep

b)

Deletes files

c)

Tells the computer what to do

d)

Cleans memory

5.

Kai is interested in developing a new tool to help organize his schoolwork. What can he use Python for?

a)

Only video games

b)

Writing and running programs

c)

Playing music

d)

Sending emailspyhpython

6.

Michael is helping his friend Grace learn Python. He asks Grace to type the following code on her computer: print("Hi!"). What will appear on Grace's screen when she runs this code?

a)

Nothing

b)

The word print

c)

Error

d)

Hi!

7.

David is designing a smart home system that checks if the front door is locked or unlocked. Which value type should he use to represent True or False?

a)

Boolean

b)

String

c)

Integer

d)

Float

8.

Ava is working on a new software application for a local bakery. One day, she notices that the program is not behaving as expected when processing customer orders due to a mistake in the code. What is another name for this kind of program error?

a)

Bug

b)

Feature

c)

Loop

d)

Input

9.

Ava is opening a bakery and wants to keep track of her customers' contact details, their orders, and the ingredients she has in stock. What tool should she use?

a)

Editing photos

b)

Sending emails

c)

Storing and organizing data

d)

Playing musicdad

10.

Luna is fascinated by technology and wants to use her coding skills in real life. She wonders what kinds of things she could accomplish if she learns to code. Which of the following can Luna achieve by learning to code?

a)

Program robots

b)

create websites, games & apps

c)

tell computers what to do

d)

all of the above

11.

Sophia is managing a customer database for a local bookstore. Each row in the table contains details about one customer, such as their name, contact information, and purchase history. What term is used to refer to a row in this table?

a)

Record

b)

Primary key

c)

Foreign key

d)

Field

12.

Evelyn is helping to organize a library database. For each book, she enters details such as the title, author, and publication year into the system. What is each single row of information about a book called in this database?

a)

record

b)

cell

13.

Jackson wants to automate some tasks on his computer and is looking for a tool that will allow him to write instructions for the computer to follow. He is considering the following options. Which one is a programming language?

a)

Photoshop

b)

Python

c)

PowerPoint

d)

Excel

14.

Grace is creating a program to keep track of the number of books she has read. What is the main purpose of a variable in her program?

a)

To play music

b)

To print documents

c)

To display images

d)

To store data

15.

Kai is organizing a garage sale and wants to keep track of the total number of items being sold. Which data type should Kai use to store the total number of items?

a)

Boolean

b)

String

c)

List

d)

Integer

16.

Jackson wants to bake a cake and follows a recipe that lists each step he needs to take. What does this recipe represent in terms of problem-solving?

a)

A hardware part

b)

A step-by-step set of instructions to solve a problem

c)

A software license

d)

A variable name

17.

Priya is creating a website and forgets to put a semicolon at the end of a CSS rule, causing the style to not apply. What type of error has Priya made?

a)

Logic error

b)

Syntax error

c)

Runtime error

d)

System error

18.

Evelyn is setting up a new database for her business and needs to create a table to store customer information. Which SQL command should she use to create a new table?

a)

CREATE TABLE

b)

ADD TABLE

c)

NEW TABLE

d)

MAKE TABLE

19.

In a company's employee database, James wants to connect the records in the 'Employees' table to the 'Departments' table so that each employee is linked to their department. What is the type of key James should use to link data between these two tables?

a)

A primary ID

b)

A database backup

c)

A temporary password

d)

A key that links data between two tables

20.

Oliver is developing a calculator app. He writes a function that performs a calculation, and he wants the function to send the result back to the part of the app that requested it. What should Oliver use inside his function?

a)

Prints text

b)

Ends the loop

c)

Sends a value back to the code that called it

d)

Deletes variables

21.

Arjun is working on a Python project for his school assignment. While coding, he accidentally types 'pritn' instead of 'print'. What kind of error will this cause?

a)

Output error

b)

Runtime error

c)

Logic error

d)

Syntax error

22.

Sophia is creating a digital diary where she wants to remember her age for future entries. What should she use to keep this information?

a)

A loop

b)

A variable

c)

A comment

d)

A function

23.

David is learning to use Scratch to create his own animations. He notices a section where he can arrange different commands to make his sprite move and interact. What do you call the list of commands in Scratch that David is working with? 

a)

Sprite

b)

Script

c)

Scratch

d)

Help

24.

Evelyn wants her computer to automatically organize her photos by date. She writes a set of instructions for the computer to follow. What is this set of instructions called?

a)

Program

b)

Compiler

c)

Assembler

d)

Translator