C Sci 201.003 Introduction to Algorithm Design
Homework Assignment 2
Last revised 29 August 2006, 5:00 pm
NO CREDIT: 09/11
Read Chapter 2.
Hand in written solutions to Review Questions 2.5, 2.8, 2.9,
and 2.10, pp. 60-61.
Use NetBeans 5.0 to create a new project
named Homework2, as described in class. Follow all the
defaults suggested by NetBeans, so that a class named
homework2.Main is automatically created for you.
Use the main() method of this class to do
Programming Exercise 2.5 on p. 63 of your text.
When you have written, compiled, and run your project,
test it and correct any runtime and/or logic errors.
When you are satisfied that it runs correctly, create a
JAR file of your NetBeans project source folder as described
in class. Save your JAR file in your Computer Science account,
in the folder csci/201/.