SlideShare a Scribd company logo
1
Software Engineering
(LECT 1)
2
Organization of this
Lecture:
 What is Software Engineering?
 Programs vs. Software Products
 Evolution of Software Engineering
 Notable Changes In Software
Development Practices
 Introduction to Life Cycle Models
 Summary
3
What is Software
Engineering?
 Engineering approach to develop
software.
Building Construction Analogy.
 Systematic collection of past
experience:
techniques,
methodologies,
guidelines.
4
Engineering Practice
 Heavy use of past experience:
 Past experience is systematically
arranged.
 Theoretical basis and quantitative
techniques provided.
 Many are just thumb rules.
 Tradeoff between alternatives
 Pragmatic approach to cost-
effectiveness
5
Technology Development
Pattern
Art
Craft
Engineering
Esoteric Past
Experience
Systematic Use of Past
Experience and Scientific Basis
Technology
Time
Unorganized Use of
Past Experience
6
Why Study Software Engineering?
(1)
 To acquire skills to develop large
programs.
 Exponential growth in complexity and
difficulty level with size.
 The ad hoc approach breaks down
when
size of software increases: --- “One
thorn
of experience is worth a whole wilderness of
warning.”
7
Why Study Software Engineering?
(2)
 Ability to solve complex
programming problems:
 How to break large projects into
smaller and manageable parts?
 Learn techniques of:
specification, design, interface
development, testing, project
management, etc.
8
Why Study Software Engineering?
(3)
To acquire skills to be a
better programmer:
Higher Productivity
Better Quality Programs
9
Software Crisis
 Software products:
fail to meet user requirements.
frequently crash.
expensive.
difficult to alter, debug, and
enhance.
often delivered late.
use resources non-optimally.
10
Software Crisis (cont.)
Year
Hw cost
Sw cost
Relative Cost of Hardware and Software
1960 1999
11
Factors contributing to the
software crisis
 Larger problems,
 Lack of adequate training in
software engineering,
 Increasing skill shortage,
 Low productivity improvements.
12
Programs versus Software
Products
 Usually small in size
 Author himself is sole
user
 Single developer
 Lacks proper user
interface
 Lacks proper
documentation
 Ad hoc development.
 Large
 Large number of
users
 Team of developers
 Well-designed
interface
 Well documented &
user-manual prepared
 Systematic development
13
Computer Systems
Engineering
 Computer systems engineering:
encompasses software
engineering.
 Many products require
development of software as well
as specific hardware to run it:
 a coffee vending machine,
a mobile communication
product, etc.
14
Computer Systems
Engineering
 The high-level problem:
deciding which tasks are to be
solved by software
which ones by hardware.
15
Computer Systems
Engineering (CONT.)
 Often, hardware and software are
developed together:
 Hardware simulator is used during
software development.
 Integration of hardware and
software.
 Final system testing
16
Computer Systems
Engineering (CONT.)
Feasibility
Study
Requirements
Analysis and
Specification
Hardware
Software
Partitioning
Hardware
Development
Software
Development Integration
and Testing
Project Management
17
Emergence of Software
Engineering
 Early Computer Programming
(1950s):
Programs were being written in
assembly language.
Programs were limited to about a
few hundreds of lines of assembly
code.
18
Early Computer
Programming (50s)
 Every programmer developed
his own style of writing
programs:
according to his intuition
(exploratory programming).
19
 High-level languages such as
FORTRAN, ALGOL, and COBOL
were introduced:
This reduced software
development efforts greatly.
High-Level Language
Programming (Early 60s)
20
 Software development style
was still exploratory.
Typical program sizes were
limited to a few thousands of
lines of source code.
High-Level Language
Programming (Early 60s)
21
Control Flow-Based Design
(late 60s)
 Size and complexity of programs
increased further:
exploratory programming style
proved to be insufficient.
 Programmers found:
very difficult to write cost-
effective and correct programs.
22
Control Flow-Based Design
(late 60s)
 Programmers found:
programs written by others very
difficult to understand and maintain.
 To cope up with this problem,
experienced programmers
advised: ``Pay particular attention
to the design of the program's
control structure.'’
23
Control Flow-Based Design (late 60s)
 A program's control structure
indicates:
 the sequence in which the program's
instructions are executed.
 To help design programs having
good control structure:
 flow charting technique was
developed.
24
Control Flow-Based Design (late
60s)
 Using flow charting
technique:
one can represent and design
a program's control structure.
Usually one understands a
program:
by mentally simulating the
program's execution sequence.
111 25
Control Flow-Based Design
(Late 60s)
A program having a messy
flow chart representation:
difficult to understand and
debug.
26
Control Flow-Based Design (Late
60s)
 It was found:
GO TO statements makes control
structure of a program messy
GO TO statements alter the flow
of control arbitrarily.
The need to restrict use of GO TO
statements was recognized.
27
Control Flow-Based Design (Late
60s)
 Many programmers had
extensively used assembly
languages.
JUMP instructions are frequently
used for program branching in
assembly languages,
programmers considered use of
GO TO statements inevitable.
28
Control-flow Based Design (Late
60s)
 At that time, Dijkstra published
his article:
“Goto Statement Considered
Harmful” Comm. of ACM, 1969.
 Many programmers were
unhappy to read his article.
29
Control Flow-Based Design (Late
60s)
 They published several
counter articles:
highlighting the advantages
and inevitability of GO TO
statements.
30
Control Flow-Based Design (Late
60s)
 But, soon it was conclusively
proved:
 only three programming constructs
are sufficient to express any
programming logic:
sequence (e.g. a=0;b=5;)
selection (e.g.if(c=true) k=5 else
m=5;)
iteration (e.g. while(k>0) k=j-k;)
31
Control-flow Based Design (Late
60s)
 Everyone accepted:
it is possible to solve any
programming problem without
using GO TO statements.
This formed the basis of
Structured Programming
methodology.
32
Structured Programming
 A program is called structured
when it uses only the following
types of constructs:
sequence,
selection,
iteration
33
Structured programs
 Unstructured control flows
are avoided.
 Consist of a neat set of modules.
 Use single-entry, single-exit
program constructs.
34
 However, violations to this
feature are permitted:
due to practical considerations
such as:
premature loop exit to support
exception handling.
Structured programs
35
Structured programs
 Structured programs are:
Easier to read and understand,
easier to maintain,
require less effort and time for
development.
36
Structured Programming
 Research experience
shows:
programmers commit less
number of errors
while using structured if-then-
else and do-while statements
compared to test-and-branch
constructs.
37
Data Structure-Oriented
Design (Early 70s)
 Soon it was discovered:
it is important to pay more
attention to the design of data
structures of a program
than to the design of its control
structure.
38
Data Structure-Oriented
Design (Early 70s)
Techniques which
emphasize designing the
data structure:
derive program structure from
it:
are called data
structure-oriented
39
Data Structure Oriented
Design (Early 70s)
 Example of data structure-
oriented design technique:
Jackson's Structured
Programming(JSP)
methodology
developed by Michael Jackson in
1970s.
40
JSP technique:
 program code structure
should correspond to the
data structure.
Data Structure Oriented
Design (Early 70s)
41
 In JSP methodology:
a program's data structures are
first designed using notations for
sequence, selection, and iteration.
Then data structure design is
used :
to derive the program structure.
Data Structure Oriented
Design (Early 70s)
42
 Several other data structure-
oriented Methodologies also
exist:
 e.g., Warnier-Orr
Methodology.
Data Structure Oriented
Design (Early 70s)
43
Data Flow-Oriented Design (Late
70s)
 Data flow-oriented
techniques advocate:
the data items input to a system
must first be identified,
processing required on the data
items to produce the required
outputs should be determined.
44
Data Flow-Oriented Design(Late
70s)
 Data flow technique
identifies:
different processing stations
(functions) in a system
the items (data) that flow
between processing stations.
45
Data Flow-Oriented Design (Late
70s)
 Data flow technique is a generic
technique:
 can be used to model the working of
any system
not just software systems.
 A major advantage of the data
flow technique is its simplicity.
46
Data Flow Model of a Car
Assembly Unit
Fit
Engine
Paint and
Test
Fit
Wheels
Fit
Doors
Chassis Store
Door Store
Wheel Store
Engine Store
Car
Partly
Assembled
Car
Assembled
Car
Chassis with
Engine
47
Object-Oriented Design (80s)
 Object-oriented technique:
an intuitively appealing design
approach:
natural objects (such as
employees, pay-roll-register, etc.)
occurring in a problem are first
identified.
48
Object-Oriented Design (80s)
 Relationships among objects:
such as composition, reference,
and inheritance are determined.
 Each object essentially acts as
a data hiding (or data abstraction)
entity.
49
Object-Oriented Design (80s)
 Object-Oriented Techniques
have gained wide acceptance:
Simplicity
Reuse possibilities
Lower development time and cost
More robust code
Easy maintenance
50
Evolution of Design
Techniques
Object-Oriented
Ad hoc
Data flow-based
Data structure-
based
Control flow-
based
51
Evolution of Other Software
Engineering Techniques
 The improvements to the
software design methodologies
are indeed very conspicuous.
 In additions to the software
design techniques:
several other techniques evolved.
52
Evolution of Other Software
Engineering Techniques
life cycle models,
specification techniques,
project management techniques,
testing techniques,
debugging techniques,
quality assurance techniques,
software measurement
techniques,
CASE tools, etc.
53
Differences between the exploratory
style and modern software
development practices
 Use of Life Cycle Models
 Software is developed through
several well-defined stages:
requirements analysis and
specification,
design,
coding,
testing, etc.
54
Differences between the exploratory
style and modern software
development practices
 Emphasis has shifted
 from error correction to error
prevention.
 Modern practices emphasize:
detection of errors as close to
their point of introduction as
possible.
55
Differences between the exploratory
style and modern software
development practices (CONT.)
 In exploratory style,
errors are detected only during
testing,
 Now,
 focus is on detecting as many
errors as possible in each
phase of development.
56
Differences between the exploratory
style and modern software
development practices (CONT.)
 In exploratory style,
coding is synonymous with
program development.
 Now,
coding is considered only a
small part of program
development effort.
57
Differences between the exploratory
style and modern software
development practices (CONT.)
 A lot of effort and attention is now
being paid to:
 requirements specification.
 Also, now there is a distinct design
phase:
 standard design techniques are being
used.
58
Differences between the exploratory
style and modern software
development practices (CONT.)
 During all stages of
development process:
Periodic reviews are being carried
out
 Software testing has become
systematic:
standard testing techniques are
available.
59
Differences between the exploratory
style and modern software
development practices (CONT.)
 There is better visibility of design and
code:
 visibility means production of good quality,
consistent and standard documents.
 In the past, very little attention was being
given to producing good quality and
consistent documents.
 We will see later that increased visibility
makes software project management easier.
60
Differences between the exploratory
style and modern software
development practices (CONT.)
 Because of good documentation:
 fault diagnosis and maintenance are
smoother now.
 Several metrics are being used:
 help in software project management,
quality assurance, etc.
61
Differences between the exploratory
style and modern software
development practices (CONT.)
 Projects are being thoroughly
planned:
 estimation,
 scheduling,
 monitoring mechanisms.
 Use of CASE tools.
62
Software Life Cycle
 Software life cycle (or software
process):
 series of identifiable stages
