Searching on Data Structure and Algorithms related Questions and Answers - Page 2

Question 12 : Which of the following searching algorithm is fastest?
1. jump search
2. binary search
3. linear search
4. all are equally fast
5.
View Answer   Discuss with Members

Question 13 : What is the auxiliary space requirement of the jump search?
1. O(n)
2. O(log n)
3. O(n1/2)
4. O(1)
5.
View Answer   Discuss with Members

Question 14 : What is the value of jump taken for maximum efficiency while implementing jump search?
1. n/2
2. n2
3. n1/2
4. log n
5.
View Answer   Discuss with Members

Question 15 : What will be the maximum number of comparisons that can be made in jump search algorithm (assuming k to be blocks jumped)?
1. k
2. n/k
3. k-1
4. k-1
5.
View Answer   Discuss with Members

Question 16 : How many jumps will be made in the worst case of jump search(let block jumped =k)?
1. n*k
2. n/k
3. k/n
4. n+k
5.
View Answer   Discuss with Members


View 11 - 20 of 118 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter