Anda di halaman 1dari 1

TCS 2033 Object Oriented Analysis and Design

Assignment III

Instruction:
This assignment consists of two (2) questions. You are required to answer all questions and provide
detail explanation of each solution. For each question, start your answer on new page. Indicate your
references clearly. Answer should be typed on A4 paper with font style Arial or Times New Roman,
font size 12, and double spacing paragraph. You are encourage to use case tool to draw your model.

Submission Date: 30th April 2004

1. A newsagent employs delivery staff to deliver newspapers to customers each morning. The
newsagent has a computer system that maintains information about the customers, the papers they
receive each day and their delivery record. They may receive different papers on different days.
When a customer comes to pay, the computer system can: (i) display the amount to pay, (ii) print
an itemized list indicating how much is due and (iii) update the customer’s account. There is also
facility for printing a list of customers who have not paid their account for a given length of time.

The system records, which delivery staff delivers to each customer. If a customer contacts the
newsagent to complain about non-delivery, this can be recorded in the system and the customer
will not be charged for that day.

Customer can be added to or removed from the list, the requirements of a customer may changed
and papers may be temporarily cancelled when, for example, the customer goes on holiday.

Perform an initial object-oriented analysis of the system in which the following tasks are
accomplished.

(a) Construct use cases and collaboration to help you understand the problem.
(b) Identify possible classes and create a UML class diagram showing the associations together
with their multiplicity. Add attributes to your class diagram. Make it clear if any of your
classes represent actors.
(c) Construct UML sequence diagrams to help you add operations and to determine the
navigability of associations.

2. A Computing Science Department has an automatic practical laboratory registration system.


Information is held on students taking each course unit. In a practical class, after logging on to a
computer, a student registers their practical class attendance with the registration system. If a
practical class for a course unit for which they are registered is scheduled for that time then their
attendance is recorded. Otherwise, their attendance registration is ignored

Each course coordinator can view the attendance record for their course unit and generate a list of
low attenders. A course coordinator can add or remove students from a course unit and can add or
remove laboratory times.

Perform an initial object-oriented analysis of the system in which the following tasks are
accomplished.

(a) Construct use cases and collaboration to help you understand the problem.
(b) Identify possible classes and create a UML class diagram showing the associations together
with their multiplicity. Add attributes to your class diagram. Make it clear if any of your
classes represent actors.
(c) Construct UML sequence diagrams to help you add operations and to determine the
navigability of associations.

3. Do a survey or research of companies or organization that have used object oriented approach to
build their information systems. Write a report of your findings.

University College of Technology and Management Malaysia 1

Anda mungkin juga menyukai