CS110 Introduction to Computing
Spring 2008

Lab Assignment#5
Due on Thursday, April 3, 2007

Assignment:

Problem: Using the graphics facilities of Chapter 8 of your text, write a Python program that creates a design in the graphics window. The graphics window should be at least 800x600 pixels (height x width) in dimension. For the design of your graphic you may choose one of the following themes:

Your graphic should include a caption that specifies the theme. You may use any of the graphics facilities described in Chapter 8 of your text, including images (though using just an image in the graphic will not suffice). You may also use an animation if you'd like.

What you will need to do

  1. Make sure you have read all of Chapter 8 and understand the examples and library functions presented there.
  2. Do the design first: plan out a complete sketch prior to writing your program.
  3. Write the algorithm to create the design and then code it in Python.
  4. Make sure you do the above steps prior to entering the lab (or using your computer).
  5. Test and debug your program until it produces correct results.
  6. When done, print out the final version your your program and also a printout showing your program's output. To print the graphics window, you can take a snapshot of it by selecting the window and then pressing the "Print Screen" key on your keyboard. Then you can open a Word document and paste the snapshot into it for printing.
  7. Hand in your sketch, algorithm, and printouts of theh graphics window.
  8. ALL work in this course should be done individually without any help from any person other than the class TA's and instructor(s).

Notes:

Add the following line to all your Python programs:

# File: <place name of your program file here>
# Date: <date created>
# Created by: <your name>
# Assignment: <place assignment number here>

 


Back to CS110 Materials