Which of the following are true statements about the binary search process? Check all that apply.

Question Bank for Grade 14 Computers

Quiz
•
Computers
•
Professional Development
•
Hard
Kimberley Draeger
Used 3+ times
FREE Resource
115 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The average case scenario Big O running time is O(log N).
The target value must be contained within the list.
The process checks the middle item for a match, and then looks to the right or to the left if it doesn't match, repeating this process until a match is found, or not.
The precondition is that the list must be sorted.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is considered an O(N log N) class sort for a worst case scenario?
Insertion Sort
Merge Sort
Selection Sort
Quick Sort
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these would be considered the worst case scenario for a linear search?
The target value is not found in the list.
The target value is found at the end of the list.
The target value is found at the beginning of the list.
The target value is found somewhere in the middle of the list.
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Consider a list that contains eight integer values. If the list is sorted using the merge sort, how many total division operations will take place during the entire process?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following describes a selection sort?
The "best value for each position" is found and swapped into place with each pass.
The list is partitioned around a pivot point.
Unsorted values are shifted into their "best position" in the list.
Adjacent values are compared and swapped if out of order.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following descriptions of the Big O analysis categories is NOT correct?
An O(N log N) process is characterized by a divide and conquer process combined with an N based loop.
An O(N2) process is characterized by a nested loop process based on the size of the data set.
An O(1) process only works on a data set of 100 items or less.
An O(N) process is characterized by a loop that spans the entire data set of size N.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a list:
{ 3, 5, 8, 10, 14, 34, 78, 123, 513, 999 }
If a binary search for the value 34 is performed, how many comparison operations will be required to find it?
3
1
6
5
Create a free account and access millions of resources
Similar Resources on Quizizz
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade