CPSC 333: Student Information System, Version Five

Location: [CPSC 333] [Ongoing Examples] [Student Information Systems] Version Five

This page was most recently modified on February 4, 1997


Problem Statement

This version of the student information is a different extension of Version Two.

As for version two, we will not keep track of sections of courses. (``Course sections'' have been removed in order to keep this example simple - not because it is realistic to forget about them.) However, this version must keep track of information for two kinds of courses, and students' participation in them.

Some of the courses that this system maintains information about are ``graded courses.'' We must keep track of the same information about these courses (discipline code, course number, and course title) as we have for courses in previous versions of the system, and discipline codes and course numbers can still be used to identify graded courses, as before. However, we will maintain one more piece of information about each graded course - a number of credits that the course is ``worth'' to students. This could be used to compute grade point averages for students or to check whether students have satisfied programme requirements, in future versions of this system.

Any student registered in a graded course is initially awarded a ``grade'' with value ``NA.'' When course requirements are completed, the student's grade is changed to one of ``A,'' ``A-,'' ``B+,'' ``B,'' ``B-,'' ``C+,'' ``C,'' ``C-,'', ``D+,'' ``D,'' or ``F.''

As before, a student can withdraw from a course in which the student is registered (as long as the student hasn't already been awarded a ``real grade'' in it). As before, a student can register in and withdraw from a course as many times as the student wants to, so it isn't necessary to keep track of the number of times that student has withdrawn from any given course.

While a student can register in a course after receiving a grade for it, the grade that the student had received for the course will be forgotten as soon as the student registers again (and it won't be reinstated, if the student then withdraws from the graded course before completing it).

The system also keeps track of information about ``pass/fail courses.'' Each course that the system knows about is either a ``graded course'' or a ``pass/fail course,'' but never both.

The system keeps track of the same information about a ``pass/fail course'' as it did for a ``course'' in Version Two of the system - a discipline code, course number, and course title. The system does not keep track of a ``number of credits'' for pass/fail courses (even though it does for ``graded courses'').

A student can be registered in, or may have passed, any pass/fail course (but not both at once). As before, a student can register in and withdraw from a pass/fail course as many times as the student wishes to. A student can't register in a given pass/fail course again after the student has passed it. Students don't receive ``grades'' for pass/fail courses; they either pass them, or the don't. When a student ``fails'' a pass/fail course, the student's registration in the course is simply deleted (so that the student may register in the course again, if the student wishes to).

References in Lecture Notes

Location: [CPSC 333] [Ongoing Examples] [Student Information Systems] [Version Five]


Department of Computer Science
University of Calgary

Office: (403) 220-5073
Fax: (403) 284-4707

eberly@cpsc.ucalgary.ca