| 1. |
The Average case occurs in the linear search algorithm ……….
|
||||||||
|
Answer:
Option (a) |
| 2. |
Where is linear searching used?
|
||||||||
|
Answer:
Option (d) |
| 3. |
What is the best case for linear search?
|
||||||||
|
Answer:
Option (d) |
| 4. |
What is the worst case for linear search?
|
||||||||
|
Answer:
Option (c) |
| 5. |
Which of the following is a disadvantage of linear search?
|
||||||||
|
Answer:
Option (b) |
| 6. |
Which of the following is not a limitation of binary search algorithm?
|
||||||||
|
Answer:
Option (d) |
| 7. |
Binary search algorithm cannot be applied to …
|
||||||||
|
Answer:
Option (d) |
| 8. |
For a binary search algorithm to work, it is necessary that the array (list) must be
|
||||||||
|
Answer:
Option (a) |
| 9. |
Given an array arr = {45,77,89,90,94,99,100} and key = 99; what are the mid values(corresponding array elements) in the first and second levels of recursion?
|
||||||||
|
Answer:
Option (a) |
| 10. |
Which of the following is not an application of binary search?
|
||||||||
|
Answer:
Option (d) |