To search the names array for the name "Janey" using a binary search, what should the initial value of low be?

```
var low = 0; var N = 200; var high = 0;
var key = "Janey"; var index = 0; var found = 0;
```

a. 0
b. N
c. Math.round((N+1)/2)
d. 99


a. 0

Computer Science & Information Technology

You might also like to view...

In Excel, a selected cell is indicated by a ________ border

A) thick, black B) thin, black C) thick, dark-green D) thin, dark-green

Computer Science & Information Technology

In Excel, you can move from one worksheet to another by clicking the data bar

Indicate whether the statement is true or false

Computer Science & Information Technology

Locks can be divided into categories based on the triggering process, including manual, programmable, electronic, and biometric.

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

Computer Science & Information Technology

A customer would like to upgrade their onboard fast Ethernet connection to connect to their new gigabit network at the gigabit speed. Which of the following will enable them to do so?

A. Convert the user to wireless. B. Install a 10/100/1000 NIC. C. Update the drivers for the onboard port. D. Flash the BIOS to unlock the Ethernet port.

Computer Science & Information Technology