Help with program design.
I just completed a Java I course in school. Since they aren't offering the second course until next Spring, I am trying to continue and further my studies on my own.
I am trying to create a grading program. I started writing various methods, but I stopped and asked myself: would creating an object be better suited for this problem?
I started to rethink the program and here is where I am at:
- Prompt the professor to enter the number of graded homework assignments, tests, labs, etc. Allow him to enter the possible point total for each. (65 points for each homework assignment, 100 for each test, etc.) This information should be stored so that one doesn't have to reenter that information for each student. With that information, the total number of points possible for ALL assignments should be calculated.
- Given the numbers he enters, prompt him to enter the grades for x number of homework assignments, x number of tests, labs, etc. (Homework 1: ___, Homework 2: ___, Test 1: ___, etc.)
- Once completed, the information (weighted grade for homework, tests, etc., final grade, letter grade, etc.) should save to a file along with the student name/id number.
- **Possibility: Allow the user to run a program, entering their name/student id, and printing their grades onto the screen.
What is the best way to approach this problem? I am trying to make it as "modular" as possible.
Looking over what I want to accomplish, would an object make more sense than solely writing methods to handle these problems? I mean, it IS an object oriented language and I need to start thinking of how to take advantage of the OO concept. I am not too comfortable with them as we only created very very basic objects.
ANY insight would be helpful.
Thanks in advance.