CPSC 220
Fall 2005
HW6: Sorting Data
Generate data files of integers to test sorting routines. Each
data file must have the following format:
- The first line of the file contains an integer that indicates
how many data items are in the file.
- The rest of the file contains the data,
one item per line, with an end-of-line character
between the last data item and the EOF character. For example, if the EOF
character were visible a valid data file might look like this:
4
2
9
1
3456
EOF
You will use this data to analyze sorts, so you should think carefully
about both file size and content.
You may generate as many data files as you like.
Put the data files in their own
directory, tar it up, and e-mail it to me before class.