Sorting
This assignment is to be handed in.
You should work on this with your partner. You may not work alone!
There are three parts to this activity:
All of the written parts should be put into a web page called sorting.html and linked from both of your cps 49s web pages.
Your group will be given approximately 100 words. You are to sort them into alphabetical order. You should arrange the words in such a way that your group can answer questions such as
The success of your work will be judged on whether you can correctly answer most of these questions. However, you must also finish this assignment during the class period.
Each group must prepare one write-up as described below. Be sure that each group member's name (first and last name) is on the write-up.
You are to write an explanation of how to sort a list of words. Assume that the number of words isn't known in advance, but will be between 10 and 600. You are to write an algorithm in English that specifies precisely how to sort the words. Consider that another group might use your algorithm, and following the instructions literally. This means that you must convey exactly what steps to follow.
Saying "put in alphabetical order" is too vague. The end result is alphabetical order, but which "algorithm" or method should you use to put them in this order. There are lots of words. How do you organize them?
If you don't finish this assignment in class, you should finish it for homework, and complete it by the beginning of the next class.
If you finish before class is over, you can just continue to work on your web pages trying out other items from the tutorial.