Multiple Choice
A search for an item X in a portion of a sorted array works by repeatedly selecting the middle item and comparing it to X.If X is not found there,the search method selects either the portion of the array to the left of the middle item,or the portion of the array to the right of the middle item,and continues the search.This method is called
A) sequential search
B) binary search
C) selection search
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q25: Assuming a method<br>Int findMax(int array[ ],int last)that
Q26: To compare String objects for the purpose
Q27: The method int getPosition(int array[],int X)is designed
Q28: On the average,performing a sequential search on
Q29: The best way to measure the goodness
Q31: The addition of two integers<br>A) is always
Q32: Let F be an algorithm with complexity
Q33: An array of 4 elements is being
Q34: The Quicksort algorithm works by<br>A) repeatedly comparing
Q35: Let F be an algorithm with complexity