Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction
At the beginning of each semester, the ABC University Registrar’s Office will provide a list of courses to students
through a new on-line registration system. Information about each course, such as professor, department, and
prerequisites will be includes helping students to make informed decisions.
The new system will allow students to review available courses and select four of them for the coming semester.
In addition, each student will indicate two alternative choices in case a course become filled or canceled. No
course will have more than ten students No course will have fewer than three students. A course with fewer than
three students will be canceled. If there is enough interest in a course, then a second section will be established.
Professor must be able to access the online system to indicate which courses they will be teaching. They will also
need to see which students have signed up for their courses.
The Registration process will last for three days. The first day will be freshmen orientation and registration. All
other students will arrive on the second day of the semester to register. The third day will be used to resolve any
outstanding course assignment conflicts.
Once the course registration process is completed for a student, the registration system sends information to the
billing system, so the students can be billed for the semester.
As a semester progresses, students must be able to access the online system to add or drop courses,
The University prides itself on academic achievement in science, engineering and arts. Some of the professors,
administrators, and students are computer illiterate. Thus this system, unlike the old one, must be easy to use for
all concerned.
Notes: The name collaboration diagram has been used in UML 1.5 or earlier version and now it has been renamed to
communication diagram as one of the 13 UML diagrams in UML 2.0. It is a kind of interaction diagram, thus, it
normally this the message number to show the interaction sequence. However, I think the communication diagram is
quite suitable to model the high-level system context, but the sequence number for the messages will not be
applicable in this case; as the context of the system, in particular, the message are non-deterministic in the view of
time.
Page 1 of 5
Applying UML 2 Communication Diagram to Identify Use Cases.doc
Page 2 of 5
Applying UML 2 Communication Diagram to Identify Use Cases.doc
Page 3 of 5
Applying UML 2 Communication Diagram to Identify Use Cases.doc
Notes: In this example, we are not going into the details of structuring the use cases, but conduct more detailed analysis for
the “Register Courses” use case. To start this, we first need to develop the use case description for the Register
Course use case. As each use case has a number of possible scenarios, each of those scenarios represents a
particular “use” of the system which can be described by a sequence of transactions; and that can be presented by
the flow of events and to be detailed in the use case description.
The Register for Course use case yields the following scenarios:
1. Four courses are open, and two alternates are not needed.
2. Four courses are not all open, and one or both alternates are needed.
3. Two courses are not open, and neither alternate is open.
4. Student does not have the proper prerequisites for a course.
Page 4 of 5
Applying UML 2 Communication Diagram to Identify Use Cases.doc
Reference
Case Studies extracted and rewritten from: “Succeeding with the Booch and OMT Methods, Addison Wesley, 1996.
Page 5 of 5