Algorithms Review
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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
Back
2
2.
FLASHCARD QUESTION
Front
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
Back
II. and III
3.
FLASHCARD QUESTION
Front
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]
Back
3
4.
FLASHCARD QUESTION
Front
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.
Back
Only the linear search will work since the data has not been sorted
5.
FLASHCARD QUESTION
Front
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)
Back
myNum ← RANDOM(1,10) REPEAT UNTIL (myNum > 8) { DISPLAY(myNum) myNum ← RANDOM(1,10) } DISPLAY("Done")
6.
FLASHCARD QUESTION
Front
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
Back
Sequencing
7.
FLASHCARD QUESTION
Front
Which of the following is true of algorithms? Algorithms may have an infinite set of instructions, Algorithms must be expressed using a programming language, Every algorithm can be constructed using combinations of sequencing, selection, and iteration, Every problem can be solved with an algorithm
Back
Every algorithm can be constructed using combinations of sequencing, selection, and iteration
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Recurrent Neural Networks and Transformer Models
Flashcard
•
9th Grade
15 questions
Functions
Flashcard
•
8th Grade
11 questions
3D Design Vocabulary Flashcard
Flashcard
•
10th Grade
8 questions
CHILDREN 2 (1ST CLASS)
Flashcard
•
KG
12 questions
Organic 2 Exam 4 Review
Flashcard
•
KG
11 questions
Review A2
Flashcard
•
10th Grade
13 questions
Regular and Irregular Verbs
Flashcard
•
10th Grade
10 questions
Primary Storage Concepts
Flashcard
•
KG
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade