Next: Design - How It
Up: Week 9
Previous: Yeah, But How Do
Our goal here is to write a student registration system, and we want to imagine the following
situation: imagine that a line of students forms in front of a desk where a person sits. The person
is using our software to register the students.
What does 'register' mean? What we'd like the software to do is to record the personal information
of each student in a file, and allow the student to choose courses and sections from a course list, which
should also be stored in a file.
The information associated with a student should be :
- name
- date of birth (dob)
- student number (student already knows this)
- courses (student chooses these)
- sections (student chooses these)
- fees that student owes
- amount of scholarship, if any
We also want to specify how the information will be used. We want the software to be able to:
- Given a student number, view all information regarding student
- Given a course name, print name and student number, section number, of all students in course
- Given a course name, print a list of all sections
- Given a course name and a section number, print a list of all students in the section
- Print the total amount owing the university, and the average amount per student
Is this a detailed enough specification? We shall see....
Next: Design - How It
Up: Week 9
Previous: Yeah, But How Do
Chris Trendall
Copyright ©Chris Trendall, 2001. All rights reserved.
2001-12-09