
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
21-22 Algorithms KS3

Quiz
•
9th Grade
15 questions
Searches

Quiz
•
9th Grade
20 questions
Algorithms and Programming Languages

Quiz
•
10th Grade
10 questions
Difference between Algorithm, Pseudocode and Program

Quiz
•
9th Grade
15 questions
Key Exchange - CompTIA Security+ SY0-701 - 1.4

Quiz
•
12th Grade - University
19 questions
AQA GCSE Computer Science - 3.1.3 Binary Search

Quiz
•
8th - 10th Grade
18 questions
Algorithms

Quiz
•
11th Grade
15 questions
Page Replacement Algorithms

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade