Professional Documents
Culture Documents
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 1
Objectives
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 2
Agenda
(00:30) Introduction to Software Development Process
(00:45) Different Phases of SDLC
(00:45) Various Models
(00:15) Break
(00:45) System Decomposition – Different Levels of DFD
(01:30) Data Modeling – Normalization ERD
(01:00) Lunch Break
(00:30) Quality Attributes
(00:15) Testing – Introduction.
(00:15) Types: Static & Dynamic Testing.
(00:20) Black Box Testing,White Box Testing- Basis Path Testing
(00:20) Levels of Testing- Unit, Integration, System, Acceptance Testing
(00:15) Break
(01:30) Activities – Case study work outs
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 3
What is a Software ?
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 4
SOFTWARE ENGINEERING
Operation,
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 5
Software Product - Features
Extensive documentation
Detailed testing
Team effort
Conformance to standards
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 6
Software Product - Features
(contd…)
Usage of tools
Quality assurance
Project management
Risk management
Change management
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 7
SOFTWARE DEVELOPMENT
PROCESS (SDP)
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 8
NEED FOR SDP:
responsibilities
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 9
SOFTWARE LIFE CYCLE MODEL
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 10
NEED FOR SDLC MODEL
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 11
PHASES INVOLVED IN
THE SDLC
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 12
SDLC PHASES….
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 13
REQUIREMENT ANALYSIS
The aim of the requirements analysis phase is to understand
them properly.
Requirements specification(SRS)
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 14
Some basic questions for problem analysis…
What is the problem?
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 15
TYPES OF REQUIREMENTS
Functional requirements
Those requirements that is explicitly stated and has
to be met by the software developed.
document.
Goals of implementation
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 17
PROPERTIES OF A GOOD SRS
Unambiguous
Consistent
Complete
Verifiable.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 18
DESIGN
The process of defining the architecture , interface,
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 19
Analysis Vs Design
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 20
Levels of Design
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 21
Architectural Design
Defines the relationship between major structural
elements of the software.
Helps to develop a modular program structure and
represent the control relationship between modules.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 22
Data Design
Ex. Normalization
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 23
Procedural and Interface Design
PROCEDURAL DESIGN:
The pseudo codes,algorithms,flow charts which are required to
represent the logic for each and every individual module are
prepared.
INTERFACE DESIGN:
This is basically used to design how to input data to the system
and display the information from the system.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 24
MEASURES OF GOOD DESIGN
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 25
Coupling
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 26
DESIGN (contd..)
A visual representation of
(a) (b)
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 28
TESTING
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 29
TESTING
Testing is the process of executing the program with
the intent of finding errors
VERIFICATION
Are we building the product right.
VALIDATION
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 30
Types of Testing
Static Testing
Reviews,inspections, walkthroughs are some of the
techniques used.
Dynamic Testing
In dynamic testing the source code has to be executed and
tested with the test case
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 31
Testing Approaches
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 32
Black Box Testing - Advantages
complete
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 33
White Box Testing - Advantages
Used to identify infeasible path
Code optimization
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 34
Test Case Generation - Methods
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 35
Levels of Testing
Unit Testing :
Testing each and every individual
module for its correctness by using
test cases and unit test specification(UTS).
Integration Testing:
Integration testing is the process of
assembling modules to check whether the
dependent modules are interacting properly or not.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 36
Types of Integration Testing
Big Bang Approach- Test each module individually and linking all these
modules together only when every module in the system has been tested.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 37
System Testing
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 38
Acceptance Testing
Acceptance Testing - customer evaluation of the system
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 39
MODELS OF SDLC
Waterfall Model
Prototyping
Spiral Model
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 40
WATERFALL MODEL
Sequential model
Systematic approach
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 41
WATERFALL MODEL
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 42
WATERFALL MODEL
(contd..)
ADVANTAGES
Linear approach
Equivalent importance to all the phases
Contract Related issues can be addressed
DISADVANTAGES
Not used in practical development projects
Output will be viewed at last stage
Late-risk resolution
Blocking of states
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 43
PROTOTYPE
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 44
PROTOTYPE (contd..)
Valuable mechanism for gaining better understanding of the
customer’s needs
how the screens might look like
how the user interface would behave
how the system would produce outputs
TYPES
Throw-Away
Evolutionary
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 45
THROW-AWAY PROTOTYPE
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 46
EVOLUTIONARY PROTOTYPE
Iterative model.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 47
SPIRAL MODEL
Proposed by Barry Boehm in 1986.
Accommodates prototyping.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 48
SPIRAL MODEL (contd..)
Determine Evaluate
objectives, alternatives,
alternatives, Ri identify, resolve
constraints sk risks Prototype
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 49
APPLICATION SITUATIONS
Prototype
Throw away - Requirements are not clear
Evolutionary - Requirements are unstable
(keeps changing).
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 50
SYSTEM DECOMPOSITION
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 51
SYSTEM DECOMPOSITION
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 52
DATA FLOW DIAGRAM
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 53
COMPONENTS OF DFD
DATA FLOWS
DATA STORES
PROCESS
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 54
LEVELS OF DFD
DFD has an levelled approach- TOP-DOWN.
Level 0 – Represents the scope and environment of the
system(context).System is considered as a single process.
Level 1- The system is broken into its major
functionalities,each as a individual process.
Level 2- Decompose the major functionalities into sub
functionalities. Deals with each process in detailed.
No standard limit for number of levels in a DFD.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 55
DATA MODELLING
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 56
E-R DIAGRAM
Entity
Attributes
Relationship
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 57
Entity
Employee
Jack (Instance1)
Jim ( Instance2)
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 58
Attributes
Attributes
Each entity is described by a set of attributes/properties
NAME
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 59
Relationships
Relationships
When two or more entities are associated with each
other, we have an instance of a Relationship.
Mentioned by straight line -Relationship name
Types of relationship
- Cardinality
- Optionality
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 60
PROBLEMS WITH INCOREECT DB DESIGN
TO Minimize This
-NORMALIZATION
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 61
NORMALIZATON
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 62
NORMALIZATON
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 63
1st Normal Form
R - Relation
R(Stud Id, Stud Name,Course Id,Course Name,Duration,Cost,Grade)
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 64
2nd Normal Form
2nd normal form:
R1(Same)
R21(Course Id, Course Name, Duration,Cost)
R22(Course Id, Stud Id, Grade)
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 65
3rd Normal Form
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 66
QUALITIES OF GOOD
SOFTWARE
Correctness
If there is no difference between what the software is
expected to do and what it does, the software is correct.
Correctness is absolute.
Usability
The measure of how friendly the software is to users.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 67
QUALITIES OF GOOD
SOFTWARE (contd…)
Robustness
The capability to function acceptably in abnormal
circumstances.
Abnormal circumstances could be excess load, failure of
some parts.
Portability
Ability to use software across different hardware and
software environments.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 68
QUALITIES OF GOOD
SOFTWARE (contd…)
Reliability
The capability of functioning correctly considering some
criteria.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 69
QUALITIES OF GOOD
SOFTWARE (contd…)
Maintainability
Efficiency
Optimal use of available resources.
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 70
In Summary…
Software Development Process
Different Phases of SDLC
Models – Waterfall, Prototype, Spiral
Process Modelling - DFD
Data Modelling –ERD, Normalization
Quality Attributes
Testing - Static & Dynamic Testing.
Black Box Testing, White Box Testing- Basis Path Testing
Levels of Testing- Unit, Integration, System, Acceptance
Testing
Teknoturf Info Services Pvt. Ltd. | © Copyright 2008 (Do not redistribute or reuse) Slide# 71