In order to do a binary search on an array __________.

a. the array must first be sorted
b. you must first do a sequential search to be sure the element you are looking for is there
c. the values of the array must be numeric
d. no requirements are necessary

a. the array must first be sorted

Computer Science & Information Technology

You might also like to view...

Match the chart type to their meanings:

I. A stacked column chart A. places stacks of data in segments on top of each other in one column, with each category in the data series represented by a different color II. A 100% stacked column chart B. compares values across categories using horizontal bars III. A 3-D chart C. places (stacks) data in one column per category, with each column having the same height of 100% IV. A bar chart D. uses a line to connect data points in order to show trends over a period of time V. A line chart E. adds a third dimension to each data series, creating a distorted perspective of the data

Computer Science & Information Technology

A technician is reporting that the Windows Printer Test Page is not working, but the printer's self-test page is. Which of the following are probable causes? (Choose all that apply.)

a. The print driver is corrupt. b. The network connection is down. c. The printer memory is defective. d. The wrong driver is installed. e. The paper feed mechanism is working improperly.

Computer Science & Information Technology