Se - Unit I
Se - Unit I
UNIT-I Introduction
1.Software: -
Software is nothing but collection of computer programs and related documents that are planned
to provide desired features, functionalities and better performance.
Software is more than just a program code. A program is an executable code, which serves some
computational purpose. Software is considered to be collection of executable programming code,
associated libraries and documentations. Software, when made for a specific requirement is
called software product.
Engineering on the other hand, is all about developing products, using well-defined, scientific
principles and methods.
The need of software engineering arises because of higher rate of change in user requirements
and environment on which the software is working.
Large software - It is easier to build a wall than to a house or building, likewise, as the size of
software become large engineering has to step to give it a scientific process.
Scalability- If the software process were not based on scientific and engineering concepts, it
would be easier to re-create new software than to scale an existing one.
Cost- As hardware industry has shown its skills and huge manufacturing has lower down the
price of computer and electronic hardware. But the cost of software remains high if proper
process is not adapted.
Dynamic Nature- The always growing and adapting nature of software hugely depends upon the
environment in which user works. If the nature of software is always changing, new
enhancements need to be done in the existing one. This is where software engineering plays a
good role.
Quality Management- Better process of software development provides better and quality
software product.
1.2 Software Engineering Goals
Readability (understood by those who maintain it)
Correctness
Reliability (high performance)
Re usability
Extensibility (ability to perform its operations)
Flexibility
Efficiency
Characteristics of good software: -
A software product can be judged by what it offers and how well it can be used. This software
must satisfy on the following grounds:
Operational
Transitional
Maintenance
Well-engineered and crafted software is expected to have the following characteristics:
Operational: -
This tells us how well software works in operations. It can be measured on:
Budget
Usability
Efficiency
Correctness
Functionality
Dependability
Security
Safety
Transitional: -
This aspect is important when the software is moved from one platform to another:
Portability
Interoperability
Reusability
Adaptability
Maintenance: -
This aspect briefs about how well a software has the capabilities to maintain itself in the ever-
changing
environment:
Modularity
Maintainability
Flexibility
Scalability
In short, Software engineering is a branch of computer science, which uses well-defined
engineering concepts required to produce efficient, durable, scalable, in-budget and on-time
software products.
1.3 Evolution of Software Engineering:
1.4 Software Problem and Prospects:-
Several types of software development projects are within the scope of this book. They range
from repeatable projects that have been done many times before to projects that are cutting edge
problem solving projects. Each presents its own special challenge to the developer. The example
given below will be the staging area for exploring effective approaches to software development
project management (SDPM).
Although this is a restrictive definition, it does define the types of software development projects
that are addressed in this book. The criteria for these projects are that they have the potential of
adding significant business value and are not trivial undertakings. These development projects
will have significant business value, be highly visible, be of moderate to high complexity, and
were needed yesterday.
Software process can be defining as the structured set of activates that are required to develop the
software system. To solve actual problems in an industry setting, a software engineer or a team
of engineers must incorporate a development strategy that encompasses the process, methods,
and tools layers. This strategy is often referred to as a process model or a software engineering
paradigm.
A process model for software engineering is chosen based on the nature of the project and
application, the methods and tools to be used, and the controls and deliverables that are required.
Software Product
Software Process
Processes are developed by individual user and It is developed by multiple users and it is used
it is used for personal use. by large number of people or customers.
Process may be small in size and possessing It consists of multiple program codes; relate
limited functionality. documents such as SRS, designing documents,
user manuals, test cases.
Process is generally developed by process Process is generally developed by process
engineers. engineers. Therefore systematic approach of
developing software product must be applied.
Software product relies on software process for It is important than software product. Multiuser
its stability quality and control Only one no lack of user interface.
person uses the process, hence lack of user
interface
It Summarize the evolution in the software industry. Here, we have pictorially shown how the
software design and programming technique methodologies have been improved from
Exploratory Design to Object-Oriented design.
1.7 Software Development Life Cycle/Process model/ Software Development Life Cycle: -
Software Development Life Cycle, SDLC for short, is a well-defined, structured sequence of
stages in software engineering to develop the intended software product. it is a team of engineers
must incorporate a development strategy that encompasses the process, method and tools layers.
Each phase has various activities to develop the software product. It also specifies the order in
which each phase must be executed.
A software life cycle model is either a descriptive or prescriptive characterization of how
software is or should be developed. A descriptive model describes the history of how a particular
software system was developed. The software development paradigm helps developer to select a
strategy to develop the software.
A software development paradigm has its own set of tools, methods and procedures, which are
expressed clearly and defines software development life cycle.
Definition: Software Development Life Cycle (SDLC) is a process used by software industry to
design, develop and test high quality software. The SDLC aims to produce a high-quality
software that meets or exceeds customer expectations, reaches completion within times and cost
estimates.
SDLC is the acronym of Software Development Life Cycle. It is also called as Software
development process. The software development life cycle (SDLC) is a framework defining
tasks performed at each step in the software development process. ISO/IEC 12207 is an
international standard for software life-cycle processes. It aims to be the standard that defines all
the tasks required for developing and maintaining software .
What is SDLC?
SDLC is a process followed for a software project, within a software organization. It consists of
a detailed plan describing how to develop, maintain, replace and alter or enhance specific
software. The life cycle defines a methodology for improving the quality of software and the
overall development process.
1.7.1 BASIC ACTIVITIES THAT CAN BE CARIED OUT IN LIFE CYCLE MODEL
ARE:
A few of software development paradigms or process models are defined in Fig:-1.1:
1. Waterfall model or linear sequential model or classic life cycle model: -
Sometimes called the classic life cycle or the waterfall model, the linear sequential model
suggests a systematic, sequential approach5 to software development that begins at the system
level and progresses through analysis, design, coding, testing, and maintenance.
Fig 1.1
Software requirements analysis: The requirements gathering process is intensified and focused
specifically on software. To understand the nature of the program(s) to be built, the software
engineer ("analyst") must understand the information domain for the software, as well as
required function, behavior, performance, and interface. Requirements for both the system and
the software are documented and reviewed with the customer.
Design: Software design is actually a multi-step process that focuses on four distinct attributes of
a program: data structure, software architecture, interface representations, and procedural
(algorithmic) detail. The design process translates requirements into a representation of the
software that can be assessed for quality before coding begins. Like requirements, the design is
documented and becomes part of the software configuration.
Code generation: The design must be translated into a machine-readable form. The code
generation step performs this task. If design is performed in a detailed manner, code generation
can be accomplished mechanistically.
Testing: Once code has been generated, program testing begins. The testing process focuses on
the logical internals of the software, ensuring that all statements have been tested, and on the
functional externals; that is, conducting tests to uncover errors and ensure that defined input will
produce actual results that agree with required results.
Maintenance: Software will undoubtedly undergo change after it is delivered to the customer (a
possible exception is embedded software). Change will occur because errors have been
encountered, because the software must be adapted to accommodate changes in its external
environment (e.g., a change required because of a new operating system or peripheral device), or
because the customer requires functional or performance enhancements. Software
support/maintenance reapplies each of the preceding phases to an existing program rather than a
new one.
Advantages of waterfall model: -
This model is simple and easy to understand and use.
Waterfall model works well for smaller projects where requirements are very well
understood.
Each phase proceeds sequentially.
Documentation is produced at every stage of the software's development. This makes
understanding the product designing procedure, simpler.
After every major stage of software coding, testing is done to check the correct running
of the code. help us to control schedules and budgets.
Fig:-1.3:
Business modeling. The information flow among business functions is modeled in a way that
answers the following questions: What information drives the business process? What
information is generated? Who generates it? Where does the information go? Who processes it?
Data modeling. The information flow defined as part of the business modeling phase is refined
into a set of data objects that are needed to support the business. The characteristics (called
attributes) of each object are identified and the relationships between these objects defined.
Process modeling. The data objects defined in the data modeling phase are transformed to
achieve the information flow necessary to implement a business function. Processing
descriptions are created for adding, modifying, deleting, or retrieving a data object.
Application generation. RAD assumes the use of fourth generation techniques. Rather than
creating software using conventional third generation programming languages the RAD process
works to reuse existing program components (when possible) or create reusable components
(when necessary). In all cases, automated tools are used to facilitate construction of the software.
Testing and turnover. Since the RAD process emphasizes reuse, many of the program
components have already been tested. This reduces overall testing time. However, new
components must be tested and all interfaces must be fully exercised.
1.7.4 Agile SDLC model is a combination of iterative and incremental process models with
focus on process adaptability and customer satisfaction by rapid delivery of working software
product. Agile Methods break the product into small incremental builds. These builds are
provided in iterations. Each iteration typically lasts from about one to three weeks. Every
iteration involves cross functional teams working simultaneously on various areas like –
Planning
Requirements Analysis
Design
Coding
Unit Testing and
Acceptance Testing.
At the end of the iteration, a working product is displayed to the customer and important
stakeholders.
What is Agile?
Agile model believes that every project needs to be handled differently and the existing methods
need to be tailored to best suit the project requirements. In Agile, the tasks are divided to time
boxes (small time frames) to deliver specific features for a release.
Iterative approach is taken and working software build is delivered after each iteration. Each
build is incremental in terms of features; the final build holds all the features required by the
customer.
Agile is based on the adaptive software development methods, whereas the traditional SDLC
models like the waterfall model is based on a predictive approach. Predictive teams in the
traditional SDLC models usually work with detailed planning and have a complete forecast of
the exact tasks and features to be delivered in the next few months or during the product life
cycle.
Predictive methods entirely depend on the requirement analysis and planning done in the
beginning of cycle. Any changes to be incorporated go through a strict change control
management and prioritization.
Agile uses an adaptive approach where there is no detailed planning and there is clarity on
future tasks only in respect of what features need to be developed. There is feature driven
development and the team adapts to the changing product requirements dynamically. The
product is tested very frequently, through the release iterations, minimizing the risk of any major
failures in future.
Customer Interaction is the backbone of this Agile methodology, and open communication
with minimum documentation are the typical features of Agile development environment. The
agile teams work in close collaboration with each other and are most often located in the same
geographical location.