Assignments 5 - 10

 

Specifications


Assn 5: Due Date Mar 28
Cutoff Date Apr 1

http://www.mathcats.com/microworlds/olympicrings_overview.html contains a picture of the olympic rings. They are five intertwined rings in the shape of a W (more or less). The top three rings are left to right (blue, black, red) and the bottom two rings are (yellow, green).

Create a class to draw the rings.   [For the moment we will not worry about the thickness of the rings nor about how they intertwine.]  The centers of the top rings are at the same height as the top of the bottom rings and the centers of the bottom rings are at the same height as the bottom of the top rings.

Turn in a specification document at least 2 days before the program is due.


Assn 6: Due Date Apr 4
Cutoff Date Apr 8

Redo the Olympic rings class so that the rings are 6 pixels thick. You will need no specification document for this problem since the only difference between it and the previous problem is the thickness of the rings increases from 1 to 6.


Assn 7: Due Date Apr 8
Cutoff Date Apr 12

Design and implement a class that draws 20 horizontal evenly spaced parallel lines of random length.

Specification


Assn 8: Due Date Apr 16
Cutoff Date Apr 20

Design and implement a class to draw a staircase. Post a specification no later than April 5th. Bring a printout of that specification to class to discuss on Apr 11.


Assn 9: Due Date Apr 20
Cutoff Date Apr 25

Design and implement a class to draw a brick wall. Turn in a specification (similar to Assn 6) for the brick wall a week before the problem is due.


Assn 10: Due Date Apr 25
Cutoff Date Apr 30

Draw a house with a fence around it. Bring a specification to class to discuss on Apr 14. Be sure to post it before coming to class.