
Unit 6 Review (Algorithms)
Presentation
•
Computers
•
9th - 12th Grade
•
Medium
Samuel Stansbery
Used 9+ times
FREE Resource
3 Slides • 21 Questions
1
Unit 6 Review (Algorithms)
By Samuel Stansbery
2
3
Multiple Choice
Which of the following is an example of the use of heuristics?
Trying every possible combination of letters when unscrambling a word
Considering each possible move when playing chess
Using the formula “area=length x width” to find the area of a rectangle
Playing chess using a defensive strategy that has often been successful for you
4
Multiple Choice
A binary search is to be performed on the list:
3, 5, 9, 10, 23
How many comparisons would it take to find the number 9?
1
3
4
It can't find the number 9
5
Multiple Choice
A linear search is to be performed on the list:
12, 6, 8, 1, 3
How many comparisons would it take to find the number 1?
1
2
3
4
6
Multiple Choice
Identify the description of a binary search.
Put the elements in order, check each item in turn
Order elements,compare middle value,split list in order&loop
Elements do not need to be in order, check each item in turn
Randomize data, compare middle value, split list in order & loop
7
Multiple Choice
Identify the description of a linear search.
Put the elements in order, check each item in turn
Order elements,compare middle value,split list in order&loop
Elements do not need to be in order, check each item in turn
Randomize data, compare middle value, split list in order & loop
8
Multiple Choice
What is the largest number of comparisons needed to perform a binary search on an array with 42 elements?
2
5
6
41
42
9
Multiple Choice
We are searching for a number key in a sorted list that has n elements. Under what circumstances will Linear Search / Sequential Search be more efficient than Binary Search?
key is the last element in the array
key is in the middle of the array
n is very large
key is the first element in the array
key does not exist in the array
10
Multiple Choice
A robot is programming a new game called “Open the box!” You give him a number and he tries to open a numbered box. He’s using Binary Search to accomplish this. Unfortunately, the boxes are not sorted. They are in the following order:
1, 3, 6, 9, 14, 10, 21
Which box can NEVER be found using binary search?
9
6
14
10
11
Multiple Choice
Any algorithm whose efficiency includes an n2, n3, n4 … is called ___________.
Problem
Polynomial
Pseudocode
Efficiency
12
Multiple Choice
Any algorithm whose efficiency includes an 2n, 3n, 4n … is called ______________.
Problem
Polynomial
Exponential
Efficiency
13
Multiple Choice
Algorithms with a polynomial efficiency or lower (constant, linear, square, cube, etc.) are said to run in a reasonable amount of time.
Reasonable Time
Unreasonable Time
14
Multiple Choice
Algorithms with exponential or factorial efficiencies are examples of algorithms that run in an unreasonable amount of time.
Reasonable Time
Unreasonable Time
15
Multiple Choice
Provides a "good enough" solution to a problem when an actual solution is impractical or impossible.
Heuristic
Undecidable Problem
Unreasonable Time
Reasonable Time
16
Multiple Choice
A problem for which no algorithm can be constructed that is always capable of providing a correct yes-or-no answer.
Heuristic
Undecidable Problem
Unreasonable Time
Reasonable Time
17
18
Multiple Choice
Programs run in order, one command at a time.
Sequential Computing
Parallel Computing
Distributed Computing
Speedup
19
Multiple Choice
Programs are broken into small pieces, some of which are run simultaneously.
Sequential Computing
Parallel Computing
Distributed Computing
Speedup
20
Multiple Choice
The time used to complete a task sequentially divided by the time to complete a task in parallel
Sequential Computing
Parallel Computing
Distributed Computing
Speedup
21
Multiple Choice
A parallel algorithm still contains some sequential portions so the benefits of adding more processors will go down and eventually the speedup reaches a limit.
True
False
22
Multiple Choice
The impacts of running a parallel algorithm on a large number of computers includes:
less time to run and more efficiency
less time to run but not more efficiency
more time to run and less efficiency
23
Multiple Choice
If the sequential algorithm processing time was 40 seconds, and a parallel's algorithm processing time was 20 seconds, then what is the speed up? (sequential time/parallel time)
80
2
1/2
20
24
Multiple Choice
A school is designing a new bus route and are deciding where to put the different bus stops. They want to pick the collection of locations that maximizes the amount of students at a pick up to at least 2 . What term best defines the kind of problem?
A decision problem
An undecidable problem
An optimization problem
An efficiency problem
Unit 6 Review (Algorithms)
By Samuel Stansbery
Show answer
Auto Play
Slide 1 / 24
SLIDE
Similar Resources on Wayground
19 questions
ESB Domain 3- Production and Distribution
Presentation
•
9th - 12th Grade
19 questions
Vocabulary in Context
Presentation
•
9th - 12th Grade
19 questions
Conjugating AR Ending Verbs Lesson
Presentation
•
9th - 12th Grade
19 questions
Structure of Atom
Presentation
•
9th - 12th Grade
18 questions
Graphing Systems of Linear Inequalities
Presentation
•
9th - 12th Grade
20 questions
French Negations
Presentation
•
9th - 12th Grade
20 questions
Electron Configuration
Presentation
•
9th - 12th Grade
17 questions
Python Data Types and Variables
Presentation
•
8th - 12th Grade
Popular Resources on Wayground
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
30 questions
GVMS House Trivia 2026
Quiz
•
6th - 8th Grade