
CS1 Unit Review: Searching and Sorting Algorithms

Quiz
•
Computers
•
University
•
Medium
Jack Bandy
Used 3+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Basic Algorithm in C (Data type, Expression, Branching, Looping)

Quiz
•
University
34 questions
Data structures: Chapter 2| 1

Quiz
•
University
42 questions
UTS Algoritma dan Pemrograman

Quiz
•
University
33 questions
DSA Quiz-1

Quiz
•
University
40 questions
Takeshi's Castle Rapid Fire

Quiz
•
University
32 questions
ໂຄງສ້າງຂໍ້ມູນ ແລະ ຂັ້ນຕອນວິທີ 2

Quiz
•
University
35 questions
Database

Quiz
•
KG - University
39 questions
Access Modifiers, Inheritance & Polymorphism

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Computers
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University