
Unit 6 Test - Algorithms

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

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
Which of these algorithms will move the robot along the same path as the algorithm shown?
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
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?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
18 questions
Algorithms

Quiz
•
11th Grade
17 questions
10 Minute Test 19 - Algorithms

Quiz
•
9th - 10th Grade
15 questions
AP CSP - Unit 6: Lesson 6: Assessment Day

Quiz
•
12th Grade
10 questions
2.1 Algorithms and Computational Thinking

Quiz
•
8th - 11th Grade
15 questions
Computational Thinking Quiz

Quiz
•
9th Grade
20 questions
Sorting algorithms (Y11)

Quiz
•
8th Grade - University
18 questions
2.1 Algorithms

Quiz
•
11th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade