NEW
Font size
WorksheetsCoding Fundamentals Midterm Review
Total questions: 50
Worksheet time: 1hrs 12mins
Mark has created a group of blocks that make a penguin dance. He wants the penguin to keep dancing in the background the entire time his program is running. Which of the following structures should Mark use to accomplish this?
if statement
for loop
while loop
forever loop
Ricky suspects that he has a logic error in his program. What should he do to find the error?
keep running his program over and over
pinpoint the general location of the error and brainstorm ways to fix it
ask a friend to find his error
wait for the editor to show him where his error is
Why is it important to recognize the proper boundaries or limits of algorithms?
because otherwise the algorithm might contain logic errors or might not work properly
because otherwise the algorithm might not be competitive enough in today's economy
because algorithms are so complex that they need built-in boundaries to keep them understandable
because algorithms are so powerful that they need built-in boundaries to keep them from taking over the world
A user input occurs when the user interacts with the program by typing.
True
False
Erin's classmate said that the program that they were working on is not running properly because they accidentally put in commas where semi-colons should be. What kinds of errors does Erin need to fix?
logic errors
database errors
debugging errors
syntax errors
When should else be used in programming?
if something should be repeated several times
in a non-conditional statement
to describe what should happen when the condition of an if statement isn't met
to begin an infinite loop
Shawn thought that the screen of the block-based program he was using was arranged in a logical way that was easy to use and understand. Shawn said, "The _____ is really nice on this program."
editor
code
interface
database
Adrienne is creating a program that shows the user how to do yoga. There will be 10 poses shown in order when the user presses the start button. What kind of program is this?
selection
conditional
iteration
sequence
Brandon realized that his program wasn't running properly because he used a colon instead of a semi-colon. What kind of error did Brandon make?
syntax error
logic error
Boolean error
iteration error
Nathan has a 30-second clip of music that he wants to play over and over again when he runs a program. What does Nathan need to make this happen?
a for loop
a while loop
an infinite loop
a Boolean loop
Rupert wants to write a program where an archer will shoot an arrow six times. Which of the following coding terms should be used?
Boolean
while
for
forever
Vincente wants to write a program that lets the player move a unicorn around the screen. But Vincente wants a warning to appear on the screen if the unicorn is moved too close to the forest. Which of the following should Vincente add to the program to make this happen?
a conditional statement
an editor
a database
iteration
Dr. Bloom is writing a test for a history class and wants to ask a question that will have a Boolean value for the answer. Which of these should Dr. Bloom use?
essay questions
short-answer questions
multiple choice questions
true-false questions
Grace is creating a game about a cook in a kitchen. Grace wants the cook to flip a burger in the air. If it lands in the pan, the cook should earn points. If it falls on the floor, the cook should lose points. Which of these statements should Grace use?
When the burger falls, lose points.
If it lands in the pan, gain 100 points; else, lose 100 points.
Give the cook 100 points for a good landing and take away 100 for a bad landing.
Add points or take them away if the landing is good or bad.
Which of these is an example of a conditional statement?
I eat lunch at noon.
If I am hungry, I will eat lunch.
I eat a sandwich and an apple.
After I got hungry, I ate lunch.
Tynker has a particular layout, with the blocks on the left, editor in the middle, and output on the right. Which word best describes this screen layout?
block-based
interface
editor
player
Which sentence best describes how block-based code works?
Lines of code make physical blocks move.
Each block creates printer output.
Lines of code are used to print blocks.
Each block connects to one (or more) instructions written in code.
Every record in a database has a unique way to identify it called a table.
True
False
You can always trust information that comes from websites ending in .com.
True
False
Amaya is curious how her computer actually boots up. Which of the following should Amaya research to find out more?
RAM
hard drive
CPU
ROM
Prashanthi creates advertisements for companies to air on television. Which format should be used to send an ad to clients?
MP4
MP3
DOCX
Which of the following is a disadvantage of storing data in the cloud?
You can access it from any device.
You cannot access it from any device.
You need an internet connection to access it.
You don't need to use your own computer's memory.
Ahmad created a poster for his favorite band. In which format should it be saved so that the graphics will be preserved?
MP3
MP4
EXT
Tova manages a database for an art gallery. If a customer wants a list of all of the pieces of art created by artists from the Caribbean, what should Tova do?
sort the data
create a new table
filter the data
edit the data
Iman manages a database for a website that reviews movies. If a new movie is going to be added to the database, what else will need to be added?
a file
a record
a table
a PDF
Rupali is creating a database of all of the clients who request custom artwork. Each client will be considered one item in the database. What will Rupali need to create for each client?
column
table
record
file
Jax earned 144 points on a research project. In this situation, what is the number 144?
data
information
knowledge
output
Dax is an architect who wants to be able to let clients walk through a digital version of a house before the house is actually built. The digital version should allow the clients to see and feel the various textures of the house. Which of the following should be used to create that experience?
augmented reality
application software
virtual reality
mp4
T.J. wants to send a friend a file with a funny dancing cat. Which file format will he be sending?
DOCX
GIF
MP3
Ashley works for a company that helps hospitals hire new doctors. They have written a list of strategies that can be used to interview doctors. Ashley wants to give a digital copy of this list to her supervisor to review. Which of the following should be given to the supervisor?
application software
systems software
a file
hardware
Corinne is taking a chemistry class in college. A lab assignment asks students to track the melting point of 10 different substances. For each one, they have to test it five different times. Which of the following kinds of software would be most useful for recording that data?
a spreadsheet
word processing software
presentation software
a messaging app
Casey overhears two people talking about an amazing new app. What phrase has been abbreviated when they talk about an "app"?
applied computer simulation
application software
appropriate usage format
applied technology
Which of the following is an example of application software?
an anti-virus program
the operating system
the keyboard
a messaging app
Schuyler is making a list of the parts of a computer that are software. Which of the following will be on the list?
the speakers
a thumb drive
the keyboard
web browser
If your teacher gives you five steps to follow when reducing a fraction, that is an algorithm.
True
False
Marsha received an email saying that she won a free cruise to Alaska. What Marsha didn't realize is that the email was fake and contained a virus that infected her computer. She sent the email to several of her friends, and now their computers have viruses too. Has Marsha committed a computer crime?
Yes, because she was the cause of other people's computers becoming infected
Yes, because she illegally forwarded a private email
No, but she has acted unethically
No, because she did not knowingly spread or create the virus
Oliver is being bullied online, but he is afraid that nothing will happen to the bully if he reports them. Which of the following will most likely happen to the bully if Oliver reports it to his school administrators?
the bully will be arrested and get life in prison
the bully will spend the rest of their life on the federal cyberbully list
the bully will be subject to various school rules and could even be punished by state cyberbullying laws
the bully will automatically be expelled from the school, no questions asked
Which of the following scenarios falls into the category of computer manipulation crimes?
cyberbullying
stealing an office computer
reading someone's private emails
using a computer to steal someone's identity
What is one of the advantages of using an algorithm to solve a puzzle like Kriss-Kross or Sudoku?
It gives you an overall strategy.
It makes the numbers easier to add.
It reduces the size of the problem.
It adds an element of surprise.
The code repeat 3 [forward 50 right 120] creates which shape?
a square
a circle
a pentagon
a triangle
Why is a repeat command helpful when programming a turtle?
it gives input
it engages memory
it saves time when writing code
it rotates objects
How are units of distance measured on a computer screen?
in centimeters
in inches
in pixels
in bytes
Shelly is designing a computer to play video games. It has a hard drive, a controller, a screen, and a processor. What is it lacking?
a video game program
input
output
memory
What does it mean when a computer is processing?
a computer is doing a task
a user is thinking
the computer is recharging
software is engaging
Which of the following is an output of an alarm clock?
the button used to set an alarm
the button used to change the time
the time display
the power cord
Molly says she is learning how to code. Which of the following is the best description of what Molly is doing?
learning how to be a hacker
learning a mathematical language
learning a language that computers use
learning how to set up a computer
Emma plans on building a dog house using an algorithm. What will be the final step of the process?
creating a blueprint
building the roof
thinking about what went wrong
applying her algorithm to building a deck
Shondra is almost finished writing her algorithm. She is trying to change her algorithm so that it works for a more complex problem. Which of the following steps in the algorithm process is Shondra most likely working on?
making a plan
carrying out the plan
extending the problem
understanding the problem
Which of the following texts from your family member would contain an algorithm?
a list of steps for how to turn on the wi-fi
an apology for being late to pick you up
a request for you to make dinner
a description of the cute dog they saw
Why are computers better than humans at solving a problem like finding the shortest route between ten different cities?
Computers use code instead of plain English.
Computers are not distracted by social media.
Computers can test thousands of possible routes in seconds.
Computers have access to more precise maps.
