created 01/22/00; revised 07/03/16


Chapter 37 Programming Exercises

Exercise 1

In the house scene, put a doorknob on the door and some panes in the windows. The doorknob is just a filled circle and the panes can be lines that divide the window into quarters.

Click here to go back to the main menu.


Exercise 2

Add a yellow sun to the picture. Put in some yellow lines radiating from the sun.

Click here to go back to the main menu.


Exercise 3

Create a simple holiday card applet using simple graphics for the next holiday. Pine trees and snowmen are particularly easy. Make snowflakes with three crossed lines.

Click here to go back to the main menu.


Exercise 4

Draw a picture of a snowman using three overlapping circles for the body and smaller circles for the buttons and eyes. Draw a horizontal line for the horizon.

Click here to go back to the main menu.


End of the Exercises