7.5 Search Algorithms

Quiz
•
Computers
•
12th Grade
•
Medium
Jennifer Greene
Used 8+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
When can a Linear Search be performed?
On letters
On numbers
Both
None of these
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In order to use a Binary Search, the data must be...
int's or doubles
either int's or Strings
in order
objects
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
True or False: Linear Search becomes more efficient as more values are added to a particular data set.
True
False
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How does Linear Search work?
Linear Search traverses an array, starting at the first element, until the desired value is found, or until the end of the array.
Linear Search traverses an array from the last value to the first value until the desired value is found.
Linear Search uses a while loop to traverse an array for the desired value, or until the end of the array.
Linear Search searches for desired values by searching the next highest value in an array, and seeing if that is the desired value.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a list with 100 items, how many comparisons are required by Sequential Search to determine that an item is not in the list?
50
100
It may result in an infinite loop
Not enough information to determine
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many iterations does Binary Search require to search a list with 32 items?
3
5
7
It depends on whether the item is found or not.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
APCSA Unit 7

Quiz
•
9th - 12th Grade
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
10 questions
Search and Sorting Algorithms

Quiz
•
12th Grade
17 questions
AP CS ArrayLists

Quiz
•
12th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
18 questions
Binary and Linear Search

Quiz
•
9th - 12th Grade
18 questions
Data Structures Quiz 1

Quiz
•
12th Grade - University
17 questions
April Revision APCSP

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade