1. Flow of Events for the Select Courses to Teach Use Case 1.1 Preconditions Create course offerings sub-flow of the mai
Posted: Wed Apr 27, 2022 3:48 pm
1. Flow of Events for the Select Courses to Teach Use Case 1.1 Preconditions Create course offerings sub-flow of the maintain course information use case must execute before this use case begins. 1.2 Main Flow This use case begins when the professor logs onto the registration system and enters his/her password. The system verifies that the password is valid (E-1) and prompts the professor to select the current semester or a future semester (E-2). The professor enters the desired semester. The system prompts the Professor to select the desired activity: ADD, DELETE, PRINT, OR QUIT. • If the activity selected is ADD, the S-1: add a course offering sub-flow is performed. • If the activity selected is DELETE, the S-2: delete a course offering sub-flow is performed If the activity selected is PRINT, the S-3: print a schedule sub-flow is performed. • If the activity selected is QUIT, the use case ends. . 1.3 Sub-flows S-1: Add a Course Offering: The system displays the course screen containing a field for a course name and number. The professor enters the name and number of a course (E-3). The system displays the course offerings for the entered course (E-4). The professor selects a course offering. The system links the professor to the selected course offering (E-5). The use case then begins again. S-2: Delete a Course Offering The system displays the course offering screen containing a field for a course offering name and number. The professor enters the name and number of a course offering (E- 6). The system removes the link to the professor (E-7). The use case then begins again
S-3. Print a Schedule The system prints the professor schedule (E-8). The use case begins again
1.4 Alternative Flows E-1: An invalid professor ID number is entered. The user can re-enter a professor ID number or terminate the use case. E-2: An invalid semester is entered The user can re-enter the semester or terminate the use case. E-3. An invalid course name number is entered. The user can re-enter a valid name/number combination or terminate the use case. E-4: Course offerings cannot be displayed. The user is informed that this option is not available at the current time. The use case begins again. E-5: A link between the professor and the course offering cannot be created. The information is saved and the system will create the link at a later time. The use case continues E-6: An invalid course offering name number is entered. The user can re-enter a valid course offering name/number combination or terminate the use case. E-7: A link between the professor and the course offering cannot be removed The information is saved and the system will remove the link at a later time. The use case continues E-8: The schedule cannot be printed. The user is informed that this option is not available at the current time.
4.2 Lab task: Draw the activity diagram for the flow of events for the Select Courses to Teach Use Case that was defined in this lab manual. Consider all the flow of events that was defined in the use case document and reflect it in your activity diagram. You can create individual activity diagram for each flow of events.
S-3. Print a Schedule The system prints the professor schedule (E-8). The use case begins again
1.4 Alternative Flows E-1: An invalid professor ID number is entered. The user can re-enter a professor ID number or terminate the use case. E-2: An invalid semester is entered The user can re-enter the semester or terminate the use case. E-3. An invalid course name number is entered. The user can re-enter a valid name/number combination or terminate the use case. E-4: Course offerings cannot be displayed. The user is informed that this option is not available at the current time. The use case begins again. E-5: A link between the professor and the course offering cannot be created. The information is saved and the system will create the link at a later time. The use case continues E-6: An invalid course offering name number is entered. The user can re-enter a valid course offering name/number combination or terminate the use case. E-7: A link between the professor and the course offering cannot be removed The information is saved and the system will remove the link at a later time. The use case continues E-8: The schedule cannot be printed. The user is informed that this option is not available at the current time.
4.2 Lab task: Draw the activity diagram for the flow of events for the Select Courses to Teach Use Case that was defined in this lab manual. Consider all the flow of events that was defined in the use case document and reflect it in your activity diagram. You can create individual activity diagram for each flow of events.