MODELING Tutorial 1
MODELING Tutorial 1
Lecturer: Mr. NGOLAH Kenneth Tim (Phd cand, Software Eng, UB)
1. Case Study:
HIBMAT Douala wants to model an Automatic Teller Machine (ATM) system for salary
payment. The ATM system is directly connected to the school bank. The main goals and
actors of system are as follows:
a) The system is such that the staff can do the following
- withdraw salary in full or path
- check balance in their account
b) The system is also such that if there is a technical fault, an engineering student
will repair it.
c) When the system runs out of cash, there bursar will fill it with cash
d) Before a staff withdraws their salary, the bank checks if the there is enough
money in the system as well as checks if the staff salary is equivalent to what is
requested to be withdrawn.
Task:
i. One of the USE CASES for the model is withdraw salarly, identify other USE
CASES in the case study (4mks)
ii. Using the USE CASES, draw a USE CASE diagram for the case study. (8 mks)
iii. Draw a SEQUENCE diagram for the withdrawal use case (8 mks)
1) Propose a use case diagram for the following flight management system:
- Powerful reactors allow the plane to take off and to land. During these
stages the reactors must be at the maximum of their capacities.
- The crew is composed of two pilots and six stewards.
- Passengers must book through a booking system. They can book for
business class if they are rich enough. They also can cancel their booking.
- They have assigned places, but they can be upgraded in some case.
- They expect the stewards to serve them well. (18 mks)
Tasks:
1. Design an Use case diagram for the fast-food delivery service. (8 mks)
2. Model a Sequence diagram for the payment Use case (8 mks)
3. Design a class diagram indicating the classes, attributes, operations, type of information,
visibility, associations, multiplicity (8 mks)
4. Design an Object diagram for the system (8 mks)
When the passenger leaves the elevator, the central control system switches the button light off
QUESTION 2
2) Propose a use case diagram for the following flight management system:
- Powerful reactors allow the plane to take off and to land. During these
stages the reactors must be at the maximum of their capacities.
- The crew is composed of two pilots and six stewards.
- Passengers must book through a booking system. They can book for
business class if they are rich enough. They also can cancel their booking.
- They have assigned places, but they can be upgraded in some case.
- They expect the stewards to serve them well. (18 mks)