Page 1 of 3
FACULTY OF SCIENCE DEPARTMENT OF COMPUTER AND
INFORMATION SCIENCE REGULAR PROGRAMME
OBJECT-ORIENTED ANALYSIS AND DESIGN
Duration: 2 Hours
INSTRUCTIONS: Answer Question ONE and any TWO
Questions
Q1.
a) The fashion company is a small, county-based business that sells sweets
and cakes to the general public whose proprietor is very keen on baking and
specializes in making homemade sweets and cakes for sale in the shop. As
well as making much of the confectionery sold in the shop, the proprietor
also buys sweets and some cakes from suppliers to increase the range of
products for sale. At the end of each day the proprietor reviews the sales of
the home made items. She then decides how many sweets and cakes to
make for the next day. This is also partly to replenish any stock that needs to
be bought from suppliers, and also to keep track of the sales. Once a week
the proprietor checks the stock to dispose of anything that is past its ‘use by’
date. She also checks to see if any raw ingredients for the homemade
products, or any pre-made sweets and cakes need to be ordered from the
suppliers.
The proprietor orders supplies on a Cash On Delivery basis, so all deliveries
are paid for immediately.
i. Identify the actors that will simulate this system. (2 Marks)
ii. Outline 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) Discuss any TWO goals of UML (Unified Modeling Language). (4
Marks)
Computer Science – object oriented analysis and design 2
FACULTY OF SCIENCE DEPARTMENT OF COMPUTER AND
INFORMATION SCIENCE REGULAR PROGRAMME
OBJECT-ORIENTED ANALYSIS AND DESIGN
Duration: 2 Hours
INSTRUCTIONS: Answer Question ONE and any TWO
Questions
Q1.
a) The fashion company is a small, county-based business that sells sweets
and cakes to the general public whose proprietor is very keen on baking and
specializes in making homemade sweets and cakes for sale in the shop. As
well as making much of the confectionery sold in the shop, the proprietor
also buys sweets and some cakes from suppliers to increase the range of
products for sale. At the end of each day the proprietor reviews the sales of
the home made items. She then decides how many sweets and cakes to
make for the next day. This is also partly to replenish any stock that needs to
be bought from suppliers, and also to keep track of the sales. Once a week
the proprietor checks the stock to dispose of anything that is past its ‘use by’
date. She also checks to see if any raw ingredients for the homemade
products, or any pre-made sweets and cakes need to be ordered from the
suppliers.
The proprietor orders supplies on a Cash On Delivery basis, so all deliveries
are paid for immediately.
i. Identify the actors that will simulate this system. (2 Marks)
ii. Outline 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) Discuss any TWO goals of UML (Unified Modeling Language). (4
Marks)
Computer Science – object oriented analysis and design 2