Trace through the binary search algorithm in findInSortedList given the following input.

What will be an ideal response?


```
findInSortedList("7",["3","5","7","9","10"])

Loop 1.
start = 0
end = 4
checkpoint = 2
alist[checkpoint] =“7”

Action: returns “Found it!”

```

Computer Science & Information Technology

You might also like to view...

When you see a(n) colon in a URL, your browser is displaying the results of a database query.

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

Computer Science & Information Technology

The process of running a program over and over to find errors and make sure the program behaves in the way it should is known as ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Speaker notes are used to:

A) provide the audience with additional information, which is displayed as a presentation is delivered. B) help the presenter remember key points or additional slide information. C) create a backup copy of the presentation. D) serve as citations to accompany a presentation.

Computer Science & Information Technology

You are troubleshooting a friend's computer and your diagnostic software reports a problem with the MFT. What file system is your friend's computer using?

A. FAT12 B. FAT16 C. NTFS D. EXT3

Computer Science & Information Technology