Searching Quiz

Quiz
•
Other
•
University
•
Hard
Niranjani Niranjani
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following searching algorithm is fastest when the input array is not sorted but has uniformly distributed values? a) linear search b) jump search c) interpolation search d) binary search
linear search
jump search
interpolation search
binary search
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following step is taken after finding an element having value greater than the element being searched? a) binary search takes place in the forward direction b) binary search takes place in a backward direction c) linear search takes place in the forward direction d) linear search takes place in the backward direction
binary search takes place in the forward direction
binary search takes place in a backward direction
linear search takes place in the forward direction
linear search takes place in the backward direction
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can Jump Search be improved? a) Step size should be other than sqrt(n) b) Cannot be improved c) Begin from the kth item, where k is the step size d) Start searching from the end
Step size should be other than sqrt(n)
Cannot be improved
Begin from the kth item, where k is the step size
Start searching from the end
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Interpolation search is a variation of? a) Exponential search b) Linear search c) Binary search d) Jump search
Exponential search
Linear search
Binary search
Jump search
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following searching algorithm is fastest? a) binary search b) linear search c) jump search d) all are equally fast
binary search
linear search
jump search
all are equally fast
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an advantage of Fibonacci Search? a) When the element being searched for has a non uniform access storage b) It can be applied efficiently on unsorted arrays c) Can be used for large arrays which do not fit in the CPU cache or in the RAM d) Can be used in magnetic tapes
When the element being searched for has a non uniform access storage
It can be applied efficiently on unsorted arrays
Can be used for large arrays which do not fit in the CPU cache or in the RAM
Can be used in magnetic tapes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following case jump search will be preferred over exponential search? a) when the given array is very small in size b) when the given array is very large in size c) jumping backwards takes significantly more time than jumping forward d) jumping forward takes significantly more time than jumping backwards
when the given array is very small in size
when the given array is very large in size
jumping backwards takes significantly more time than jumping forward
jumping forward takes significantly more time than jumping backwards
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Computer Hardware Quiz

Quiz
•
12th Grade - University
10 questions
Technology Tuesday

Quiz
•
KG - University
9 questions
Unit 4.1: Searching and Storing Options

Quiz
•
University
10 questions
Chapter 7: HRIS

Quiz
•
University
10 questions
Computer Science Quiz

Quiz
•
University
10 questions
B4 - The Comparable Interface

Quiz
•
University
11 questions
2.5 Amazing Migrations

Quiz
•
2nd Grade - University
11 questions
Constitutional Law Study

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University