binary search worksheet #1 Name -
  Day of Week -

Printout the demo program named "binary search".

Write your name and the day of the week that you have class in the upper-right corner.
In the upper-left corner, write the title "binary search worksheet #1".
In the right-margin, make columns for the variables first, last, and mid.
Assume that the user inputs the value 13 which is then stored in the variable key.

Trace the program and show the values of first, last, and mid in the corresponding columns.
Put single slashes through old values stored in those variables and circle the final numbers that they store.
Bring this completed worksheet to the final exam. It will be collected as an optional extra credit assignment.