Student Database
In this assignmnet you will be given a file much like in assignment #1, that
you will have to parse and store into a hash table.
This will be a database of students and student grades for classes.
Each student will be be stored in a hash table, and the key will be their
SSN#. Whenever a report is generated for a student it should list the
courses that the student has taken, with the grade for each course and
overall GPA. Each student report should be in a presentable format,
someting like a transcript with two courses per line.
The commands are as follows.
- ADD -- Adds a student to the database.
- DEL -- Deletes a student from the database.
- RPN -- Reports a students record by student name.
- RBS -- Reports a students record by student's SSN.
- GRADE -- Updates a grade.
- RSG -- Replaces a students grade.
- RAS -- Report all students.
Each command will be on a line by it's self with the input parameters on the
following line(s).
The format of each command is as follows.
- ADD command is as follows:
ADD
FirstName LastName
Address
City State Zip
SSN
- Delete command is as follows:
- Report By Name
- Report By SSN
- Updating Grade
GRADE
SSN
Course Number
Course Title
Letter Grade
- Replaceing a Student Grade
RSG
SSN
Course Number
Letter Grade
- Report All Students
Here is an example input file. Make sure that you
call you input file student.in
Due Date:11/13/95