This website is preserved for historical and scholarly reference and is no longer actively maintained.
CpSc 210, Section 1
Assignment 1
30 May 2000
Due: Tuesday, May 30 at midnight
Late penalties: 20 points per partial day late. That is, programs
turned in after midnight Tuesday and before midnight Wednesday
will have 20 points deducted for late, programs turned in after
midnight Wednesday and before midnight Thursday will have a total
of 40 points deducted for late, etc.
Total point value of assignment: 100 points
Late submissions not accepted after: Friday, June 2 at midnight
This assignment is to be done INDIVIDUALLY.
Create a directory, A1, which will contain all parts of this assignment.
(In this assignment the directory A1 will contain a single file
named Asg1.java.)
The objectives of this program are to give you some more experience working
with Java and, possibly, the Drawing WIndow. You may choose to do any one
of three problems: Problems 3.13, 3.14, or 3.15 on page 94.
Input for either Problem 3.14 or 3.15:
Request the user to enter an integer. You should store the integer
in a variable of type long.
Output (Problem 3.13, 3.14, or 3.15):
Print your name, the assignment number, and a short description
of the assignment to the screen. (For 3.13, print in the
Display Window.)
For 3.13, then print the design. For 3.14 and 3.15 (after
requesting the integer value from the user), print results.
Other requirements:
Follow the style standards to be found on your instructor's
web page for CPSC 210.
Submit your program using the handin command. There is a link to
the handin description on your lab page (www.cs.clemson.edu/~lab210).
Grading rubric:
In the opinion of the instructor the program is an honest attempt
to complete the assignment as described 20 pts.
If the above requirement is met:
Required documentation 10 pts.
Style standards 20 pts.
If the two previous requirements are not met, no further points
will be awarded.
The program compiles without error. 10 pts.
The program compiles without error, reads the input correctly,
and processes the data given in class correctly. 10 pts.
The program compiles correctly, reads the input correctly, and
processes the instructor's data correctly. 30 points