The buttons Data Cleanup Animator and Sort Animator will be useful for this assignment. When you select either of these, you will be able to animate the behavior of several different algorithms in Chapter 3.
For example, select Algorithm -> Shuffle Left in the Data Cleanup Animator and then select the Run button. You may Reset and Rerun this exercise several times to get a feeling for how the shuffle left algorithm works. Its behavior should be familiar from our discussions in class.
Now select Algorithm -> Converging Pointers, and then select Run again. Note the behavior of this new algorithm for each of several different sets of data values (using Reset and Run several times).
These animators will be useful for answering some of the questions below.
Once you are finished in the lab, be sure to drag the Computer Science icon to the Trash - this step disconnects you from the server and prevents someone else (who may use this iMac later in the day) from accidentally accessing files in your personal folder.
To submit a handwritten assignment, leave it in the CS 105 mailbox near my office (Searles 220).
Note: Even though the lab programs for this course can be saved
and submitted electronically, you should always keep a backup copy of your
own work in your Users folder, so that if a file is lost you won't
have to retype it from scratch.