PS8 Gradesheet

Name:

Upload/Folder/Hardcopy issues
Code is uploaded properly, hard copies and soft copies submitted correctly and in the proper folder, folder is named with username

2

 

TASK 1: Unjumbler
unjumbleKey appropriately returns a string that is the unjumble key of its input.

3

 

makeUnjumbleDictionary appropriately returns a dictionary that associates unjumble keys with all words with that unjumble key.

7

 

unjumble appropriately returns a list of words in a dictionary that unjumble a string of characters.

3

 

mostAnagrams appropriately returns (one of) the longest list of anagrams from the given dictionary.

5

 

Good programming style is observed:
- Code is concise and elegant
- Comments are used throughout the program to ensure readability and to explain nonobvious aspects of the code.

2

 
TOTAL FOR TASK 1

20

 

TASK 2: Wellesley Fresh
The getMenu function correctly prints out (in any order) all meal:dish pairs for the current week for the specified dining hall on the specified day.

4

 

The printDishWords function correctly prints out, in alphabetical order, all words that appear at least the specified number of times in the "dish" descriptions for the current week. The number of occurrences of each of these words should also be printed, separated from the word by a tab character.

11

 

The searchMenu function correctly prints out, in alphabetical order, lines of the form hall:meal:dish:day for all menu entries that match all the search terms in the given list.

11

 

Good programming style is observed:
- Code is concise and elegant
- Comments are used throughout the program to ensure readability and to explain nonobvious aspects of the code.

2

 
TOTAL FOR TASK 2

28

 

Total:       /50