Search Header Logo

Code.org Unit 10: Algorithms Review

Authored by Lateesha Mungin

Computers

9th - 12th Grade

Used 9+ times

Code.org Unit 10: Algorithms Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is true of algorithms?

Every algorithm can be constructed using combinations of sequencing, selection, and iteration

Algorithms may have an infinite set of instructions



Every problem can be solved with an algorithm

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Which of these algorithms will move the robot along the same path as the algorithm below?

Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A town government is designing a new bus system and are deciding where to put the different bus stops. They want to pick the collection of locations that minimizes the distance anyone needs to walk in order to get to at least one bus stop. What term best defines the kind of problem?

An optimization problem

An undecidable problem

An efficiency problem

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

The algorithm below is used to find the largest element in a list of numbers.

By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how?

Line 04 becomes IF (num = target)

Line 01 becomes target <- list[2]

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image


Which of the following algorithms is the same as the flowchart shown below?

Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

This graph shows the efficiencies of two different algorithms that solve the same problem. Which of the following is most efficient?

Algorithm B is more efficient than algorithm A

The algorithms have different efficiencies depending on the input size

These algorithms are equally efficient

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?