Use Case and Usage Scenario exercise Actors Consider the fol
Use Case and Usage Scenario exercise
Actors
Consider the following definitions to be the actors in the Child Care Center system:
Administrator
An administrator has the responsibility for registering new customers and billing existing customers. They have unrestricted access to the Child Care Management system including viewing and changing passwords.
Assistant
A teaching assistant has the responsibility for signing the children in and out of the Day Care Center. They have restricted access to the child management system.
Employee
An employed is the general name that refers to an administrator, teacher, or assistant.
Parent
The parent is a customer of the Child Care Center. They are responsible for enrolling children and paying the bills.
System
The system refers to the computer hardware and software that controls the application. It accepts user input, displays user output, and interfaces to the Web Server through the Internet.
Teacher
A teacher has responsibility for evaluating the children and logging their comments about the children’s behavior. They have the same restricted access to the child management system as their assistants.
Web Server
The Web server is a remote computer system that maintains the database and serves Web pages to the System.
Use-cases
The following use-cases are typical interactions between the external environment and the internal software system.
1. Enter daily reminder
2. Display daily reminder
3. View account information
4. Update account information
5. Sign-out child
Question 1
Write a scenario describing every one of the above use-case using the template below.
The following template describes what should be written in every entry of a use-case description table.
Use-case:
Scenario to be described
Primary actor:
Who is going to do this scenario
Description:
Aim/result of this scenario
Preconditions:
Conditions that has to be met to be able to perform this scenario
Trigger:
What causes this scenario to be initiated/reason behind scenario
Scenario:
Detailed steps that happen in the system to complete this scenario.
…
…
Exceptions:
Abnormal termination/Any case that leads to an incomplete scenario
| Administrator | An administrator has the responsibility for registering new customers and billing existing customers. They have unrestricted access to the Child Care Management system including viewing and changing passwords. |
| Assistant | A teaching assistant has the responsibility for signing the children in and out of the Day Care Center. They have restricted access to the child management system. |
| Employee | An employed is the general name that refers to an administrator, teacher, or assistant. |
| Parent | The parent is a customer of the Child Care Center. They are responsible for enrolling children and paying the bills. |
| System | The system refers to the computer hardware and software that controls the application. It accepts user input, displays user output, and interfaces to the Web Server through the Internet. |
| Teacher | A teacher has responsibility for evaluating the children and logging their comments about the children’s behavior. They have the same restricted access to the child management system as their assistants. |
| Web Server | The Web server is a remote computer system that maintains the database and serves Web pages to the System. |
Solution
Use-Case Enter Daily Reminder Primary Actor Employee Description Enter an event for a specific date into the system Pre-Conditions The user has valid credentials Trigger Employee has an event that needs to be reminded Scenario Employee logs onto the System. Employee selects New Daily Reminder. System prompts the Employee for the date of their reminder. If the reminder date is not already past the System prompts the Employee for their reminder message. The Employee enters the message for their reminder System stores the information and Employee receives verification that their reminder has been recorded Exceptions Data has already been crossed Use-Case Display daily reminder Primary Actor System Description Display employee reminders Precondition Reminder has prevoisuly been entered Trigger Current date is similar to reminder date Scenario Employee logs onto the System. System requests the Employee’s reminders from the Server. System looks and displays pending reminders. Employee acknowledges the reminder. System deletes the reminder from the Server. Exceptions The emplyee may not login on the reminder day Usecase View account information Primary Actor Employee Description Display account info Precondition Account exists Trigger Employee needs info from their accounts Scenario Employee logs onto the System. Employee selects View Account Information System prompts for the name or ID of the Parent or child. System requests the record from the Server and is displayed on the screen. Exception Account doesn\'t exist Use case Update account information primary actor Administrator Description Update information of a related account Precondition Details of account is known Trigger Account info needs to be updated Scenario Administrator logs onto the System. Administrator selects Edit Account Information. System prompts for the ID. System requests the record from the Server. Form is displayed on the screen. Administrator edits the appropriate fields and clicks on save. System sends the updated record to the Web Server for storage. Changes are logged. Administrator receives confirmation that the information was saved. Exception Acount details is known Usecase Sign-out child Primary actor Assistant Description To make sure children ar epicked by authorized persons Precondition Child has been available on day Trigger Someone arrives to pick up the child Scenario Assistant logs onto the System. Assistant selects Sign Out from the Main menu. System prompts the Assistant for the ID of the child. The information is sent to the Server. Server returns the name of any authorized pick ups. Assistant verifies the identity of the person picking up the child. If the child is released the Assistant Selects Released from the menu. System notifies the same. Assistant receives confirmation that the information was recorded. Exceptions

