Unit 6 Test - Algorithms

Unit 6 Test - Algorithms

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Unit 6-Lesson 6: Assessment Day

Unit 6-Lesson 6: Assessment Day

9th - 12th Grade

15 Qs

2.1 Algorithms and Computational Thinking

2.1 Algorithms and Computational Thinking

8th - 11th Grade

10 Qs

Code.org Unit 6 Discoveries

Code.org Unit 6 Discoveries

9th - 12th Grade

15 Qs

AP CSP - Unit 6: Lesson 6: Assessment Day

AP CSP - Unit 6: Lesson 6: Assessment Day

12th Grade

15 Qs

AP Computer Science Principles Unit 6

AP Computer Science Principles Unit 6

9th - 12th Grade

15 Qs

Algorithms Code.org

Algorithms Code.org

9th - 12th Grade

15 Qs

Code.org Unit 6 Discoveries

Code.org Unit 6 Discoveries

9th - 12th Grade

15 Qs

Unit 6 AP CSP

Unit 6 AP CSP

12th Grade

19 Qs

Unit 6 Test - Algorithms

Unit 6 Test - Algorithms

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Nicholas Gray

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true of algorithms?

Algorithms may have an infinite set of instructions

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

Algorithms must be expressed using a programming language

Not all problems can be solved with an algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following algorithm is followed by a teacher every morning when they get to their classroom:

1. Unlock classroom door.

2. Turn on the power.

3. Turn on the computer.

4. Write learning objectives on the board.

5. Check emails.

6. Get coffee.

7. Greet students as they arrive.

Execution

Sequencing

Selection

Iteration

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A school bus driver is deciding what order to pick up the students in. They want to pick an order that minimizes the gas the school bus has to use. What term best defines the kind of problem?

An undecidable problem

An optimization problem

A decision problem

An efficiency problem

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The algorithm shown is used to find the smallest element in a list of numbers.

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

Line 04 becomes IF (num > target)

Line 01 becomes target <- list[2]

Line 04 becomes IF (num = target)

Line 01 becomes list[0] <- target

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assume that sum is initialized to 0. Which of the following algorithms finds the sum of the even integers from 2 to 20?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This graph shows the efficiencies of two different sorting algorithms. Which of the following is most efficient?

Algorithm B is more efficient than Algorithm A.

They are equally efficient.

They are solving an undecidable problem so we cannot say which is more efficient.

They have different efficiencies depending on input size.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?