
Linear and Binary Search Quiz
Authored by Christine Ince
Computers
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
In which of the following cases, linear search algorithm is used?
To search an element in an unordered list.
To search an element in a list of few elements.
Well suited for almost all types of list.
To search an element in unordered list consisting of few elements.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case scenario of searching array students?
All the searches take the same time
Item= Henry
Item=Annabelle
B or C
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best case scenario of searching array students?
Item= Andrew
Item= George
Item=Annabelle
All the searches take the same time
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A linear search algorithm takes two inputs: one is a ordered list and another one is unsorted list. Which of the two will be searched faster?
Sorted list
Unsorted list
Depends on the position of item to be searched
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Under which of the following conditions is a linear search complete?
Item is found
Item is not present in the list
A or B
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times is the code inside while loop (position= position + 1) executed if item = 'G'?
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output if item = 'R'?
item found at position 4
item not found
item found at position 3
item found at position 5
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
15 questions
Internet y sus recursos
Quiz
•
11th Grade
16 questions
LA3.C3: Variables
Quiz
•
9th Grade - University
15 questions
Bluetooth and Wi-Fi Quiz
Quiz
•
7th Grade - University
18 questions
School Mangement System ICT 0417 IGCSE
Quiz
•
10th - 12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
20 questions
PTS KELAS 9
Quiz
•
9th - 12th Grade
15 questions
HTML Quiz
Quiz
•
11th Grade - University
20 questions
Mobile Apps PayKu
Quiz
•
1st Grade - Professio...
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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