HW - Exercises O P F Updated
HW - Exercises O P F Updated
real estate agents. AREI works with two types of counts on their regular membership prices (e.g., two
potential buyers. Some buyers have an interest in o ne m emberships for the price of one for Valentine's
specific house. In this case, AREI prints information day). It is common for members to pay different
from its database, which the real estate agent uses to amounts for the same length of membership. The
help show the house to the buyer (a process beyond gym wants to mail out reminder letters to members
the scope of the system to be modeled ). Other buyers asking them to renew their memberships one month
seek AREl's advice in finding a house that meets their before their memberships expire. Some members
needs. In this case, the buyer completes a buyer infor- have become angry when asked to renew at a much
matio n fo rm that is entered into a buyer database, and higher rate than their original membership contract,
AREI real estate agents use its infor mation to search so the club wants to track the prices paid so that the
AREl's database and the multiple- listing service for manager can override the regular prices with special
houses that meet their needs. The results of these prices when members are asked to renew. The system
searches are printed and used to help the real estate must track these new prices so that renewals can bt
agent show houses to the buyer. processed accurately. One of the problems in the
J. Create a set of detailed use-case descriptions for the industry is the high turnover rate of members.
real estate system in exercise I. Although some members remain active for many
K. Perform a verifi cation and validation walkthrough of years, about half of the members do not renew their
the functional models of the real estate system memberships. This is a major problem, because the
described in exercises I and J. gym spends a lot in advertising to attract each new
L Draw a use-case diagram and a set of activity diagrams member. The manager wants the system to track each
for the following system. A Video Store (AVS) runs a time a member comes into the gym. The system will
series of fairly standard video stores. Before a video then identify the heavy users and generate a report so
can be put on the shelf, it must be cataloged and the manager can ask them to renew their member·
entered into the video database. Every customer must ships early, perhaps offering them a reduced rate for
have a valid AVS customer card in order to rent a early renewal. Likewise, the system should identify
video. Customers rent videos for three days at a time. members who have not visited the gym in mo re than
Every time a customer rents a video, the system must a mQnth, so the manager can call them and attempt to
ensure that he or she does not have any overdue reinterest them in the gym.
videos. If so, the overdue videos must be returned and P. Create a set of detailed use-case des<:riptions for the
an overdue fee paid before customer can rent more system in exercise O.
videos. likewise. if the customer has returned overdue Q. Perform a verification and validation walkthrough of
videos but has not paid the overdue fee, the fee must the functio nal models of the gym membership system
be paid before new videos can be rented. Every morn- described in exercises 0 and P.
ing, the store manager prints a repo rt that lists overdue R. Draw a use-case diagram and a set of activity diagrall15
videos. If a video is two or more days overdue, the for the following system. Picnics R Us (PRU) is a small
manager calls the customer to rem ind him or her to catering firm with five employees. During a typical
return the video. If a video is returned in damaged summer weekend, PRU caters fifteen picnics with
condit ion, the manager removes it from the video twenty to fi fty people each. The business has grown
database and may sometimes charge the customer. rapidly over the past year and the owner wants to
M. Create a set of detailed use-case descriptions for the install a new computer system fo r managing the
video system in exercise L ordering and buying process. PRU has a set of ten
N. Perform a veri ficatio n and validation walkthrough of standard menus. When potential customers call, the
the functional models of the video store system receptionist describes the menus to them. If the cus-
described in exercises Land M. tomer decides to book a picnic, the receptionist
O. Draw a use-case diagram and a set of activity dia- records the customer information (e.g., name, address,
grams for a gym membership system. When mem- phone number) and the information about the picnic
bers join the gym, they pay a fee for a certain length (e.g., place, date, time, which one of the standard
of time. Most memberships are for one year, but menus, total price) on a contract. The customer is then
membe rsh ips as short as two months are available. faxed a copy of the contract and must sign and return
Throughout the year, the gym offers a variety of dis- it along with a deposit (often a credit card or by debit
Minicases 269
1. Choose one use case and, for each scenario, create 4. Perform a CRUDE analysis to show the interactiv-
a sequence diagram. ity of the objects in the system.
2. Create a communication diagram for each scenario 5. Perform a verification and validation walkthrough
of the use case chosen in Question 1. of the problem .
3. Create a behavioral state machine to depict one of G. For the Picnics R Us problem in Chapters 4 (exercises
the classes on the class diagram you created for R, 5, and T) and 5 (exercises V and W):
Chapter 5, exercise P. I. Choose one use case and, for each scenario, create
t Perform a CRUDE analysis to show the interactiv- a sequence diagram.
ity of the objects in the system. 2. Create a communication diagram for each scenario
S. Perform a verification and validat io n walkthrough of the use case chosen in Question 1.
of the problem. 3. Create a behavioral state machine to depict one of
the A Video Store problem in Chapters 4 (exer- the classes on the class diagram you created for
run L, M, and N) and 5 (exercises Rand 5): Chapter 5, exercise V.
\. Choose one use case and, for each scenario, create 4. Perform a CRUDE analysis to show the interactiv-
a sequence diagram. ity of the objects in the system.
2. Create a communication diagram for each scenario 5. Perform a verification and validation walkthrough
of the use case chosen in Question 1. of the problem.
3. Create a behavioral state machine to depict one of H. For the Of-the-Month-Club problem in Chapters 4
the classes on the class diagram you created for (exercises U, V, and W) and 5 (exercises X and V):
Chapter 5, exercise R. J. Choose one use case and, for each scenario, create
~. Perform a CRUDE analysis to show the interactiv- a sequence diagram.
ity of the objects in the system. 2. C reate a communication diagram for each scenario
S. Perform a verification and validation walkthrough of the use case chosen in Question 1.
of the problem. 3. Create a behavioral state machine to depict one of
the gym membership problem in Chapters 4 (exer- the classes on the class diagram you created for
0, P, and 0) and 5 (exercises T and U): Chapter 5, exercise X.
J. Choose one use case and, for each scenario, create 4. Perform a CRUDE analysis to show the interacliv-
a sequence diagram. ity of the objects in the system.
2. Create a communication diagram for each scenario 5. Perform a verification and validation walkthrough
of the use case chosen in Question I. of the problem.
3. Create a behavioral state machine to depict one of
the classes on the class diagram you created for
Chapter 5, exercise T.
to the functional model (use-case diagram, h. Create a sequence and a communication diagram
activity diagrams, and use-case descriptions) you pre- for each scenario of each use case identified in the
p.md for the Professional and Scientific Staff Man- functional model.
.agement (PSSM) Minicase in Chapter 4. Based on c. Create a behavioral state machine for each of the
\'Our performance, PSSM was so satisfied that they complex classes in the class diagram.
wanted you to develop both the structu ral and behav- d. Perform a CRUDE analysis to show the interactiv-
IOral models so that they could more fully understand ity of the objects in the system.
both the interaction that would take place between the e. Perform a verification and validation walkthrough of
U5m and the system and the system itself in greater each model: functional, structural, and behavioral.
detail. 2. Refer to the structural model (CRC cards and class dia-
L Create both CRC cards and a class diagram based gram) that you created for the Holiday Travel Vehicles
on the functional models created in Chapter 4. Minicase in Chapter 5. Based on you r performance,