1|Page
FACULTY OF SCIENCE DEPARTMENT OF COMPUTER SCIENCE
OBJECT-ORIENTED ANALYSIS AND DESIGN
TIME 2 Hours
INSTRUCTIONS: Answer Question ONE and any TWO Questions
Q1.
a) A bank has a unique routing transfer number (RTN) and a list of account
holders. An account holder has a name, a password, and owns one or more
accounts. An account has a name, balance (of type Money), number, owner,
bank, and list of transactions called a statement. A money object encapsulates
an integer number of pennies. A transaction has a date and an amount. A
negative amount represents money withdrawn. An online account
management system allows account holders to login, logout, create and close
real and proxy accounts, view account statements, transfer funds between real
accounts, and transfer funds from real accounts to proxy accounts. Every proxy
account is associated with a real account owned by another account holder
possibly at another bank. Transferring funds into a proxy account causes funds
to be transferred to the associated real account. However, the balance of the
proxy account is the total amount transferred into it.
i. Identify the actors that will simulate this system. (2 Marks)
ii. Identify the uses cases within this system. (4 Marks)
iii. Draw a use case diagram for the above system. (8 Marks)
iv. Identify the concepts and produce a partial domain model that captures the
main parts of the above system. (6 Marks)
b) Compare Object Oriented Analysis and Design (OOAD) & Structured Systems
Analysis and Design (SSAD). (4 Marks)
c) List and briefly explain any THREE visual artifacts produced during
Objectoriented Analysis & Design. (6 Marks)
Q2.
a) A use case narrative can be written in THREE different styles/formats. List and
explain these formats. (6 Marks)
b) A company consists of 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. REQUIRED: Draw a class
COMPUTER SCIENCE – OBJECT – ORIENTED ANALYSIS AND DESIGN
FACULTY OF SCIENCE DEPARTMENT OF COMPUTER SCIENCE
OBJECT-ORIENTED ANALYSIS AND DESIGN
TIME 2 Hours
INSTRUCTIONS: Answer Question ONE and any TWO Questions
Q1.
a) A bank has a unique routing transfer number (RTN) and a list of account
holders. An account holder has a name, a password, and owns one or more
accounts. An account has a name, balance (of type Money), number, owner,
bank, and list of transactions called a statement. A money object encapsulates
an integer number of pennies. A transaction has a date and an amount. A
negative amount represents money withdrawn. An online account
management system allows account holders to login, logout, create and close
real and proxy accounts, view account statements, transfer funds between real
accounts, and transfer funds from real accounts to proxy accounts. Every proxy
account is associated with a real account owned by another account holder
possibly at another bank. Transferring funds into a proxy account causes funds
to be transferred to the associated real account. However, the balance of the
proxy account is the total amount transferred into it.
i. Identify the actors that will simulate this system. (2 Marks)
ii. Identify the uses cases within this system. (4 Marks)
iii. Draw a use case diagram for the above system. (8 Marks)
iv. Identify the concepts and produce a partial domain model that captures the
main parts of the above system. (6 Marks)
b) Compare Object Oriented Analysis and Design (OOAD) & Structured Systems
Analysis and Design (SSAD). (4 Marks)
c) List and briefly explain any THREE visual artifacts produced during
Objectoriented Analysis & Design. (6 Marks)
Q2.
a) A use case narrative can be written in THREE different styles/formats. List and
explain these formats. (6 Marks)
b) A company consists of 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. REQUIRED: Draw a class
COMPUTER SCIENCE – OBJECT – ORIENTED ANALYSIS AND DESIGN