Lab07 requires to run a series of experiments with different sorting algorithms using increasingly large data sets. You can use the programs genOrdered.c, genReverse.c, genRandom. c provided with the week 7 lectures to help you with this task. For eg, to run the random algorithm on a data set of size 100,000 you would do something on these lines:
./genRandom 100000 | time ./quicksort -pm -q
This will show you the elapsed time as well as the user and system time.
Resource created Monday 30 January 2017, 01:01:58 PM.