Lab 5 Rubric Key
Note that the standard grade is an A (9.5). 10s are reserved for
creative or remarkable solutions
snowman.py
- Program should have top-level comment (using block-style comments). Avoid line
wraps by breaking comments up over multiple lines
- Program should post useful instructions to the user in the graphic window
- First click should determine y-coordinate of ground
- Second click should determine x-coordinate of snowman (ground should determine y-location
but okay if not done)
- Third click determines x and y-coordinate of sun
- Final click exits program
- Sizes/locations should not be hardcoded - use variables and/or window height to allow
code to be easily modified
- Snowman should have, at a minimum, three white circles and two black circles
- TIP: these assignments are designed with the hope of encouraging a certain degree of
creativity. Have fun with your snowman!
randomart.py
- Program should have top-level comment (using block-style comments). Avoid line
wraps by breaking comments up over multiple lines
- Program must utilize two different shapes
- Each shape must have a corresponding function for specifying how to draw it
- Functions must appropriate parameters/return values
- Sizes/locations should not be hardcoded - use variables and/or window height to allow
code to be easily modified
- Shapes are drawn within the legal limit of the window
- Sizes are determined randomly
- Colors are picked with some randomness
- Program sleeps between drawing elements
- Program draws shapes until the user types 's'
- The program exits after the final user click
- Functions should have a block-style comment specifying purpose, parameter descriptions,
and a description of the return value