
CS1 Unit Review: Searching and Sorting Algorithms
Authored by Jack Bandy
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
37 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
An ___ can be defined as a step-by-step sequence of instructions to solve a problem
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
For the binary search algorithm to work, the input list needs to be:
Sorted
An even length
Unsorted
An odd length
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Suppose binary search is looking for a key in a sorted list of 7 items. If the key does not show up in its first "check," how many items has it eliminated from the search?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Given a sorted list and a prize (or "key") to find, which search algorithm would you expect to perform best?
Binary search
Linear search
Any search algorithm
5.
OPEN ENDED QUESTION
3 mins • 1 pt
What is an example of an algorithm that you use in real life?
Evaluate responses using AI:
OFF
6.
DRAW QUESTION
20 sec • 1 pt
Draw a chart for an algorithm that has linear runtime, that is, O(n)
7.
DRAW QUESTION
20 sec • 1 pt
Draw a chart for an algorithm that has logarithmic runtime, that is, O(log2n). Binary search is one such algorithm.
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
40 questions
SIMULASI DIGITAL - X
Quiz
•
KG - Professional Dev...
32 questions
TEMA 7 y 9. MONT. PROFESOR
Quiz
•
KG - Professional Dev...
40 questions
NoSQL
Quiz
•
University
40 questions
Information Assurance and Security Quiz
Quiz
•
University
32 questions
Midterm Exam IAS 101
Quiz
•
University
40 questions
Server Management & Maintenance
Quiz
•
University
32 questions
Introduction to Human Computer Interaction (Retake)
Quiz
•
University
36 questions
MOC 20345 Test
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University