المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : حل واجب M363 مهندس 00966544321455 / 0544321455 ايميل [email protected]



أسواق
25-03-2013, 02:00 AM
M363: Software engineering with s
TMA-M363


Question One: [10 marks]

Use the following deion of a vending machine to answer the below questions:

A vending machine sells small, packaged, ready to eat items (chocolate bars, s, candies, etc.). A customer can buy an item, using a smart card (issued by the vending machine company) to pay for it. The buying process involved: choose an item, pay for it, and take item. The system can be used by a customer, a maintenance employee (who check items, and recharges items in the machines), an administrator (who sets up the machine).

a. Extract a functional requirement. [2 marks]

b. Extract a pre-condition and nominate use case that has this pre-condition. [2 marks]
c. Draw a use case diagram for vending machine system. [6 marks]

Question Two: [15 marks]

Draw a class diagram of the below banking system.
A bank have several branches; each branch has one ATM machine. The ATM machine has several accounts, Accounts could be: a chequing account or a savings account. Each bank has zero or more customers and each customer has 2 accounts: a chequing account and a savings account . The ATM is used by customers of a bank.
Question Three: [15 marks]

Use the diagram in figure 1 that represents airline reservation system to answer the below questions.
a. What is the of the diagram? [1 mark]

b. List sequence of steps that represent airline reservation system as appeared in figure 1. [10 marks]

c. Redraw the diagram to show the following extension. [4 marks]

After selecting flight, the system gives you two different paths dependent on whether you are using reward points. If you use reward points then enter points and at the same time hold reservation. Then payment information is supplied.

Figure 1. UML diagram