Process/Protocol/Interface Description for getStudentCourses

Name/Header: getStudentCourses(studentID, studentCourses)

Processing Narrative: This module accesses the University's Student Information Database and returns a list of all courses taken by a particular student (specified by studentID) in order taken from earliest to latest. The grade received for each course is also included. A blank grade means that the student is currently enrolled in that course.

Input: studentID

Output: studentCourses - a (100 x 15) character array (see below). The invoking module must provide an address (pointer) to this array.

Global Data Used: None

Restrictions/Limitations: There is a maximum of 100 courses returned for any given student

  

studentCourses array:

For example:

C

O

M

P

 

2

2

2

 

 

 

 

 

C

+

A

R

T

 

 

1

2

4

A

 

 

 

 

B

 

.

.

.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

O

M

P

 

3

9

6

S

E

L