Recreational Activity
Recreational Activity
Consider the following scenario then complete the exercises below:
Before a resident can attend a
recreational activity, both the resident and the activity must be entered into
the system. Every resident must have a valid resident number in order to attend
a recreational activity. Residents can
attend up to 10 recreational activities a month free of charge. Additional activities are charged a fee that
is specific to the activity. Every time
a resident signs up for an activity, the system must ensure that they have not
exceeded their limit of free activities and that the seat limit for the
recreational activity has not been exceeded. If the resident has exceeded their
limit then the system must note that the resident will be charged for the
activity. If the seat limit for the activity has been reached, the resident
should get a message telling them that the activity is full.
Ms. Smith assigns one of her staff
to enter all the planned recreational activities into the system. Her staff will enter all the activity
information including date, time, duration, location, seat limit, fee, and
staff. The staff can also edit and
delete the activity information. Every
week the office manager also creates a newsletter that is sent to current
residents. This newsletter includes
information about upcoming activities.
Every morning, the office manager prints a report that lists all the
residents who have reached their 10 free recreational activities. If a resident
has reached the threshold, the manager calls the resident to let them
know. If they don’t reach the resident
the manager will then send an email.
Exercises:
1.
Evaluate the HRC scenario above and create a package diagram for the
system. Consider the following
assumptions:
a.
Web application to manage resident information –this is for staff
only.
b.
Web application to manage activity information –this is for staff
only.
c.
Online web interface for residents to signup for activities and
view the activities they have signed up for.
d.
All data about residents and activities is stored in an Oracle database.
e.
The staff uses a cloud based third party software to create newsletters
and store the newsletters for later retrieval.
(10 points)
2.
Using the Sequence diagram for the “Resident Register for Event” use case
scenario update the sequence diagram to include any necessary design classes. (10 points)
3.
Create a ReportDesign for the Report that the manager uses every morning
– “Every morning, the office manager prints a report that lists all the
residents who have reached their 10 free recreational activities. If a resident
has reached the threshold, the manager calls the resident to let them
know. If they don’t reach the resident
the manager will then send an email.”
Your design might include the layout and relevant fields to be printed
on the report or sample report with sample data. (10 points)
4.
Consider the Use Case Diagram, Use Case Description, and Sequence
diagram you created for the HRC scenario.
Complete a method specification form for the method –
residentActivitySignup( ) and a separate form for addActivity(). A sample method specification form is
provided. (12 points)
|
Method Name: |
Class Name: |
ID: |
|
Triggers/Events: |
||
|
Arguments Received: |
Data type: |
Notes: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Arguments Returned: |
Data Type: |
Notes: |
|
|
|
|
|
|
|
|
|
|
|
|
|
Algorithm Specification: |
|
|
|
|
||
Extra Credit
Quality assurance and testing occur throughout the software development
lifecycle. Provide an example of a
quality assurance or testing activity that occurs during each phase of
SDLC. (List each phase, and then list
at least one QA or testing activity that occurs during that phase). (8 points)
Submit your completed assignment as an attachment (.doc, .docx, or .pdf)
via eLearning.
Post Your Ad Here
Comments