Python Review Module 16 - Searching Sorting Algorithm
Quiz
•
Science, Other
•
University
•
Practice Problem
•
Medium
Karen Diggs
Used 44+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A(n) ______ is a sequence of steps for accomplishing a task.
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
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
20 questions
English Diagnostic 2B
Quiz
•
University
20 questions
MIS Chapter 4
Quiz
•
University
20 questions
GDCD 6 - BÀI TẬP TRẮC NGHIỆM - BÀI 1,2
Quiz
•
6th Grade - University
14 questions
General knowledge quiz
Quiz
•
5th Grade - Professio...
16 questions
ÔN TẬP KHTN 6 HKII
Quiz
•
6th Grade - University
20 questions
NMMS MAT 7காலம் சார்ந்த கணக்குகள்
Quiz
•
University
15 questions
PLANE TABLE SURVEYING
Quiz
•
University
20 questions
SI Units & Measurements
Quiz
•
9th Grade - University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
