Multiple Choice
If the item being searched for is not in the array, binary search stops looking for it and reports that it is not there when
A) it has examined all the elements in the array.
B) array index first > array index last.
C) it finds a value larger than the search key.
D) Boolean variable found equals true.
E) Boolean variable found equals false.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: The sort usually performs more exchanges than
Q2: When an array is sorted from highest
Q4: To locate a value in an ordered
Q5: A sorting algorithm can be used to
Q6: If algorithm A requires 2n + 1
Q7: When sorting an array of objects, if
Q9: If a binary search is used to
Q10: A _search uses a loop to sequentially
Q11: To determine that a value is not
Q35: Any sorting algorithm, such as bubble sort