that a software product
undergoes during its life time:
Feasibility study
requirements analysis and specification,
design,
coding,
testing
63
Life Cycle Model
 A software life cycle model (or
process model):
 a descriptive and diagrammatic model
of software life cycle:
 identifies all the activities required for
product development,
 establishes a precedence ordering among
the different activities,
 Divides life cycle into phases.
64
Life Cycle Model (CONT.)
 Several different activities may
be carried out in each life cycle
phase.
 For example, the design stage might
consist of:
structured analysis activity followed by
structured design activity.
65
Why Model Life Cycle ?
 A written description:
 forms a common understanding of
activities among the software
developers.
 helps in identifying inconsistencies,
redundancies, and omissions in the
development process.
 Helps in tailoring a process model for
specific projects.
66
Why Model Life Cycle ?
 Processes are tailored for special
projects.
A documented process model
 helps to identify where the
tailoring is to occur.
67
Life Cycle Model (CONT.)
 The development team must
identify a suitable life cycle model:
 and then adhere to it.
 Primary advantage of adhering to a
life cycle model:
helps development of software in a
systematic and disciplined manner.
68
Life Cycle Model (CONT.)
 When a program is developed
by a single programmer ---
he has the freedom to decide his
exact steps.
69
Life Cycle Model (CONT.)
 When a software product is being
developed by a team:
 there must be a precise understanding
among team members as to when to
do what,
 otherwise it would lead to chaos and
project failure.
70
Life Cycle Model (CONT.)
 A software project will never
succeed if:
 one engineer starts writing code,
 another concentrates on writing the
test document first,
 yet another engineer first defines the
file structure
 another defines the I/O for his portion
first.
71
Life Cycle Model (CONT.)
 A life cycle model:
defines entry and exit criteria for
every phase.
A phase is considered to be
complete:
only when all its exit criteria are
satisfied.
72
Life Cycle Model (CONT.)
 The phase exit criteria for the software
requirements specification phase:
 Software Requirements Specification (SRS)
document is complete, reviewed, and
approved by the customer.
 A phase can start:
 only if its phase-entry criteria have been
satisfied.
73
Life Cycle Model (CONT.)
 It becomes easier for software
project managers:
to monitor the progress of the
project.
74
Life Cycle Model (CONT.)
 When a life cycle model is adhered
to,
 the project manager can at any time
fairly accurately tell,
at which stage (e.g., design, code, test,
etc. ) of the project is.
 Otherwise, it becomes very difficult to
track the progress of the project
the project manager would have to
depend on the guesses of the team
75
Life Cycle Model (CONT.)
 This usually leads to a problem:
known as the 99% complete
syndrome.
76
Life Cycle Model (CONT.)
 Many life cycle models have been
proposed.
 We will confine our attention to a few
important and commonly used models.
 classical waterfall model
 iterative waterfall,
 evolutionary,
 prototyping, and
 spiral model
77
Summary
 Software engineering is:
systematic collection of decades
of programming experience
together with the innovations
made by researchers.
78
Summary
 A fundamental necessity while
developing any large software
product:
adoption of a life cycle model.
79
Summary
 Adherence to a software life cycle
model:
 helps to do various development
activities in a systematic and
disciplined manner.
 also makes it easier to manage a
software development effort.
80
Reference
 R. Mall, “Fundamentals of Software
Engineering,” Prentice-Hall of India, 1999,
CHAPTER 1.

More Related Content

What's hot

SQL: Creating and Altering Tables
SQL: Creating and Altering TablesSQL: Creating and Altering Tables
SQL: Creating and Altering Tables
RJ Podeschi
 
PYTHON - TKINTER - GUI - PART 1.ppt
PYTHON - TKINTER - GUI - PART 1.pptPYTHON - TKINTER - GUI - PART 1.ppt
PYTHON - TKINTER - GUI - PART 1.ppt
PriyaSoundararajan1
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
Praveen M Jigajinni
 
Scope - Static and Dynamic
Scope - Static and DynamicScope - Static and Dynamic
Scope - Static and Dynamic
Sneh Pahilwani
 
structured programming
structured programmingstructured programming
structured programming
Ahmad54321
 
Python - gui programming (tkinter)
Python - gui programming (tkinter)Python - gui programming (tkinter)
Python - gui programming (tkinter)
Learnbay Datascience
 
Arrays in Java
Arrays in JavaArrays in Java
Arrays in Java
Naz Abdalla
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in Java
Spotle.ai
 
Managing input and output operation in c
Managing input and output operation in cManaging input and output operation in c
Managing input and output operation in c
yazad dumasia
 
Java database connectivity with MYSQL
Java database connectivity with MYSQLJava database connectivity with MYSQL
Java database connectivity with MYSQL
Adil Mehmoood
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVAAbhilash Nair
 
phases of a compiler
 phases of a compiler phases of a compiler
phases of a compiler
Ms.SHANTHI.S CSE
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
swapnac12
 
Types of Programming Errors
Types of Programming ErrorsTypes of Programming Errors
Types of Programming Errors
Neha Sharma
 
Java String Handling
Java String HandlingJava String Handling
Java String Handling
Infoviaan Technologies
 
Data Type Conversion in C++
Data Type Conversion in C++Data Type Conversion in C++
Data Type Conversion in C++Danial Mirza
 
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and JitQSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and Jit
Qspiders - Software Testing Training Institute
 
Python programming : Files
Python programming : FilesPython programming : Files
Python programming : Files
Emertxe Information Technologies Pvt Ltd
 
C++ programming
C++ programmingC++ programming

What's hot (20)

SQL: Creating and Altering Tables
SQL: Creating and Altering TablesSQL: Creating and Altering Tables
SQL: Creating and Altering Tables
 
