wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

8th Grade Spring 2025 Semester Exam Review

Total questions: 36

Worksheet time: 21mins

Name
Class
Date
1.

According to the passage, what is the relationship between an algorithm and a computer program?

a)

An algorithm is the opposite of a computer program.

b)

Every algorithm is also a computer program.

c)

A computer program is an example of an algorithm.

d)

An algorithm is the language in which a computer program is written.

2.

What is the meaning of the word "sequence" as it is used in the passage above?

a)

A. To arrange in a particular way

b)

B. The order in which things happen

c)

C. A later development

d)

D. A set of related events

3.

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.

a)

Pixar animations usually do not include shadows.

b)

Pixar only uses algorithms for one off tasks.

c)

In creating scenes, Pixar frequently has to add color based on lighting.

d)

The color in Pixar movies is often too bright and unrealistic.

4.

A set of instructions that a computer executes to achieve a particular objective.

a)

Rules

b)

Program

c)

Command

d)

Algorithm

5.

Duplicated or replicated code within a program is known as what?

a)

Redundancy

b)

Abstraction

c)

Repetition

d)

Conditional Statement

6.

An ordered set of instructions that are used to carry out a task.

a)

Code

b)

Program

c)

Bug

d)

Algorithm

7.

In MIT App Inventor, what drawer is the Vertical Arrangement located in?

a)

Layout

b)

Drawing and Animation

c)

Media

d)

User Interface

8.

In MIT App Inventor, where do we find the components (or objects) we want to add to our app?

a)

The Viewer

b)

Properties Panel

c)

Pallet Drawer

d)

Block Editor

9.

This is an image of a ____.

a)

Linear Flowchart

b)

Conditional Flowchart

10.

Which shape represents a COMMAND in a flowchart?

a)

rectangle

b)

arrow

c)

rhombus

d)

oval

11.

A ____ is a flaw in a computer program that causes the program to produce an incorrect result or behavior.

a)

break

b)

compilation

c)

bug

d)

crash

12.

"ms" stands for?

a)

millisecond

b)

maltosecond

c)

microsecond

d)

metersecond

13.

This is an example of what type of flowchart?

a)

Conditional Flowchart

b)

Linear Flowchart

14.

Choose the best description of the function of this block.

a)

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.

b)

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.

c)

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.

15.

Duplicated or replicated code within a program is known as what?

a)

Conditional Statement

b)

Repetition

c)

Redundancy

d)

Abstraction

16.

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.

4 lines
17.

Select the correct for loop block of code to get the bus to the the red square.

a)

for each number from 1 to 4 by 10 do call moveForward

b)

for each number from 1 to 4 by 1 do call moveForward

c)

for each number from 1 to 3 by 1 do call moveForward

18.

How can you reduce redundancy and streamline your code?

a)

Create code that is easy to repeat.

b)

Create code using procedures.

c)

Create code using long loops.

d)

You can't reduce redundancy.

19.

The model layer is the layer of the app that maintains the information the app uses. This data can be:

a)

Pulled from a list or database

b)

Gathered by a sensor

c)

Entered by the user

d)

All of the Above

20.

What is the index for 'Take out trash'?

a)

Make bed

b)

Wash dishes

c)

Clean up room

d)

Do homework

e)

Take out trash

21.

What list item is at index 2?

a)

Make Bed

b)

Wash Dishes

c)

Clean Up Room

d)

Do Homework

e)

Take out trash

22.

What component should you use when you want to display text on the screen?

a)

Label

b)

Button

c)

Check Box

d)

Image

23.

A list whose items can change during the runtime of a program is known as what type of list?

a)

Dynamic List

b)

Random List

c)

Static List

d)

Complicated List

24.

A command that performs different actions depending on whether a condition is true or false.

a)

Algorithm

b)

Conditional Statement

c)

Flow Chart

d)

Boolean logic

25.

Where can you find the backpack feature in App Innovator?

a)

In the palette

b)

Block screen

c)

Design screen

d)

In the drawers

26.

A flaw in a computer program that causes the program to produce an incorrect result or behavior.

a)

Bug

b)

Break

c)

Code

d)

Add Comment

27.

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).

a)

True

b)

False

28.

What is live programming?

a)

To increase the value of a numeric variable by a set amount.

b)

A programming environment where updates to a program during development automatically appear on the connected testing device.

c)

To identify bugs or errors in computer hardware or programs and fix them.

d)

A program that translates instructions or code into a language that can be read and understood by a computer.

29.

What is meant by 'set CheckBox2 Checked to false'?

a)

CheckBox1 will be disabled or off

b)

CheckBox2 Label will not turn red

c)

CheckBox2 will be disabled or off

d)

The checkbox will check your work to make sure it isn't false

30.

Which kind of science creates artifacts and solves problems using the help of a computer?

a)

Life Science

b)

Computer Science

c)

Earth Science

d)

Physical Science

31.

What is an ordered set of instructions used to carry out a task?

a)

A. A conditional statement

b)

B. An Algorithm

c)

C. A bug

d)

D. Steps

32.

What is the visual part of a computer program or operating system, that an end user interacts with the computing device or software?

a)

User Interface

b)

The App itself

c)

Main Screen

d)

The Viewer

33.

The flowchart is an example of a/an ________

a)

Algorithm

b)

Event

c)

Series of Steps to wash your hands

d)

Conditional Statement

34.

What is the name of the website where you create your Apps.

a)

App Creator

b)

MIT App Inventor

c)

Samsung Inventor

d)

Apple Creator

35.

What is the name of the App that you use in this class for your Samsung device?

a)

MIT AI2 Companion

b)

App Design

c)

Samsung for Programmers

d)

MIT for Programmers

36.

What is a list of steps that you can follow to finish a task?

a)

Code

b)

Program

c)

Algorithm