Question: QUESTION ELEVEN ( a ) With example describe all types of relationships in class diagram [ 1 0 Marks ] ( b ) A bank

QUESTION ELEVEN
(a) With example describe all types of relationships in class diagram [10 Marks]
(b) A bank system contains data on customers (identified by name and address) and their accounts.
Each account has a balance and there are 2 type of accounts: one for savings which offers an interest
rate, the other for investments, used to buy stocks. Stocks are bought at a certain quantity for a
certain price (ticker) and the bank applies commission on stock orders. Draw a class diagram to
illustrate the system
[10 Marks]
QUESTION TWELVE
(a) Describe five components of activity diagram
[10 Marks]
(b) Read the following description of Voting system and then draw the activity diagram.
Once arrived at the polling station, elector gives the own electoral card to station master who checks
if the polling station number is right. Then he checks the identity document and if ok he gives the
ballot paper to the elector. Then the station master waits for a cabin to get free and he gives the
pencil to the elector and a secretary who signs the registry and put a print on the elector certificate.
Once elector has voted, he/she inserts the ballot paper in the urn, giving back the pencil and taking
back the own ID document.
[10 Marks]
QUESTION THIRTEEN
(a) Use Structured English to describe a scenario of the "Student Clearance system" use case in
sequence
(b) Create a UML use case diagram for the Student Clearance system including use cases, actors,
interactions between actors and use cases, relationships between use cases. [10 Marks]
QUESTION FIFTEEN
Siwazuri company deals with the supply of electronic accessories across in and out of Arusha region. The
company consists of many departments. Departments are located in one or more offices. One office acts as
a headquarters. Each department has a manager who is recruited from the set of employees. Your task is to
model the system for the company. Draw a class diagram that consists of all the classes, their atributes and
the relationships
[10 Marks]
 QUESTION ELEVEN (a) With example describe all types of relationships in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!