PYTHON - TKINTER - GUI - PART 1.ppt
PYTHON - TKINTER - GUI - PART 1.pptPYTHON - TKINTER - GUI - PART 1.ppt
PYTHON - TKINTER - GUI - PART 1.ppt
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Chapter 05 classes and objects
Chapter 05 classes and objectsChapter 05 classes and objects
Chapter 05 classes and objects
 
Scope - Static and Dynamic
Scope - Static and DynamicScope - Static and Dynamic
Scope - Static and Dynamic
 
structured programming
structured programmingstructured programming
structured programming
 
Python - gui programming (tkinter)
Python - gui programming (tkinter)Python - gui programming (tkinter)
Python - gui programming (tkinter)
 
Arrays in Java
Arrays in JavaArrays in Java
Arrays in Java
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in Java
 
Managing input and output operation in c
Managing input and output operation in cManaging input and output operation in c
Managing input and output operation in c
 
Java database connectivity with MYSQL
Java database connectivity with MYSQLJava database connectivity with MYSQL
Java database connectivity with MYSQL
 
Classes, objects in JAVA
Classes, objects in JAVAClasses, objects in JAVA
Classes, objects in JAVA
 
phases of a compiler
 phases of a compiler phases of a compiler
phases of a compiler
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
 
Types of Programming Errors
Types of Programming ErrorsTypes of Programming Errors
Types of Programming Errors
 
Java String Handling
Java String HandlingJava String Handling
Java String Handling
 
Data Type Conversion in C++
Data Type Conversion in C++Data Type Conversion in C++
Data Type Conversion in C++
 
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and JitQSpiders - Jdk Jvm Jre and Jit
QSpiders - Jdk Jvm Jre and Jit
 
Python programming : Files
Python programming : FilesPython programming : Files
Python programming : Files
 
C++ programming
C++ programmingC++ programming
C++ programming
 

Similar to SE1.ppt

Kelis king - engineering approach to develop software.
Kelis king -  engineering approach to develop software.Kelis king -  engineering approach to develop software.
Kelis king - engineering approach to develop software.
KelisKing
 
020523+the+programmers+apprentice.ppt
020523+the+programmers+apprentice.ppt020523+the+programmers+apprentice.ppt
020523+the+programmers+apprentice.ppt
Yann-Gaël Guéhéneuc
 
Mba i-ifm-u-2-computer software
Mba i-ifm-u-2-computer softwareMba i-ifm-u-2-computer software
Mba i-ifm-u-2-computer software
Rai University
 
09 The Extreme-scale Scientific Software Stack for Collaborative Open Source
09 The Extreme-scale Scientific Software Stack for Collaborative Open Source09 The Extreme-scale Scientific Software Stack for Collaborative Open Source
09 The Extreme-scale Scientific Software Stack for Collaborative Open Source
RCCSRENKEI
 
Model-based Analysis of Large Scale Software Repositories
Model-based Analysis of Large Scale Software RepositoriesModel-based Analysis of Large Scale Software Repositories
Model-based Analysis of Large Scale Software RepositoriesMarkus Scheidgen
 
CS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdg
CS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdgCS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdg
CS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdg
RahithAhsan1
 
ch1_introduction (1).ppt
ch1_introduction (1).pptch1_introduction (1).ppt
ch1_introduction (1).ppt
AleksandraArsic6
 
ch1_introduction (2).ppt
ch1_introduction (2).pptch1_introduction (2).ppt
ch1_introduction (2).ppt
AleksandraArsic6
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
MrsRBoomadeviIT
 
SE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SE
SE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SESE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SE
SE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SE
AbhishekTripathi709328
 
ch1_introduction.ppt
ch1_introduction.pptch1_introduction.ppt
ch1_introduction.ppt
BhargaviChaitanya2
 
se01.ppt
se01.pptse01.ppt
se01.ppt
xiso
 
SE-Lecture1.ppt
SE-Lecture1.pptSE-Lecture1.ppt
SE-Lecture1.ppt
vishal choudhary
 
Bsc cs 1 fit u-2 application and system software
Bsc cs 1 fit u-2 application and system softwareBsc cs 1 fit u-2 application and system software
Bsc cs 1 fit u-2 application and system software
Rai University
 
An introduction to software engineering
An introduction to software engineeringAn introduction to software engineering
An introduction to software engineering
Carlos Gavidia-Calderon
 
Mca i-fundamental of computer-u-2- application and system software
Mca  i-fundamental of  computer-u-2- application and system softwareMca  i-fundamental of  computer-u-2- application and system software
Mca i-fundamental of computer-u-2- application and system software
Rai University
 
Bba i-introduction to computer-u-2- application and system software
Bba  i-introduction to computer-u-2- application and system softwareBba  i-introduction to computer-u-2- application and system software
Bba i-introduction to computer-u-2- application and system software
Rai University
 
Bca i-fundamental of computer-u-2- application and system software
Bca  i-fundamental of  computer-u-2- application and system softwareBca  i-fundamental of  computer-u-2- application and system software
Bca i-fundamental of computer-u-2- application and system software
Rai University
 
Lect 01
Lect 01Lect 01
Lect 01
SaudSkh
 

Similar to SE1.ppt (20)

Software engg lect1
Software engg lect1Software engg lect1
Software engg lect1
 
Kelis king - engineering approach to develop software.
Kelis king -  engineering approach to develop software.Kelis king -  engineering approach to develop software.
Kelis king - engineering approach to develop software.
 
020523+the+programmers+apprentice.ppt
020523+the+programmers+apprentice.ppt020523+the+programmers+apprentice.ppt
020523+the+programmers+apprentice.ppt
 
Mba i-ifm-u-2-computer software
Mba i-ifm-u-2-computer softwareMba i-ifm-u-2-computer software
Mba i-ifm-u-2-computer software
 
