UML, MERISE Methodology and Information System Projects (CSCT4102)

Computer Science - COS

Semester: First Semester

Level: 400

Year: 2018

EXERCIsE 1 (10 POINTS)
Model using a use case diagram a media library whose operation is described below.
A small media library has only one employee who assumes all the tasks:
The management of the works of the media library;
The management of the members.
The loan of a copy of a given work is limited to three weeks. If the copy is not reported within this time, it
generates litigation. If the copy is still not returned after one year, legal proceedings are initiated. Access
to the computer system is protected by a password.
EXERCIsE 2 (40 POINTS)
A bank has several agencies spread over the Cameroon territory. A bank is characterized by the name of
its managing director, its global capital, its own name and the address of its head office. The general
manager is identified by name, surname and income.
An agency has an agency number and an address. Each agency employs several employees, who are
characterized by their names, first names and dates of employment. Employees can request their transfer
from one agency to another, but an employee can only work in one agency. Agency employees only
manage customers.
A customer can only have accounts in a single branch of the bank. Each new client is systematically
assigned an employee of the agency (advisor). Customers have a name, a first name and an address.
The accounts are different in nature depending on whether they are paid or not (current accounts). Paid
accounts have an interest rate and earn interest paid annually.
1. Give a complete description of all classes (fill in all compartments). Specify the types of attributes
and return types of functions. Attributes are all private. Each attribute has two public methods
(getAttribute returns the value of an attribute and setAttribute assigns a new value to an
attribute). All other methods are accessible only in the class package.
2. Analyze the classes found in (1) and model them by factorizing (by generalization or otherwise) at
best the description of the properties.
3. There is a special relationship between the agency, the client, the employee and the account.
What relationship is it? Draw the model of this relationship.
4. Give the class diagram using only their name and add any possible ornaments to the relationships.
EXERCISE 3 (20 POINTS)
An online sales site offers products placed in a virtual shopping cart while the user is browsing. To validate
his purchases, he clicks on the button Exit from the store. It is then proposed to connect to an existing
account, or to create one if it does not have one yet.
To create a new account, the user must provide an e-mail address, which also serves as a login, his name
and address, possibly a delivery address, and his bank details. The case is envisaged where the e-mail
address is already associated with an account. If the validation of this information succeeds, we create a
new account and we propose to the user to connect to it. Then we go to the confirmation of purchases.
Model this procedure using an activity diagram.
REPUBLIC OF CAMEROON
Peace
Work
-
Fatherland
The UNIVERSITY OF BAMENDA
P.O. BOX 39 Bambili
School:_HTTTC___ Department: _Computer Science__ Lecturer(s): Mr. KAMGANG BEYALA
Course Code: CSCT4102 _ Course Title: UML, MERISE methodology
Session: _ January 2019_________ Hall: ______ Duration Allowed: 2 Hours
www.schoolfaqs.net