Python+Standard+Algorithms+(H)

The program below incorporates all 4 standard algorithms:
 * Count Occurrences
 * Linear Search
 * Find Maximum
 * Find Minimum

Questions
1. In your own words, explain how each of the following algorithms work:
 * Count Occurrences
 * Linear Search
 * Find Minimum
 * Find Maximum

2. Rewrite the display_all_students procedure so that it displays the students and their marks in reverse order (leah: 6, lucy: 9, zia: 5 etc)

3. Add a function called find_longest_name which uses the same algorithm as find maximum but displays the most number of characters in a students name

4. Add a function called linear_search_mark which uses the same algorithm as linear search, but asks the user for a mark and then searches for and displays all the students who got that mark

5. Find max would be more useful if it displayed the name of the student who got the highest mark. However, it's possible that more than one student could do so. To store multiple students we need an array (known as a list in Python). Amend the Find Maximum code so that the names of all students who scored the highest mark are stored and displayed in a list.

Tips: Create an empty array in Python: highest_names = []

Add an item to the end of an array (known as append) in Python: highest_names.append('bob')

Delete all the names from an array in Python: del highest_names[:]