09 The Extreme-scale Scientific Software Stack for Collaborative Open Source
09 The Extreme-scale Scientific Software Stack for Collaborative Open Source09 The Extreme-scale Scientific Software Stack for Collaborative Open Source
09 The Extreme-scale Scientific Software Stack for Collaborative Open Source
 
Model-based Analysis of Large Scale Software Repositories
Model-based Analysis of Large Scale Software RepositoriesModel-based Analysis of Large Scale Software Repositories
Model-based Analysis of Large Scale Software Repositories
 
CS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdg
CS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdgCS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdg
CS2006Ch02A.ppt dfxgbfdcgbhfcdhbfdcbfdcgfdg
 
ch1_introduction (1).ppt
ch1_introduction (1).pptch1_introduction (1).ppt
ch1_introduction (1).ppt
 
ch1_introduction (2).ppt
ch1_introduction (2).pptch1_introduction (2).ppt
ch1_introduction (2).ppt
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 
SE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SE
SE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SESE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SE
SE UNIT 1 NOTES OF SE SOFTWARE ENGG AND SE
 
ch1_introduction.ppt
ch1_introduction.pptch1_introduction.ppt
ch1_introduction.ppt
 
se01.ppt
se01.pptse01.ppt
se01.ppt
 
SE-Lecture1.ppt
SE-Lecture1.pptSE-Lecture1.ppt
SE-Lecture1.ppt
 
Bsc cs 1 fit u-2 application and system software
Bsc cs 1 fit u-2 application and system softwareBsc cs 1 fit u-2 application and system software
Bsc cs 1 fit u-2 application and system software
 
An introduction to software engineering
An introduction to software engineeringAn introduction to software engineering
An introduction to software engineering
 
Mca i-fundamental of computer-u-2- application and system software
Mca  i-fundamental of  computer-u-2- application and system softwareMca  i-fundamental of  computer-u-2- application and system software
Mca i-fundamental of computer-u-2- application and system software
 
Bba i-introduction to computer-u-2- application and system software
Bba  i-introduction to computer-u-2- application and system softwareBba  i-introduction to computer-u-2- application and system software
Bba i-introduction to computer-u-2- application and system software
 
Bca i-fundamental of computer-u-2- application and system software
Bca  i-fundamental of  computer-u-2- application and system softwareBca  i-fundamental of  computer-u-2- application and system software
Bca i-fundamental of computer-u-2- application and system software
 
Lect 01
Lect 01Lect 01
Lect 01
 

More from vishal choudhary

SE-Testing.ppt
SE-Testing.pptSE-Testing.ppt
SE-Testing.ppt
vishal choudhary
 
SE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptSE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.ppt
vishal choudhary
 
SE-Lecture-7.pptx
SE-Lecture-7.pptxSE-Lecture-7.pptx
SE-Lecture-7.pptx
vishal choudhary
 
Se-Lecture-6.ppt
Se-Lecture-6.pptSe-Lecture-6.ppt
Se-Lecture-6.ppt
vishal choudhary
 
SE-Lecture-5.pptx
SE-Lecture-5.pptxSE-Lecture-5.pptx
SE-Lecture-5.pptx
vishal choudhary
 
SE-Lecture-8.pptx
SE-Lecture-8.pptxSE-Lecture-8.pptx
SE-Lecture-8.pptx
vishal choudhary
 
SE-coupling and cohesion.ppt
SE-coupling and cohesion.pptSE-coupling and cohesion.ppt
SE-coupling and cohesion.ppt
vishal choudhary
 
SE-Lecture-2.pptx
SE-Lecture-2.pptxSE-Lecture-2.pptx
SE-Lecture-2.pptx
vishal choudhary
 
SE-software design.ppt
SE-software design.pptSE-software design.ppt
SE-software design.ppt
vishal choudhary
 
SE-Lecture-4.pptx
SE-Lecture-4.pptxSE-Lecture-4.pptx
SE-Lecture-4.pptx
vishal choudhary
 
SE-Lecture=3.pptx
SE-Lecture=3.pptxSE-Lecture=3.pptx
SE-Lecture=3.pptx
vishal choudhary
 
Multimedia-Lecture-Animation.pptx
Multimedia-Lecture-Animation.pptxMultimedia-Lecture-Animation.pptx
Multimedia-Lecture-Animation.pptx
vishal choudhary
 
MultimediaLecture5.pptx
MultimediaLecture5.pptxMultimediaLecture5.pptx
MultimediaLecture5.pptx
vishal choudhary
 
Multimedia-Lecture-7.pptx
Multimedia-Lecture-7.pptxMultimedia-Lecture-7.pptx
Multimedia-Lecture-7.pptx
vishal choudhary
 
MultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptxMultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptx
vishal choudhary
 
Multimedia-Lecture-6.pptx
Multimedia-Lecture-6.pptxMultimedia-Lecture-6.pptx
Multimedia-Lecture-6.pptx
vishal choudhary
 
Multimedia-Lecture-3.pptx
Multimedia-Lecture-3.pptxMultimedia-Lecture-3.pptx
Multimedia-Lecture-3.pptx
vishal choudhary
 
Multimedia-Lecture-1.pptx
Multimedia-Lecture-1.pptxMultimedia-Lecture-1.pptx
Multimedia-Lecture-1.pptx
vishal choudhary
 
Multimedia-Lecture-2.pptx
Multimedia-Lecture-2.pptxMultimedia-Lecture-2.pptx
Multimedia-Lecture-2.pptx
vishal choudhary
 

More from vishal choudhary (20)

SE-Testing.ppt
SE-Testing.pptSE-Testing.ppt
SE-Testing.ppt
 
