CPE 101 Assignment 2

Read Chapters 3,4 and 5 of the textbook and do the following exercises.

  1. Do exercises 3.5 - 3.8 (no programming)

  2. Do one exercise from 3.13 - 3.15.

  3. Do one exercise from 4.17 - 4.22.

  4. Download wsquares.zip. Convert this program to a Java application. Fig 4.19 - 4.20 is a good starting point. The panel example in java01.zip is a more compact starting point.

  5. Do either 4.25 or 4.26

  6. Do exercise 4.27 and 4.28.

  7. Do exercise 4.38

  8. Do exercises 5.5 through 5.10.

  9. Do exercise 5.21 and 5.23.

  10. Do exercises 5.26 through 5.29


Maintained by John Loomis, last updated 31 August 2005