CPSC 333: Process Specification for Process #2.1 in Student Information System, Version One

Location: [Student Information Systems] [Version One] [Data Flow Diagram] Process Specification for Process #2.1


Process Name: Display Student Info
Process Number: 2.1
Inputs: ID number, student
Outputs: student info, status message

Assumptions:

None

Error Conditions:

  1. The ID number from the Instructor is syntactically incorrect.
  2. The ID number is not in use

Processing Details:

if the ID number is syntactically correct then
  Attempt to read a student with the given ID number from the data store
  if the attempt to read succeeds then
    student info := student
    status message := `ok'
  else
    status message := `ID number is not in use'
  end if
else
  status message := `ID number is syntactically incorrect'
end if

[Return to Data Flow Diagram]


Department of Computer Science
University of Calgary

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

eberly@cpsc.ucalgary.ca