Project 2 for Computer Algorithms. Use this testing code to help with your paper!
- Run the program from the command line
- Type one capital letter to select a sorting algorithm.
- Enter the lower bound of N. The program will increment N and run the sorting algorithm through a range of list sizes.
- Enter the upper bound of N.
- Enter the number of iterations. The program will reset N to the lower bound at the start of each iteration.
- Type Y or N to decide whether to print the lists. If lists aren't printed, CSV is printed to the console for use in a spreadsheet.
- Copy Data. Use the left mouse button to select the N and time values, then right click to copy.
- Paste Data into Excel. Pick a cell and paste the data in. The time data still needs to be moved one cell to the right.
- Make sure all the data is selected like so.
- Select the Data tab on top and click "Text to Columns". In the dialog box, click next, make sure only comma is checked under delimiters, and click finish. The data will enter the cells the way they should.
- Select just the microsecond values in your table, then insert a 2D line graph.
The tutor is useless!