Which of the following statements about binary searches is false?
A. The list must be in sequence (sorted).
B. The search typically starts at the first element and works toward the end of the array.
C. It is optimized for large lists.
D. To determine that a value is not in the list, only a few elements need to be tested.
E. When the search target is not found, the index returned is unpredictable.
Answer: B
Computer Science & Information Technology
You might also like to view...
Accessor methods are often called getters.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
The Check for Issues button is located on/in the ____.
A. Info tab B. Save As dialog box C. Excel Options dialog box D. (SAVE & SEND tab | Prepare for Shaving area) in Backstage view
Computer Science & Information Technology