Common Algorithms Quiz

Quiz
•
Computers
•
KG - Professional Development
•
Medium
Tezel Asena
Used 7+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a linear search?
A sequential method for sorting elements within a list.
A sequential method for sorting and finding an element within a list.
A sequential method for finding an element within a list.
A sequential method that reduces the size of a list.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many checks will a linear search take to find number 6 in the list?
3, 4, 7, 6, 5, 1
3
7
5
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Linear search is more efficient than binary search
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is important to know about the data for binary search?
The data can only be numbers
The data can only be letters
The data in the list must be sorted
The data must be very small
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With a data set of 0,1,3,6,7,8,9
How many steps would a binary search take to find the value 8?
2
4
3
7
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm is more efficient with longer lists of data?
Merge Sort
Bubble Sort
Both
Neither
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might a sorting algorithm be needed before a search?
Data is better when ordered
Data always needs to be in order before searching
The search algorithm may be in the code before the sorting algorithm
The search algorithm may need the data to be in order
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Data Structures & Algorithms

Quiz
•
12th Grade
10 questions
AdvancedProgramming_intro

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
9 questions
Search Algorithms

Quiz
•
9th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
10 questions
Sorting Algorithms

Quiz
•
9th - 12th Grade
15 questions
Algorithms

Quiz
•
3rd - 12th Grade
16 questions
2.1 Linear and Binary Searching Algorithms

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade