Class Lect 2
Class Lect 2
Class Lect 2
CSMI 15
• Hw cost
• Sw cost
• 1960 • Year
• 1999
• Relative Cost of Hardware and Software
• Larger problems,
• Lack of adequate training in software
engineering,
• Increasing skill shortage,
• Low productivity improvements.
• Feasibility
• Study
• Requirements
Analysis and
Specification • Hardware
Development
• Hardware
Software
Partitioning
• Software
Development • Integration
and Testing
• Project Management
• 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.
• Everyone accepted:
–it is possible to solve any
programming problem without using
GO TO statements.
–This formed the basis of Structured
Programming methodology.
·JSP technique:
- program code structure should
correspond to the data
structure.
· 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.
• Chassis • Partly
with Assembled
• Fit Engine• Fit Car • Fit • Paint and • Car
• Engin • Door • Wheel • • Test
Assembled
e s s Car
• Object-oriented technique:
– an intuitively appealing design approach:
– natural objects (such as employees, pay-
roll-register, etc.) occurring in a problem
are first identified.
• Data flow-based
• Data structure-
based
• Control flow-
based
• Ad hoc
• In exploratory style,
–errors are detected only during
testing,
• Now,
– focus is on detecting as many errors
as possible in each phase of
development.
Software Engineering Introduction Slide 48
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.