Computer Science 121
Assignment 4
Due: October 30, 2001

For this assignment you are to write a program that reads in a student’s name and number of credits completed.  It then prints out the student’s classification.  Students are classified as first year if the number of credits they have earned is under 32.  Second year students will have earned between 32 and 63 credits.  Third year between 64 and 95, and fourth year between 96 and 128.  It takes 128 credits to graduate, so also indicate whether or not the student has accummulated enough credits to qualify for graduation.  (Note: that students must also complete all the requirements for a major including the university core.)

You should also use a word processor such as Microsoft Word or WordPerfect to answer the following questions about your program.

1. How did you decide on the classes used in your program?  How did you name them?

2. What methods did you include in the classes, and how did you decide what they would do?

3. What kind of problems did you have when creating and running your program?  Were they syntax or logic errors, or both?

4. How did you design the statement that classified the student’s year?