Scattergories Rubric
- Functions need a block comment (using 3 quotation
marks) with a description of purpose,
description of parameters (not just relisting the names), and
a description of return (e.g., type and use)
- This function is not function-worthy - it performs
a trivial task that can be accomplished with existing
functions. Every function should encapsulate one, non-trivial
subtask
- Data design - categories and answers should be stored as
separate lists since they represent distinct pieces of
data that get used at different moments in the program for
different purposes
- Program fails to properly error check letter input - a
letter should be in the alphabet and a string of length 1
- Program does not properly error check integer input
for proper range of integer values
- Program does not properly error check integer input for
improper type (i.e., non-integer value)
- Design should include at minimum a dedicated function for:
- Printing instructions
- Getting a validated letter
- Getting a validated list number
- Getting a category
- Printing a card