Professional Documents
Culture Documents
Dr Kristin Stock
Outline
SDLC: Methodologies
Methodology: a formalized approach to
implementing the SDLC
Categories
By area of focus
Process oriented
Data centered
Object-oriented
Object-Oriented
Systems Analysis & Design
Modular we use modules known as objects
that encapsulate both data and process
We decompose problems into objects that
combine both
Railway
Footpath
Behavioural
Structural
Important Concepts in
OOAD
Classes
Objects
Methods
Messages
Encapsulation
Inheritance
Polymorphism
Road
name
speed limit
width
surface
widen
change surface
change speed limit
open
close
Road
name
speed limit
width
surface
widen
change surface
change speed limit
open
close
Road
name
speed limit
width
surface
widen
change surface
change speed limit
open
close
Inheritance
Inheritance
General classes are created
(superclasses)
Subclasses can inherit data
and methods from a
superclass
Abstract classes are not
instantiated.
Road
name
speed limit
width
surface
widen
change surface
change speed limit
open
close
Elaboration
Heavy focus on analysis & design developing models
Other workflows may be included
OOAD Views
Functional
How the
objects
interact
How the
system
behaves from
the
perspective
of the user
Behavioural
The
objects
the
Structural system
uses
UML Diagrams
Represent the
data and static
relationships in
an information
system
Depict the
dynamic
relationships
among the
instances or
objects that
represent the
business
information
system
Example Use-Case
Use-case:
a major process in the system
that gives a benefit to the users
Subject boundary: a named box that depicts the
scope of the system
An association relationship: links an actor with the
Scenarios
A story about an example user and use of the
system.
Very useful for helping you think about use
cases.
Mrs Smith likes to have her car serviced once a year or
every 10,000 kms, whichever is sooner, and is very
concerned that she not leave it too long. She would
like to be reminded of the need for the service, but
does not use any technology other than a basic mobile
phone..
Actors
Roles that interact with the IT system
Including external systems
Those who only receive from the system are
also actors
30
Actor Generalization
Overlapping role
(abstraction)
Accounting
Staff
Accountant
Bookkeeper
Specialized roles
concrete role
Customer
Service Rep
Customer
Service
Manager
encompasses the
role above
Card Applications
Customer
Service Rep
Actor
VERIFY
Credit Updates
CSR
Manager
handles
Case
generates
resolved through
Peace Committee
Member
Peace
Gathering
Payment
include
Change
Reservation
Make
Reservatio
n
Agent
Good for:
Seldom-used options
Customizing generic products
Breaking out alternate flows
Need to define
The point where the base use case is extended
The condition for doing so
Make
Reservation
extension points
Set seat class
Agent
extend
Deposit
Check Via
Teller
contains
generic
steps
Teller
contain overriding
or additional steps
Deposit Check
via ATM
Bank
Customer
http://q.xorro.com/pndk
Activity diagrams
Decision tables
Decision trees
Other artifacts
Basic flow
+
Alternative success flows
+
Exceptional (error) flows
Example Template
(supporting)
Special requirements (non-functional / constraints)
Related materials (links)
Activity diagram
User interface
Class diagram
Assumptions
Information items
Prompts and messages
Business rules
External interfaces
Related artifacts
Divergence point
Where it occurs in the basic flow
Convergence point
Where it returns to the basic flow
Documenting Exception
Flows
Error conditions that lead to the user abandoning
their goal
User cancels transaction
System errors force transaction cancellation
6. Additional Tools
Decision Tables
Describe the system responses to a number
of interrelated factors
Not needed if factors can be evaluated
separately
Table lists all possible situations and how the
system treats them
Accounts for all possible combinations of
factors
Can be used to create test cases
Decision Trees
Alternative to a decision table
Using a tree diagram rather than a table
Condition/Response Table
If conditions can be evaluated one by one
rather than in combination, use a
condition/response table
Condition
Response
Under minimum
No tax payable
Minimum - $18,000
Tax bracket A
$18,000.01 - $60,000
Tax bracket B
$60,000.01 - $500,000
Tax bracket C
Over $500,000
Tax bracket D
System Goals
Specifically a system for advanced search and
discovery of scientific resources:
journal papers
data sets
web services that implement scientific models.
A knowledge infrastructure.
The creation of an ontology was central.
Ontology = structure for describing knowledge
using a formal (logical) notation that allows
reasoning.
Scenario 1
Scenario 2
Concept Map
Workshop Competency
Questions
For a specific instrument one wants to know:
What does it measure?
What is the accuracy or precision?
What environmental parameters are required for successful operation? (e.g. in
ocean water salinity can be measured with conductivity, but in brackish water a
chemical measure might be more sensible.)
Who supplies the instrument?
Who has used the instrument?
What do I get for free?
Summary
UML is a modelling notation that enables OOAD.
A collection of different types of diagrams that
are used together.
Use case diagrams give a high level functional
view of the system requirements.
Use scenarios to connect functional requirements
to use cases.