Project 2: Draw Something Beautiful

Due: Tuesday 2 October 2007


The Code

In this project you are asked to add a method to called drawProject2() that takes no arguments but whose effect is something beautiful visual effect painted on World canvas. Again, you must implement and call at least one helper method.

Philosophers have argued the merits and details of beauty since time immemorial and come up with few, if any, universally recognized standards of beauty. In this class beauty is simple: beauty means loops. Somewhere in your assignment you must execute at least one for-loop, one while-loop, and one do-while-loop each.

Also, be sure to comment your code fully, explaining what each method you write does and which parameters it takes. Prefix your Turtle class file with comments that include your name, course title, date, and the project number and title. For example:

// Joshua Reyes
// CSIT 114
// 2 October 2007
// Project 2: Beauty

Notice that because your method does not accept any parameters, it will take the form:

public void drawProject2() {

	// The body of your method here.

The Write-up

Once you have implemented the method above, write a short (couple paragraph) essay detailing your experience programming in a plain text file called memo.txt. (Do not use an editor like MS Word.) Here are some questions to keep in mind:

If you worked with others, explain what each person contributed to your project. Cite others appropriately. Even if you worked with others, the code you pass in ought to be your own.

Turning the Project In

Use a secure FTP client to create a subdirectory of csit114 called project2. Upload your and memo.txt to that directory by Tuesday, 2 October 2007. Please make sure that your file names are spelled correctly. It is frustrating for me to have to search for your files by hand.


RequirementAdvancedProficientNeeds ImprovementMaximum Points
Comments and Coding Style Well commented. Code conforms to naming and style conventions. Mostly commented. Code mostly conforms to naming and style conventions. Few or no comments. Code does not conform to conventions. 15
Compiles Compiles without error. Compiles without error. Does not compile. 3
drawProject2() Is named correctly and calls at least one helper method. Is named correctly without a call to any helper methods. Is neither named correctly nor calls any helper methods. 7
Loops Demonstrates at least one for-, while-, and do-while-loop. Demonstrates any two of the aforementioned loops. Demonstrates one or fewer looping constructs. 10
Analysis Provides clear and complete exposition of the design and implementation process. Provides a mostly clear and nearly complete exposition of the design and implementation process. Provides an unclear and incomplete exposition of the design and implementation process. 15
Grammar and Style Well written. No obvious grammar or punctuation errors. A pleasure to read. A few grammatical errors such as punctuation or spelling, although most errors do not interfere with the overall message or the substance of the text. Many grammatical errors including punctuation, spelling or usage problems. 10
Organization Written work is neat and well organized. Written work mostly organized. Written work messy and disorganized. 5
Total 65