
Sorting Algorithms Quiz
Authored by Mouna Boutemine
Other
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the sorted array: {4, 9, 15, 22, 30, 41, 56, 63, 72, 88} You perform a binary search for 88. Which index will be checked second?
4
5
6
7
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
{4, 9, 15, 22, 30, 41, 56, 63, 72, 88}
which indexes are checked after the first pass in binary search for 88?
{9}
{8, 9}
{5, 6}
{2, 3, 4}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the sorted array: {-2, 8, 13, 22, 25, 25, 38, 42, 51, 103} You perform a binary search for 30. Which index will be checked last?
4
5
6
7
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the array {42, 20, 8, 31, 19}. What does the array look like after the first pass of selection sort?
{8, 31, 42, 20, 42}
{ 8, 20, 42, 31, 19}
{8, 20, 42, 19, 31}
{8, 20, 19, 31, 42}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After the second pass of selection sort on {42, 20, 8, 31, 19}, what does the array look like?
{8, 19, 42, 31, 20}
{8, 19, 42, 20, 31}
{8,20, 42, 31, 19}
{8, 20, 19, 31, 42}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many passes does selection sort make for an array of 6 elements?
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the array {6, 2, 9, 3, 7}. What does the array look like after the first pass of insertion sort?
{2, 3, 6, 7, 9}
{6, 2, 3, 9, 7}
{6, 9, 2, 3, 7}
{2, 6, 9, 3, 7}
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
15 questions
हिंदी साहित्य के युग प्रवर्तक मुंशी प्रेमचंद
Quiz
•
6th - 12th Grade
10 questions
Soal Seni Tari
Quiz
•
10th Grade
10 questions
Urdu 10th ( Hazatulwida حجتہ الوداع ) - 02
Quiz
•
10th Grade
10 questions
REMEDIAL PAT
Quiz
•
10th Grade
10 questions
BHS General Knowledge Test Quiz
Quiz
•
8th - 12th Grade
15 questions
Balik-tanaw sa KomPan
Quiz
•
11th Grade
14 questions
Bài 7: Quyền tham gia quản lí nhà nước và xã hội
Quiz
•
12th Grade
15 questions
Piaget Review
Quiz
•
10th - 12th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade