Which of the following is a negative of binary search?

a. It requires significantly more memory than linear search.
b. It is slower than linear search.
c. The data must be in sorted order.
d. None of the above.

c. The data must be in sorted order.

Computer Science & Information Technology

You might also like to view...

The merge sort algorithm:

a. Can be used only on vectors of even length. b. Works by reducing vectors down to the base case of a two-element vector. c. Works by merging two sorted vectors into one larger sorted vector. d. Cannot be implemented recursively.

Computer Science & Information Technology

Kevin has designed a computer that can fit on or next to a piece of furniture so that it can be used by people at home or office. Conventional personal computers that are designed to fit on or next to a piece of furniture are often referred to as _____.

A. ?desktop computers B. ?mainframe computers C. ?supercomputers D. ?server computers

Computer Science & Information Technology