A(n) ______ is a sequence of steps for accomplishing a task.
Python Review Module 16 - Searching Sorting Algorithm

Quiz
•
Science, Other
•
University
•
Medium
Karen Diggs
Used 43+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
structure
algorithm
linear sort
order of complexity
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Linear search is a search algorithm that sorts the list _____.
in descending order and then searches the list until the search key is found
in ascending order and then searches the list until the search key is found
by splitting the list into two halves and searching each half until the search key is found
from the start of a list and checks each element until the search key is found
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which scenario can a binary search be used to find an element?
A list of students’ weights and heights for a class
A list of client details for a company
An alphabetical list of employee names
A list of students’ marks for a class
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a list of 64 elements, how many elements will be checked to look for a value that is larger than the largest value in the list using binary search?
6
7
10
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All functions that have the same _____ are considered equivalent in Big O notation.
number of terms
growth rate
number of loops
number of variables
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms has a logarithmic runtime complexity?
binary search
merge sort
linear search
selection sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions will have the biggest growth rate?
Log2N
NLog2N
N2
N
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Object Oriented Programming

Quiz
•
University
15 questions
Animal Taxonomy

Quiz
•
6th Grade - University
20 questions
Research Skills General Quiz

Quiz
•
6th Grade - University
15 questions
DAA -MCQ

Quiz
•
University
15 questions
Algorithm

Quiz
•
University
15 questions
AlgoWhiz Quiz

Quiz
•
University
15 questions
Sorting

Quiz
•
University
16 questions
Data Structures Prelimes

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade