Font size
WorksheetsIntroduction to Software Technology Pretest
Total questions: 50
Worksheet time: 50mins
Scarlett, Abigail, and Aiden are on a mission to bake the most amazing cake ever for their friend! They follow a magical set of instructions to make sure every step is just right. In computer science, what is this special set of instructions called?
A list of steps to complete a task.
A type of computer hardware.
A programming language.
A visual representation of data.
Benjamin, Olivia, and Emma are on a mission to create the coolest website ever! They want to make sure that everyone—including people with disabilities or those using older technology—can enjoy and use their site with ease. What is the main thing they are focusing on?
The ability to access the internet quickly.
The design of products, devices, services, or environments to allow all users, including those with disabilities or older technology, to access them.
The process of debugging a program.
The use of binary code in programming.
Isla, Nora, and Oliver are on a mission to create a super cool animation on their computer! Instead of typing out lots of tricky code, they get to snap together bright, colorful blocks—each one making their character jump, spin, or even dance! What type of programming language are Isla, Nora, and Oliver using for their awesome project?
Block-based programming language
Binary alphabet
Command line interface
Bytecode language
Sophia, Kai, and Ava are teaming up to help their friend William with a cool new app, but every time they try to use it, the app crashes and causes chaos! Why is "debugging" such an important part of programming for William and his friends?
It helps find and fix problems in an algorithm or program.
It allows users to access the internet.
It creates new programming languages.
It increases the speed of the computer.
Evelyn, Abigail, and Oliver are collaborating on a cool online group project. Suddenly, Evelyn starts receiving a lot of mean messages from another student in their group chat. What is this situation called, and what should Evelyn do to handle it?
Cyberbullying; the student should report the behavior to a trusted adult or authority.
Debugging; the student should fix the code.
Crowdsourcing; the student should ask for more help.
Abstraction; the student should simplify the problem.
Luna, Aria, and Liam are having a lively group chat online. Luna always makes sure to act safely, responsibly, and respectfully whenever she is on the internet. What term best describes Luna?
digital citizen
function call
iteration
frustrated
Noah, Hannah, and Lily are teaming up to create an awesome computer game! They want their program to do something exciting whenever a player clicks a button or types on the keyboard. What is the main purpose of an event handler in this fun project?
To monitor and respond to specific events or actions on a computer
To connect computers and servers together
To assign numbers to items connected to the Internet
To transmit information using light
Aria, Mia, and Scarlett are teaming up to help Elijah water his magical plants every day for a week, starting on Monday and ending on Sunday. Each day, they add 100 ml more water than the day before to see whose plant grows the tallest and sparkliest! Which programming structure would best help them repeat this task with a set start, end, and increase?
for loop
function definition
pattern matching
output
Charlotte, Ethan, and Noah are all excitedly applying for their dream jobs! Their future bosses decide to search for them online. How might their digital footprints shape what people think about them? Can you give an example to support your answer?
A digital footprint is the information about someone on the Internet, which can affect how others perceive them. For example, inappropriate social media posts can harm job prospects.
A digital footprint is a way to give information to a computer, which helps in programming.
A digital footprint is a method of sending information using cables, which improves Internet speed.
A digital footprint is a number assigned to an item connected to the Internet, which helps in identification.
Harper, Liam, and Avery are designing a super cool smart home! They want the lights to magically turn on only when it gets dark outside—like magic! Which programming structure should they use to make this happen, and why is it important in programming?
if-statement; it allows the program to make decisions based on conditions.
output; it helps to get information out of a computer.
packets; they are used to send information over the Internet.
persistence; it means trying again and again.
Avery, Isla, and Grace are teaming up for a digital art adventure! As they zoom in closer and closer to their colorful creation, they discover it's made up of many tiny, vibrant squares. What is the name of this basic building block of a digital image, usually a tiny square or dot that holds a single point of color?
pixel
variable
server
username
Elijah, Aria, and Oliver have each created a cool set of instructions for their robot. What should they do to watch their robot spring into action and see their awesome work come to life?
run program
repeat
try
trustworthy
Ava, Arjun, and Rohan are teaming up on Code.org's online learning system to create an awesome program! They are excited to drag and drop commands to build their digital masterpiece. Where should they put all their coding blocks together to make the magic happen?
workspace
toolbox
website
servers
Emma, Abigail, and Samuel are teaming up to create an exciting new game where players race to collect stars and earn points! As the game becomes more intense, they need a clever way to keep track of each player's ever-changing score. Which concept should they use to store a value that can change while the game is running?
variable
pixel
URL
Wi-Fi
Lily and David are excited to bake a super yummy cake for their friend Sophia's birthday party! To make sure they don't forget any steps, Lily writes down a clear, step-by-step list of what they need to do. What is this special list of steps called?
Code
Program
Algorithm
Isla, Abigail, and James are on a mission to bake the yummiest cake ever! They have a recipe that guides them through each step, from mixing the batter to decorating the cake. What is this recipe an example of?
A computer.
A set of step-by-step instructions for problem-solving.
A math idea.
I can...
Break down (decompose) the steps needed to solve a problem into a precise sequence of instructions.
Priya, Henry, and Mason are working together to create a super fun game where a ball magically pops up in a different spot every time you play! They use the randomNumber block to decide where the ball will appear next. Why do you think the randomNumber block is such an awesome and helpful tool in their code?
The random numbers will cause the code to spin.
The random numbers will cause the sprite to change color.
Random numbers can cause the sprite to change depending on which parameter they are placed into.
Jackson, Scarlett, and Liam are getting ready for an epic game night! Jackson starts things off by excitedly shouting "seven" to everyone. Then, Scarlett and Liam each take turns calling out the numbers for the next two activities by using a special function that always announces "five" and then "six" every time it is called. In what order will the announcements be heard during their game night?
"five" "six" "seven" "five" "six"
"seven" "five" "six" "five" "five"
"five" "six" "five" "six" "seven"
"seven" "five" "six" "five" "six"
Ethan, Harper, and Aria are on a mission to bake the world’s yummiest cake! They have a magical guide that tells them exactly what to do at each step, from finding the flour to mixing and baking. What is this special set of step-by-step instructions called?
The use of two or more processors (cores, computers) in combination to solve a single problem.
A step-by-step process to complete a task.
Being correct and precise.
Important to the matter at hand.
Daniel and Ava are on a coding adventure with their micro:bit! Daniel codes it to flash a message, wait for 5 seconds, and then display a super cool icon. Ava grins and asks, "Hey, is this block of code an example of an algorithm?" What do you think? True or false?
True
False
Noah, Scarlett, and Aiden are teaming up to bake a scrumptious cake! Scarlett writes down each step they need to follow so the cake turns out just right. What is this list of steps called?
Algorithm
Program
CPU
Hardware
Abigail, Emma, and Hannah are excited to bake a magical birthday cake for Avery. They have a special list of steps to follow so that their cake turns out just right. What is this list of steps called?
code
algorithm
processor
cat
Aiden, Mason, and Luna want to create a cool calculator game on their computer that can add two numbers together. They come up with a list of steps for the computer to follow so it knows exactly what to do. What is this list of steps called?
A program is a collection of data stored in a computer.
A program is a type of computer hardware.
A program is a physical device used for computing tasks.
A program is a set of instructions that tells a computer what to do.
James, Lily, and Isla are joining forces in the kitchen to bake the most scrumptious cake ever! They follow a special step-by-step set of instructions to ensure their cake is a masterpiece. What is this set of instructions called?
Logarithm
Algorithm
Coefficient
Equilibrium
Charlotte, Anika, and Elijah want to help Isla organize her massive collection of music files. They decide to come up with a clever set of instructions that a computer can follow to do this automatically. What is the correct vocabulary word for this special set of instructions?
iterations
emulator
input
program
Luna and William are chatting about computer science, and Luna wants to help William understand what a function is. If you were Luna, how would you describe a function in a fun and simple way to help William understand it?
Mason and Abigail are teaming up to crack a challenging puzzle! Mason comes up with a clever set of instructions, and Abigail turns them into code so the computer can solve the puzzle. What is this process called?
Program
Bug
Function
Toolbox
Priya and Benjamin are helping their robot friend get ready for a spectacular dance show! Priya comes up with a bunch of awesome dance moves, and Benjamin helps turn those moves into a special form that the robot can understand and groove to. What is this process called?
Task
Program
Loop
Conditional
Sophia, Arjun, and Aria are on a coding adventure! Sophia dreams up a clever set of instructions, and Arjun turns them into code so a computer can join the fun. What is this process called?
property
program
parameter
variable
Michael, James, and Harper are on a mission to bake the most amazing cake ever! They have a secret set of steps they always follow to make sure their cake is a hit every time. What does this special set of steps represent?
The name of a book character
The way a computer dances
A set of rules to be followed for calculations
A recipe
Mason, Maya, and Rohan are on a quest to discover a field where they can use computers to solve real-world mysteries and invent amazing new things. What is this exciting field all about?
Developing new computer hardware
Studying the history of computers
Using computers to solve problems and create new things
Designing computer games
Sophia, Kai, and Avery are getting ready for a super fun baking party! Sophia wants to bake the yummiest cake ever and follows a magical step-by-step set of instructions to make sure it turns out just right. What is the special term for this set of instructions that a computer also follows to complete a specific task?
Algorithm
Hardware
Network
Database
James and Rohan are on a secret mission to surprise their friend Aiden with the most amazing birthday cake ever! They put on their chef hats and follow a set of step-by-step instructions to make sure the cake is a masterpiece. What are James and Rohan doing?
Reading a book
Listening to music
Watching television
Following a recipe to bake a cake
Rohan, Arjun, and David are teaming up to build a super-cool robot that can help them finish their homework faster! They come up with a clever step-by-step plan for the robot to follow. What do you call the process of turning their awesome plan into a language that a computer can understand and follow?
Debugging
Programming
Networking
Designing
Luna and Oliver are designing an awesome new video game! They want to make sure that when a player beats their high score, it stays saved even after the game is closed and reopened. What important concept should they use to make this possible?
output
persistence
event handler
variable
Benjamin, Lily, and Abigail are building a clever robot that will only zoom forward if it detects something blocking its way. Which programming structure should they use to help their robot make this smart decision?
for loop
output
function call
if-statement
Grace, Henry, and Mason are teaming up to create the ultimate drawing app! They want their magical brush to burst into a new color every time someone clicks their super-secret color button. Which programming concept will help their app respond to these exciting button clicks?
algorithm
variable
event handler
pixel
Sophia wants to show her friends, Ethan and Arjun, how to make the world’s best sandwich! She carefully writes down each step, one after another, so they can follow along and make the sandwich just right. What do we call this set of step-by-step instructions?
It is a computer
A set of step-by-step instructions for problem solving.
It's a math idea
Anika and Mason want to bake a delicious cake for Aria’s birthday! They carefully follow step-by-step instructions to make sure the cake turns out perfectly. These instructions are a(n) (a)
recipe
guide
manual
book
Aria, James, and Ethan love building cool apps and games by writing lots of code every day. What would you call Aria when she is busy creating awesome software?
coder
computer programmer
technologist
scientist
Daniel, Abigail, and David are having a friendly math challenge! They have a set of numbers: 13, 9, 3, 11, 5, and 12. Here’s their game: They keep removing the first two numbers from the set, add them together, and then put the result at the end of the set. They repeat this process until only one number is left. At the very end, they remove the last number and show off the sum they calculated in the final step. What number do they display to their friends?
17
36
53
No value is ever displayed because the algorithm repeats the REPEAT UNTIL block indefinitely.
Scarlett and Daniel are trying to open a bottle for their science experiment! Here are the steps they follow:
1. Grip cap with index finger and thumb
2. Remove cap
3. Twist counter-clockwise until seal is broken
Can you spot what’s wrong with their instructions?
Too many steps
Not specific
Function doesn't apply to every bottle
Instructions are out of sequence
Benjamin, Mia, and Olivia are helping to sort fruit for a fun picnic! They have 10 apples and 5 oranges to pack. They follow the decision process shown in the diagram to figure out how many bags they need. What will the value of bags be at the end of the process?
(a)
Scarlett, Rohan, and Henry are having a blast playing a board game adventure! Scarlett’s red game piece (a triangle) is on a quest to reach the mysterious gray square at the top right of the grid. The triangle is currently facing upward and can only move using the magical MoveTriangle procedure shown below. The piece can travel over white and gray squares, but beware—the black squares are off-limits!PROCEDURE MoveTriangle(numMoves, numTurns)
Which of the following sets of instructions will help Scarlett’s red triangle reach the gray square and win the game?
{
REPEAT numMoves TIMES
{
MOVE_FORWARD()
}
REPEAT numTurns TIMES
{
TURN_RIGHT()
}
}
MoveTriangle(1, 1)
MoveTriangle(1, 1)
MoveTriangle(3, 1)
MoveTriangle(3, 0)
MoveTriangle(4, 1)
MoveTriangle(4, 0)
MoveTriangle(1, 1)
MoveTriangle(1, 3)
MoveTriangle(3, 1)
MoveTriangle(3, 0)
MoveTriangle(1, 1)
MoveTriangle(1, 3)
MoveTriangle(3, 3)
MoveTriangle(3, 0)
Charlotte and Michael are designing a super fun soccer video game! When a player (like Abigail) tries to score a goal from outside the 6-yard box, the code should give her a 30% chance of making the goal. Check out the incomplete code segment below:

Which of these can replace <MISSING CONDITION> so that the code works as intended and Abigail has the correct chance to score?
(Select two answers)
RANDOM(1, 10) <= 3
RANDOM(1, 100) = 30
RANDOM(1, 100) <= 30
RANDOM(1, 10) < 3
The next two questions use a robot in a grid of squares. The robot is represented as a triangle, which is initially facing up, towards the top of the grid. The robot is moved according to the instructions in the chart above.
Consider the following program which uses commands from the pseudocode described above.
REPEAT 4 TIMES {
MOVE_FORWARD()
MOVE_FORWARD()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_RIGHT()
}
Which of the following images shows the path and ending location of the robot that will result from executing the code above. The starting location of the robot is shown as dotted triangle for cases where the robot does not start and end at the same location.
The following question uses a robot in a grid of squares. The robot is represented by a triangle, which is initially facing right. Which of the following code segments will move the robot to the gray square?
Samuel, Abigail, and Mason are helping to organize a fun sequence of announcements for their school talent show. Samuel starts by announcing "seven" to the audience. Then, Abigail calls out a routine named numbers twice, and each time, the routine makes Mason announce "five" followed by "six". In what order will the announcements be heard by the audience?
"five" "six" "seven" "five" "six"
"seven" "five" "six" "five" "five"
"five" "six" "five" "six" "seven"
"seven" "five" "six" "five" "six"
Michael, Aiden, and Liam are helping Zoe design a cool new game! Zoe wants her sprite to pop up in a surprise spot every time the game starts. Why would using the randomNumber block make Zoe's project more exciting?
The random numbers will cause the code to spin.
The random numbers will cause the sprite to change colors.
Random numbers can cause the sprite to change depending on which parameter it has been placed into.
