Font size
Worksheets8th Grade Spring 2025 Semester Exam Review
Total questions: 36
Worksheet time: 21mins
According to the passage, what is the relationship between an algorithm and a computer program?
An algorithm is the opposite of a computer program.
Every algorithm is also a computer program.
A computer program is an example of an algorithm.
An algorithm is the language in which a computer program is written.
What is the meaning of the word "sequence" as it is used in the passage above?
A. To arrange in a particular way
B. The order in which things happen
C. A later development
D. A set of related events
When are algorithms most useful? Well, algorithms provide solutions that work every time. You wouldn't use an algorithm for something you only need to do once. But, if the same kind of problems keeps coming up, an algorithm may prove very useful. For instance, you've likely had to add two digit numbers many times in your life. After solving enough of these kinds of problems, you probably identified and memorized the steps you were following. Now, when you need to find a sum, you don't need to come up with a unique solution; you have a solution that works every time. Computer programs, algorithms that computers follow, are useful in the same way. For example, Pixar, a computer animation studio, might use an algorithm for adding color based on lighting in a scene.
Pixar animations usually do not include shadows.
Pixar only uses algorithms for one off tasks.
In creating scenes, Pixar frequently has to add color based on lighting.
The color in Pixar movies is often too bright and unrealistic.
A set of instructions that a computer executes to achieve a particular objective.
Rules
Program
Command
Algorithm
Duplicated or replicated code within a program is known as what?
Redundancy
Abstraction
Repetition
Conditional Statement
An ordered set of instructions that are used to carry out a task.
Code
Program
Bug
Algorithm
In MIT App Inventor, what drawer is the Vertical Arrangement located in?
Layout
Drawing and Animation
Media
User Interface
In MIT App Inventor, where do we find the components (or objects) we want to add to our app?
The Viewer
Properties Panel
Pallet Drawer
Block Editor
This is an image of a ____.
Linear Flowchart
Conditional Flowchart
Which shape represents a COMMAND in a flowchart?
rectangle
arrow
rhombus
oval
A ____ is a flaw in a computer program that causes the program to produce an incorrect result or behavior.
break
compilation
bug
crash
"ms" stands for?
millisecond
maltosecond
microsecond
metersecond
This is an example of what type of flowchart?
Conditional Flowchart
Linear Flowchart
Choose the best description of the function of this block.
Runs the blocks in the do section for each numeric value in the range starting at by and ending at From, incrementing number by the value of To each time.
Runs the blocks in the do section for each numeric value in the range starting at From and ending at To, incrementing number by the value of By each time.
Runs the blocks int he do section for each numeric value in the range starting at To and ending at From, incrementing number by the value of By each time.
Duplicated or replicated code within a program is known as what?
Conditional Statement
Repetition
Redundancy
Abstraction
How would you create an algorithm to navigate the bus from the school to the museum, using the following navigation commands? Note that the map contains the following traffic signs: Stop, No Right Turn, and No Left Turn.
Select the correct for loop block of code to get the bus to the the red square.
for each number from 1 to 4 by 10 do call moveForward
for each number from 1 to 4 by 1 do call moveForward
for each number from 1 to 3 by 1 do call moveForward
How can you reduce redundancy and streamline your code?
Create code that is easy to repeat.
Create code using procedures.
Create code using long loops.
You can't reduce redundancy.
The model layer is the layer of the app that maintains the information the app uses. This data can be:
Pulled from a list or database
Gathered by a sensor
Entered by the user
All of the Above
What is the index for 'Take out trash'?
Make bed
Wash dishes
Clean up room
Do homework
Take out trash
What list item is at index 2?
Make Bed
Wash Dishes
Clean Up Room
Do Homework
Take out trash
What component should you use when you want to display text on the screen?
Label
Button
Check Box
Image
A list whose items can change during the runtime of a program is known as what type of list?
Dynamic List
Random List
Static List
Complicated List
A command that performs different actions depending on whether a condition is true or false.
Algorithm
Conditional Statement
Flow Chart
Boolean logic
Where can you find the backpack feature in App Innovator?
In the palette
Block screen
Design screen
In the drawers
A flaw in a computer program that causes the program to produce an incorrect result or behavior.
Bug
Break
Code
Add Comment
When you check for errors or bugs one of the steps to look for is compilation errors (Warnings and Error messages in the Blocks Viewer).
True
False
What is live programming?
To increase the value of a numeric variable by a set amount.
A programming environment where updates to a program during development automatically appear on the connected testing device.
To identify bugs or errors in computer hardware or programs and fix them.
A program that translates instructions or code into a language that can be read and understood by a computer.
What is meant by 'set CheckBox2 Checked to false'?
CheckBox1 will be disabled or off
CheckBox2 Label will not turn red
CheckBox2 will be disabled or off
The checkbox will check your work to make sure it isn't false
Which kind of science creates artifacts and solves problems using the help of a computer?
Life Science
Computer Science
Earth Science
Physical Science
What is an ordered set of instructions used to carry out a task?
A. A conditional statement
B. An Algorithm
C. A bug
D. Steps
What is the visual part of a computer program or operating system, that an end user interacts with the computing device or software?
User Interface
The App itself
Main Screen
The Viewer
The flowchart is an example of a/an ________
Algorithm
Event
Series of Steps to wash your hands
Conditional Statement
What is the name of the website where you create your Apps.
App Creator
MIT App Inventor
Samsung Inventor
Apple Creator
What is the name of the App that you use in this class for your Samsung device?
MIT AI2 Companion
App Design
Samsung for Programmers
MIT for Programmers
What is a list of steps that you can follow to finish a task?
Code
Program
Algorithm