SE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.pptSE-CyclomaticComplexityand Testing.ppt
SE-CyclomaticComplexityand Testing.ppt
 
SE-Lecture-7.pptx
SE-Lecture-7.pptxSE-Lecture-7.pptx
SE-Lecture-7.pptx
 
Se-Lecture-6.ppt
Se-Lecture-6.pptSe-Lecture-6.ppt
Se-Lecture-6.ppt
 
SE-Lecture-5.pptx
SE-Lecture-5.pptxSE-Lecture-5.pptx
SE-Lecture-5.pptx
 
XML.pptx
XML.pptxXML.pptx
XML.pptx
 
SE-Lecture-8.pptx
SE-Lecture-8.pptxSE-Lecture-8.pptx
SE-Lecture-8.pptx
 
SE-coupling and cohesion.ppt
SE-coupling and cohesion.pptSE-coupling and cohesion.ppt
SE-coupling and cohesion.ppt
 
SE-Lecture-2.pptx
SE-Lecture-2.pptxSE-Lecture-2.pptx
SE-Lecture-2.pptx
 
SE-software design.ppt
SE-software design.pptSE-software design.ppt
SE-software design.ppt
 
SE-Lecture-4.pptx
SE-Lecture-4.pptxSE-Lecture-4.pptx
SE-Lecture-4.pptx
 
SE-Lecture=3.pptx
SE-Lecture=3.pptxSE-Lecture=3.pptx
SE-Lecture=3.pptx
 
Multimedia-Lecture-Animation.pptx
Multimedia-Lecture-Animation.pptxMultimedia-Lecture-Animation.pptx
Multimedia-Lecture-Animation.pptx
 
MultimediaLecture5.pptx
MultimediaLecture5.pptxMultimediaLecture5.pptx
MultimediaLecture5.pptx
 
Multimedia-Lecture-7.pptx
Multimedia-Lecture-7.pptxMultimedia-Lecture-7.pptx
Multimedia-Lecture-7.pptx
 
MultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptxMultiMedia-Lecture-4.pptx
MultiMedia-Lecture-4.pptx
 
Multimedia-Lecture-6.pptx
Multimedia-Lecture-6.pptxMultimedia-Lecture-6.pptx
Multimedia-Lecture-6.pptx
 
Multimedia-Lecture-3.pptx
Multimedia-Lecture-3.pptxMultimedia-Lecture-3.pptx
Multimedia-Lecture-3.pptx
 
Multimedia-Lecture-1.pptx
Multimedia-Lecture-1.pptxMultimedia-Lecture-1.pptx
Multimedia-Lecture-1.pptx
 
Multimedia-Lecture-2.pptx
Multimedia-Lecture-2.pptxMultimedia-Lecture-2.pptx
Multimedia-Lecture-2.pptx
 

Recently uploaded

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

SE1.ppt

  • 2. 2 Organization of this Lecture:  What is Software Engineering?  Programs vs. Software Products  Evolution of Software Engineering  Notable Changes In Software Development Practices  Introduction to Life Cycle Models  Summary
  • 3. 3 What is Software Engineering?  Engineering approach to develop software. Building Construction Analogy.  Systematic collection of past experience: techniques, methodologies, guidelines.
  • 4. 4 Engineering Practice  Heavy use of past experience:  Past experience is systematically arranged.  Theoretical basis and quantitative techniques provided.  Many are just thumb rules.  Tradeoff between alternatives  Pragmatic approach to cost- effectiveness
  • 5. 5 Technology Development Pattern Art Craft Engineering Esoteric Past Experience Systematic Use of Past Experience and Scientific Basis Technology Time Unorganized Use of Past Experience
  • 6. 6 Why Study Software Engineering? (1)  To acquire skills to develop large programs.  Exponential growth in complexity and difficulty level with size.  The ad hoc approach breaks down when size of software increases: --- “One thorn of experience is worth a whole wilderness of warning.”
  • 7. 7 Why Study Software Engineering? (2)  Ability to solve complex programming problems:  How to break large projects into smaller and manageable parts?  Learn techniques of: specification, design, interface development, testing, project management, etc.
  • 8. 8 Why Study Software Engineering? (3) To acquire skills to be a better programmer: Higher Productivity Better Quality Programs
  • 9. 9 Software Crisis  Software products: fail to meet user requirements. frequently crash. expensive. difficult to alter, debug, and enhance. often delivered late. use resources non-optimally.
  • 10. 10 Software Crisis (cont.) Year Hw cost Sw cost Relative Cost of Hardware and Software 1960 1999
  • 11. 11 Factors contributing to the software crisis  Larger problems,  Lack of adequate training in software engineering,  Increasing skill shortage,  Low productivity improvements.
  • 12. 12 Programs versus Software Products  Usually small in size  Author himself is sole user  Single developer  Lacks proper user interface  Lacks proper documentation  Ad hoc development.  Large  Large number of users  Team of developers  Well-designed interface  Well documented & user-manual prepared  Systematic development
  • 13. 13 Computer Systems Engineering  Computer systems engineering: encompasses software engineering.  Many products require development of software as well as specific hardware to run it:  a coffee vending machine, a mobile communication product, etc.
  • 14. 14 Computer Systems Engineering  The high-level problem: deciding which tasks are to be solved by software which ones by hardware.
  • 15. 15 Computer Systems Engineering (CONT.)  Often, hardware and software are developed together:  Hardware simulator is used during software development.  Integration of hardware and software.  Final system testing
  • 16. 16 Computer Systems Engineering (CONT.) Feasibility Study Requirements Analysis and Specification Hardware Software Partitioning Hardware Development Software Development Integration and Testing Project Management
  • 17. 17 Emergence of Software Engineering  Early Computer Programming (1950s): Programs were being written in assembly language. Programs were limited to about a few hundreds of lines of assembly code.
  • 18. 18 Early Computer Programming (50s)  Every programmer developed his own style of writing programs: according to his intuition (exploratory programming).
  • 19. 19  High-level languages such as FORTRAN, ALGOL, and COBOL were introduced: This reduced software development efforts greatly. High-Level Language Programming (Early 60s)
  • 20. 20  Software development style was still exploratory. Typical program sizes were limited to a few thousands of lines of source code. High-Level Language Programming (Early 60s)
  • 21. 21 Control Flow-Based Design (late 60s)  Size and complexity of programs increased further: exploratory programming style proved to be insufficient.  Programmers found: very difficult to write cost- effective and correct programs.
  • 22. 22 Control Flow-Based Design (late 60s)  Programmers found: programs written by others very difficult to understand and maintain.  To cope up with this problem, experienced programmers advised: ``Pay particular attention to the design of the program's control structure.'’
  • 23. 23 Control Flow-Based Design (late 60s)  A program's control structure indicates:  the sequence in which the program's instructions are executed.  To help design programs having good control structure:  flow charting technique was developed.
  • 24. 24 Control Flow-Based Design (late 60s)  Using flow charting technique: one can represent and design a program's control structure. Usually one understands a program: by mentally simulating the program's execution sequence.
  • 25. 111 25 Control Flow-Based Design (Late 60s) A program having a messy flow chart representation: difficult to understand and debug.
  • 26. 26 Control Flow-Based Design (Late 60s)  It was found: GO TO statements makes control structure of a program messy GO TO statements alter the flow of control arbitrarily. The need to restrict use of GO TO statements was recognized.
  • 27. 27 Control Flow-Based Design (Late 60s)  Many programmers had extensively used assembly languages. JUMP instructions are frequently used for program branching in assembly languages, programmers considered use of GO TO statements inevitable.
  • 28. 28 Control-flow Based Design (Late 60s)  At that time, Dijkstra published his article: “Goto Statement Considered Harmful” Comm. of ACM, 1969.  Many programmers were unhappy to read his article.
  • 29. 29 Control Flow-Based Design (Late 60s)  They published several counter articles: highlighting the advantages and inevitability of GO TO statements.
  • 30. 30 Control Flow-Based Design (Late 60s)  But, soon it was conclusively proved:  only three programming constructs are sufficient to express any programming logic: sequence (e.g. a=0;b=5;) selection (e.g.if(c=true) k=5 else m=5;) iteration (e.g. while(k>0) k=j-k;)
  • 31. 31 Control-flow Based Design (Late 60s)  Everyone accepted: it is possible to solve any programming problem without using GO TO statements. This formed the basis of Structured Programming methodology.
  • 32. 32 Structured Programming  A program is called structured when it uses only the following types of constructs: sequence, selection, iteration
  • 33. 33 Structured programs  Unstructured control flows are avoided.  Consist of a neat set of modules.  Use single-entry, single-exit program constructs.
  • 34. 34  However, violations to this feature are permitted: due to practical considerations such as: premature loop exit to support exception handling. Structured programs
  • 35. 35 Structured programs  Structured programs are: Easier to read and understand, easier to maintain, require less effort and time for development.
  • 36. 36 Structured Programming  Research experience shows: programmers commit less number of errors while using structured if-then- else and do-while statements compared to test-and-branch constructs.
  • 37. 37 Data Structure-Oriented Design (Early 70s)  Soon it was discovered: it is important to pay more attention to the design of data structures of a program than to the design of its control structure.
  • 38. 38 Data Structure-Oriented Design (Early 70s) Techniques which emphasize designing the data structure: derive program structure from it: are called data structure-oriented
  • 39. 39 Data Structure Oriented Design (Early 70s)  Example of data structure- oriented design technique: Jackson's Structured Programming(JSP) methodology developed by Michael Jackson in 1970s.
  • 40. 40 JSP technique:  program code structure should correspond to the data structure. Data Structure Oriented Design (Early 70s)
  • 41. 41  In JSP methodology: a program's data structures are first designed using notations for sequence, selection, and iteration. Then data structure design is used : to derive the program structure. Data Structure Oriented Design (Early 70s)
  • 42. 42  Several other data structure- oriented Methodologies also exist:  e.g., Warnier-Orr Methodology. Data Structure Oriented Design (Early 70s)
  • 43. 43 Data Flow-Oriented Design (Late 70s)  Data flow-oriented techniques advocate: the data items input to a system must first be identified, processing required on the data items to produce the required outputs should be determined.
  • 44. 44 Data Flow-Oriented Design(Late 70s)  Data flow technique identifies: different processing stations (functions) in a system the items (data) that flow between processing stations.
  • 45. 45 Data Flow-Oriented Design (Late 70s)  Data flow technique is a generic technique:  can be used to model the working of any system not just software systems.  A major advantage of the data flow technique is its simplicity.
  • 46. 46 Data Flow Model of a Car Assembly Unit Fit Engine Paint and Test Fit Wheels Fit Doors Chassis Store Door Store Wheel Store Engine Store Car Partly Assembled Car Assembled Car Chassis with Engine
  • 47. 47 Object-Oriented Design (80s)  Object-oriented technique: an intuitively appealing design approach: natural objects (such as employees, pay-roll-register, etc.) occurring in a problem are first identified.
  • 48. 48 Object-Oriented Design (80s)  Relationships among objects: such as composition, reference, and inheritance are determined.  Each object essentially acts as a data hiding (or data abstraction) entity.
  • 49. 49 Object-Oriented Design (80s)  Object-Oriented Techniques have gained wide acceptance: Simplicity Reuse possibilities Lower development time and cost More robust code Easy maintenance
  • 50. 50 Evolution of Design Techniques Object-Oriented Ad hoc Data flow-based Data structure- based Control flow- based
  • 51. 51 Evolution of Other Software Engineering Techniques  The improvements to the software design methodologies are indeed very conspicuous.  In additions to the software design techniques: several other techniques evolved.
  • 52. 52 Evolution of Other Software Engineering Techniques life cycle models, specification techniques, project management techniques, testing techniques, debugging techniques, quality assurance techniques, software measurement techniques, CASE tools, etc.
  • 53. 53 Differences between the exploratory style and modern software development practices  Use of Life Cycle Models  Software is developed through several well-defined stages: requirements analysis and specification, design, coding, testing, etc.
  • 54. 54 Differences between the exploratory style and modern software development practices  Emphasis has shifted  from error correction to error prevention.  Modern practices emphasize: detection of errors as close to their point of introduction as possible.
  • 55. 55 Differences between the exploratory style and modern software development practices (CONT.)  In exploratory style, errors are detected only during testing,  Now,  focus is on detecting as many errors as possible in each phase of development.
  • 56. 56 Differences between the exploratory style and modern software development practices (CONT.)  In exploratory style, coding is synonymous with program development.  Now, coding is considered only a small part of program development effort.
  • 57. 57 Differences between the exploratory style and modern software development practices (CONT.)  A lot of effort and attention is now being paid to:  requirements specification.  Also, now there is a distinct design phase:  standard design techniques are being used.
  • 58. 58 Differences between the exploratory style and modern software development practices (CONT.)  During all stages of development process: Periodic reviews are being carried out  Software testing has become systematic: standard testing techniques are available.
  • 59. 59 Differences between the exploratory style and modern software development practices (CONT.)  There is better visibility of design and code:  visibility means production of good quality, consistent and standard documents.  In the past, very little attention was being given to producing good quality and consistent documents.  We will see later that increased visibility makes software project management easier.
  • 60. 60 Differences between the exploratory style and modern software development practices (CONT.)  Because of good documentation:  fault diagnosis and maintenance are smoother now.  Several metrics are being used:  help in software project management, quality assurance, etc.
  • 61. 61 Differences between the exploratory style and modern software development practices (CONT.)  Projects are being thoroughly planned:  estimation,  scheduling,  monitoring mechanisms.  Use of CASE tools.
  • 62. 62 Software Life Cycle  Software life cycle (or software process):  series of identifiable stages that a software product undergoes during its life time: Feasibility study requirements analysis and specification, design, coding, testing
  • 63. 63 Life Cycle Model  A software life cycle model (or process model):  a descriptive and diagrammatic model of software life cycle:  identifies all the activities required for product development,  establishes a precedence ordering among the different activities,  Divides life cycle into phases.
  • 64. 64 Life Cycle Model (CONT.)  Several different activities may be carried out in each life cycle phase.  For example, the design stage might consist of: structured analysis activity followed by structured design activity.
  • 65. 65 Why Model Life Cycle ?  A written description:  forms a common understanding of activities among the software developers.  helps in identifying inconsistencies, redundancies, and omissions in the development process.  Helps in tailoring a process model for specific projects.
  • 66. 66 Why Model Life Cycle ?  Processes are tailored for special projects. A documented process model  helps to identify where the tailoring is to occur.
  • 67. 67 Life Cycle Model (CONT.)  The development team must identify a suitable life cycle model:  and then adhere to it.  Primary advantage of adhering to a life cycle model: helps development of software in a systematic and disciplined manner.
  • 68. 68 Life Cycle Model (CONT.)  When a program is developed by a single programmer --- he has the freedom to decide his exact steps.
  • 69. 69 Life Cycle Model (CONT.)  When a software product is being developed by a team:  there must be a precise understanding among team members as to when to do what,  otherwise it would lead to chaos and project failure.
  • 70. 70 Life Cycle Model (CONT.)  A software project will never succeed if:  one engineer starts writing code,  another concentrates on writing the test document first,  yet another engineer first defines the file structure  another defines the I/O for his portion first.
  • 71. 71 Life Cycle Model (CONT.)  A life cycle model: defines entry and exit criteria for every phase. A phase is considered to be complete: only when all its exit criteria are satisfied.
  • 72. 72 Life Cycle Model (CONT.)  The phase exit criteria for the software requirements specification phase:  Software Requirements Specification (SRS) document is complete, reviewed, and approved by the customer.  A phase can start:  only if its phase-entry criteria have been satisfied.
  • 73. 73 Life Cycle Model (CONT.)  It becomes easier for software project managers: to monitor the progress of the project.
  • 74. 74 Life Cycle Model (CONT.)  When a life cycle model is adhered to,  the project manager can at any time fairly accurately tell, at which stage (e.g., design, code, test, etc. ) of the project is.  Otherwise, it becomes very difficult to track the progress of the project the project manager would have to depend on the guesses of the team
  • 75. 75 Life Cycle Model (CONT.)  This usually leads to a problem: known as the 99% complete syndrome.
  • 76. 76 Life Cycle Model (CONT.)  Many life cycle models have been proposed.  We will confine our attention to a few important and commonly used models.  classical waterfall model  iterative waterfall,  evolutionary,  prototyping, and  spiral model
  • 77. 77 Summary  Software engineering is: systematic collection of decades of programming experience together with the innovations made by researchers.
  • 78. 78 Summary  A fundamental necessity while developing any large software product: adoption of a life cycle model.
  • 79. 79 Summary  Adherence to a software life cycle model:  helps to do various development activities in a systematic and disciplined manner.  also makes it easier to manage a software development effort.
  • 80. 80 Reference  R. Mall, “Fundamentals of Software Engineering,” Prentice-Hall of India, 1999, CHAPTER 1.