CSCI 201 Homework Assignment 5

Written Assignment

Write solutions to Review Questions 5.7, 5.8, 5.11, and 5.15 on pages 160 to 162 of the textbook.

Due Date

Students in the evening lecture sections should turn in their written homework at class on Monday, 2 October. Students in the day-time lecture sections should turn in their written homework at class on Wednesday, 4 October.

Programming Project

Write a computer program to solve Programming Exercise 5.2 on page 163 of your textbook.

Create a NetBeans project called Homework5 to solve this problem. We suggest you start with the skeleton NetBeans project contained in the Homework 5 ZIP file.

If you prefer starting from scratch, use NetBeans' defaults in creating your project just as was done in the first week's lab. This will result in your code being placed in a class called Main within a package called homework5. Be sure to insert your Java statements within the main method!

Turning in

Your completed program must be stored within a subdirectory csci/201/Homework5 of your Linux home directory. If you create a project named Homework5 at project location csci/201 as was done in the first week's lab this will happen automatically.

If you complete this assignment on your "home" system, you still must create a csci/201/Homework5 directory within your Linux account to store your work. You can copy to that directory the java file for your Main class.

Due date

Programming assignments will be copied from student directories at 9:00 am on Friday, 6 October. It is your responsibility to have your assignment in place at that time.

Late assignments will also be copied at 9:00 am each of the following three days. There is a 10% penalty for each day the assignment is late.