OBJECT ORIENTED
DESIGN AND ANALYSIS
LECTURE # 1
28th August, 2018 Engr. Rida Ghafoor Hussain
Contact Information
2
Instructor: Engr. Rida Ghafoor Hussain
Assistant Professor
Department Of Computer Science
FAST-NUCES (CFD)
Email: rida.ghafoor@nu.edu.pk
Office hours:
Wednesday, 11:00 - 1:00 p.m
Course Information
3
Course Name: Object Oriented Analysis And Design
Course Code: CS309
Course Link:
http://slate.nu.edu.pk/portal/site/FSDCS309FALL2016CS/page/FSD
CS309FALL2016CS-1300
Books
4
3
Applying UML and Patterns – Craig Larman
Sams Teach Yourself UML in 24 hours – Joseph Schmuller
4 Topics to Cover
Overview
Analysis
Design
SDLC
Software Design
Engr. Ali Javed
What Is Design?
6
Designing A House
7
If you are asked to design a house…
D W W
Kitchen
Room 2
D
WC
D
Living
Room Room 1
D W W
What Is Design?
8
Explaining the idea/concept of something
Usually with graphical diagrams
The design is a representation of a product or a
system with sufficient detail for implementation
Overview of OOA/D
OOA/D (and all software design) is strongly related to the
prerequisite activity of requirements analysis, which includes
writing use cases.
From requirements through to implementation, how should a
developer or team proceed?
Requirements analysis and OOA/D needs to be presented in
the context of some development process.
In this case, the well-known Unified Process is used as the
sample iterative development process.
Analysis?
Analysis emphasizes an investigation of the problem and
requirements, rather than a solution. For example, if a new
computerized library information system is desired, how will it
be used?
Requirements analysis (an investigation of the requirements)
Object analysis (an investigation of the domain objects).
Design?
Design emphasizes a conceptual solution that fulfills the
requirements, rather than its implementation.
For example, a description of a database schema and software
objects.
Ultimately, designs can be implemented.
Object-Oriented Analysis
During object-oriented analysis, there is an emphasis on
finding
and describing the objects or concepts in the problem domain.
Look for nouns (things), in the specification they are usually
objects.( Douglas Bell)
For example, in the case of the library information system,
some of the objects include Book, Library, and Patron.
Object-Oriented Design
In OOD there is an emphasis on defining software objects
and how they collaborate to fulfill the requirements.
For example, in the library system, a Book software object
may have a title attribute and a getChapter method.
Look for verbs (doing words) in the specification these are
the methods. (Douglas bell)
Implementation
During implementation or object-oriented programming,
design objects are implemented, such as a Book class in Java.
Example
The Second Task in SDLC
16
Problem
Design
Models
Solution
Designing Software
17
From our understanding of the problem, we start building the
software
Translate the analysis model into the design model
Map the information from the analysis model to the design
representations.
Goal of Software Design
18
The goal of Software Design is to build a model that meets
all customer requirements and leads to successful
implementation.
For any query Feel Free to ask
44