To test a binary search function on a ten item array you should try targets in the first and last elements of the array, elsewhere in the array and what else?

What will be an ideal response?


a target that is not in the array

Computer Science & Information Technology

You might also like to view...

The activities that ensure the overall security of the system during routine operation are known as ____.

A. monitoring duties B. evaluation duties C. functional duties D. operational duties

Computer Science & Information Technology

In a function template, the programmer substitutes __________ for __________.

a. parameters, data types b. parameters, arguments c. arguments, parameters d. data types, parentheses e. None of these

Computer Science & Information Technology

Often, the key to finding the correct record on a traditional file is the __________.

a. disk directory b. index c. relative record number d. none of the above

Computer Science & Information Technology

To enable the Input Mask Wizard, you press the Build button.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology