Multiple Choice
Suppose that L is a list of length 100. In a successful search, to determine whether an item is in L, on average the number of key comparisons executed by the sequential search algorithm, as discussed in this book, is ____.
A) 49
B) 50
C) 51
D) 100
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Selection sort swaps the smallest element in
Q7: On average, the number of comparisons made
Q25: A binary search starts by comparing the
Q26: The selection sort algorithm repeatedly moves the
Q27: If the list in the accompanying figure
Q29: If the list in the accompanying figure
Q31: Consider the following list.list = {5, 11,
Q33: Insertion sort makes approximately the same number
Q34: Consider the following list.list = {20, 10,
Q40: Key comparisons are also called item comparisons.