Nothing Special   »   [go: up one dir, main page]

Object Oriented Analysis & Design Lab # 3: Case 1: Automated Coffee Maker

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Object Oriented Analysis & Design

Lab # 3

The objectives of lab 3 are to:


 Drawing effective use case diagrams
 Understand and document the functional requirements of a system

Case 1: Automated Coffee Maker


Your boss is tired of his employees who keep coming late from coffee break because it takes them
ages to prepare and drink their coffee and to clean their equipment afterwards. He asks you to design
the prototype of a new revolutionary coffee machine that is both appealing to the eye and yet easy
enough to handle even for an IT-specialist. During a brainstorming session on functional
requirements, among the first use cases that are brought up there are things like prepare, serve and
cleanUp. While appearing simple at first glance, it soon turns out that the design must pay attention
to a lot of details, so for each of the above mentioned use cases there will probably be several included
use cases like insertCoffee, or addMilk. Also bear in mind that the coffee machine needs to be refilled
and maintained. In order to maintain the coffee machine you may need to sign a contract with an
equipment supplier who could supply the coffee maker equipment such as refill tubes or switches (in
case if current equipment in the coffee maker is not working properly). There might be power breaks
or problems with the water supply. Try to cover as many boundary conditions as possible to ensure
the office keeps running.
1. Draw a use case diagram of coffer maker. Your diagram should contain examples of
<<includes>> and <<extends>> relations. An example of generalization would be nice.
2. Identify which of the following are actors in our use cases, saying whether each: is a primary
actor, is a secondary actor, is the system under design, or is not an actor for our purposes.
a) Employee
b) Maintainer
c) Boss
d) Supplier
e) Bank
f) Water supply
g) Coffee maker
h) Power supply
i) IT-specialist
j) Government
3. Write the pre-condition for “prepare coffee” use case.
4. Write the post-condition for “prepare coffee” use case.
5. Write the main success scenario for “prepare coffee” use case.
Case 2: Passport Automation System
To simplify the process of applying passport, software has been created by designing through
StarUML. Initially the applicant login the passport automation system and submits his details. These
details are stored in the database and verification process done by the passport administrator, regional
administrator and police; the passport is then issued to the applicant.
Requirements
Passport Automation System is used in the effective dispatch of passport to all of the applicants. This
system adopts a comprehensive approach to minimize the manual work and schedule resources,
time in a cogent manner. The core of the system is to get the online registration form (with details
such as name, address etc.,) filled by the applicant whose testament is verified for its
genuineness by the Passport Automation System with respect to the already existing information
in the database.
This forms the first and foremost step in the processing of passport application. After the first
round of verification done by the system, the information is in turn forwarded to the regional
administrator's (Ministry of External Affairs) office. The application is then processed manually based
on the report given by the system, and any forfeiting identified can make the applicant liable to penalty
as per the law. The system forwards the necessary details to the police for its separate verification
whose report is then presented to the administrator. After all the necessary criteria have been met, the
original information is added to the database and the passport is sent to the applicant.
Stakeholders and Interest (You may add any suitable stakeholder in the list)
Applicant - They are the people who desires to obtain the passport and submit the information to the
database.
Administrator - He has the certain privileges to add the passport status and to approve the issue of
passport. He may contain a group of persons under him to verify the documents and give suggestion
whether or not to approve the dispatch of passport.
Police - He is the person who upon receiving intimation from the PAS, perform a personal verification
of the applicant and see if he has any criminal case against him before or at present. He has been
vetoed with the power to decline an application by suggesting it to the Administrator if he finds any
discrepancy with the applicant. He communicates via this PAS.
You are required to understand the requirements of PAS and deliver the following artifacts.
1. Use case diagram
2. Project vision statement
3. Fully dressed use case model for any two valid use cases
a. The fully dressed use case should include name, scope, level, primary actor, stakeholders
and interest, pre-condition, post-condition, main success scenario, extensions (if any)
special requirements.

You might also like