
Algorithms Review

Quiz
•
Computers
•
9th Grade
•
Hard
Darrin Patterson
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the speedup of the parallel solution's total algorithm time? A sequential algorithm is broken into three stages with the following set of times: Sequential Algorithm Time - Download stage: 1 minute - Sorting stage: 6 minutes - Upload stage: 1 minute A parallel version of the algorithm completes the sorting stage in parallel, leading to a new set of times: Parallel Algorithm Time - Download stage: 1 minute - Sorting stage: 2 minutes - Upload stage: 1 minute
6 minutes
4 minutes
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the impacts of running the parallel algorithm on an even larger number of computers? A software company used to run an algorithm sequentially on one server. As more users start using their app, the company decided to rewrite the program to be parallel. It is now run on four separate servers instead of one. Thanks to the use of a parallel algorithm, the same process that used to take 40 minutes to run now only requires 20 minutes. The company is considering purchasing additional computers to decrease the time the program runs even further.
The algorithm will likely require more time since it is now being run sequentially on more computers.
The algorithm will likely require the same amount of time to run because it is processing the same amount of data.
The algorithm will likely require less time to run though the improvements in efficiency will not be as significant as before.
The algorithm is unlikely to still run since parallel algorithms are not designed to scale to additional computers.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are benefits of parallel and distributed computing? I. Distributed computing improves the speed at which an individual computer executes a program II. Parallel computing scales more effectively than sequential computing III. Distributed computing allows larger problems to be solved quicker
I. only
I. and II
II. and III
I. II. and III
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of iterations needed to find the item? A computer is performing a binary search on the sorted list of 7 numbers below. [1, 5, 20, 50, 51, 80, 99]
1
3
6
7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes whether their teacher should use a linear or a binary search? A group of students writes their names and unique student ID numbers on sheets of paper. The sheets are then randomly placed in a stack. Their teacher is looking to see if a specific ID number is included in the stack.
The teacher could use either type of search though the linear search is likely to be faster
The teacher could use either type of search though the binary search is likely to be faster
Neither type of search will work since the data is numeric
Only the linear search will work since the data has not been sorted
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is the same as the flowchart shown below?
A. myNum ← RANDOM(1,10) IF (myNum > 8) { DISPLAY(“Done”) } ELSE { DISPLAY(myNum) }
B. myNum ← RANDOM(1,10) REPEAT UNTIL (myNum > 8) { DISPLAY(myNum) myNum ← RANDOM(1,10) } DISPLAY("Done")
C. myNum ← RANDOM(1,10) IF (myNum < 8) { DISPLAY(“Done”) } ELSE { DISPLAY(myNum) }
D. myNum ← RANDOM(1,10) REPEAT UNTIL (myNum > 8) { DISPLAY(“Done”) } DISPLAY(myNum)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which concept does this algorithm BEST demonstrate? The following algorithm is followed by a person every morning when they get up from bed to go to school: 1. Wake up 2. Brush teeth 3. Put on shirt 4. Put on pants 5. Put on socks 6. Put on shoes 7. Tie shoes
Sequencing
Selection
Iteration
Execution
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Analysis of Algorithms Quiz

Quiz
•
University
14 questions
KS3 Abstraction

Quiz
•
7th - 9th Grade
20 questions
Creating Algorithms through Pseudocodes and Flowcharts

Quiz
•
10th Grade - University
15 questions
Recursive Algorithms

Quiz
•
12th Grade
11 questions
AP CSP MCQ Review Session 3 Quiz

Quiz
•
10th Grade
18 questions
Data Structures Quiz 1

Quiz
•
12th Grade - University
18 questions
Binary and Linear Search

Quiz
•
9th - 12th Grade
15 questions
Mechine Learning

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade