Ch 1.
Software development
Click to edit Master subtitleSrikanth
style pabbu venkatesham
110-00-2214
Topics included in SWdevelopment
About software development
Contrast sw development with real life world
Top down model
Object oriented approach
Design aspects
Errors
Testing
maintenance
ABOUT SOFTWARE DEVELOPMENT
The development of a software product in a planned and
structured process.
The term software development is often used to refer to the
activity of computer programming, which is the process of
writing and maintaining the source code.
This software could be produced for a variety of purposes -
specific needs of a specific client/business.
-to meet a perceived need of some set of potential users (the
case with commercial and open source software).
-for personal use (e.g. a scientist may write software to
automate a mundane task).
Contrast sw development with real life
world
Larger organisation
-few thousands of lines of code.
-complex
-Tough to fix a bug
Smaller organisation
-few hundred of line of code.
-not complex
-easy to fix the bug
Top – down model (waterfall model)
Top down model
Problem analysis and specification
Analysis the customer needs.
Understanding the need of the customer and designing the
products according to their specifications.
Object oriented design
Identify the objects in the problem specification and their
types.
For example:an example of company where sales and
purchases are done then sales and purchases are objects
Identify the operations to manipulate the objects .
Data types of the objects
Simple
Structured
-arrays
-structures
-class objects
Algorithms
It is pseudo code
It should be definite ,simple,finite correct,well structured
Cannot separate data structures from algorithms
Testing ,execution and debugging
Check the programs for correctness.
Checking the program modules according to customer
requirements.
Unit test:
Each individual program unit to be tested.
Integration test:
Units to be combined for correctness.
Componets interface and information flow tested.
Overall system to be tested .
V - life cycle model
Errors
Syntax errors
-errors occurred due to spelling mistakes in programming
language.
Run-time errors
-this happen during program execution.
Logic errors
-errors in algorithm design.
Functional test
It is known as black box
Checking for correctness,for various input .
The system accepts inputs and produces required output.
Structural test
Structural test is known as white box
This test is for internal structure
Specific parts of the program unit are tested .
maintenance
Software development cost
Programmer time
Thank you