Unit One - Introduction To Software Engineering
Unit One - Introduction To Software Engineering
Unit One - Introduction To Software Engineering
Engineering :
Engineering is all about developing products using user defined scientific principles and methods is called as
engineering.
Types of Engineering:
1. Software Engineering
2. Civil Engineering
3. Chemical Engineering
4. Electrical Engineering
5. Mechanical Engineering
6. Computer Engineering
7. Euro space Engineering
8. Auto Mobile Engineering
9. Bio-Medical Engineering
10. Textile Engineering
Requirement engineering and analysis are critical phases in the software development lifecycle. They involve
identifying, documenting, and managing the requirements of a software system to ensure that the final product meets the
needs and expectations of its stakeholders. Here's an overview of the key concepts and processes involved:
Requirements Engineering is the process of identifying, eliciting, analyzing, specifying, validating, and managing
the needs and expectations of stakeholders for a software system.
What is Requirements Engineering?
A systematic and strict approach to the definition, creation, and verification of requirements for a software system is
known as requirements engineering. To guarantee the effective creation of a software product, the requirements
engineering process entails several tasks that help in understanding, recording, and managing the demands of
stakeholders.
Requirements Engineering Process
1. Problem Recognition :
The main aim of requirement analysis is to fully understand main objective of requirement that includes
why it is needed, does it add value to product, will it be beneficial, does it increase quality of the project,
does it will have any other effect. All these points are fully recognized in problem recognition so that
requirements that are essential can be fulfilled to solve business problems.
4. Specification :
The software requirement specification (SRS) which means to specify the requirement whether it is
functional or non-functional should be developed.
5. Review :
After developing the SRS, it must be reviewed to check whether it can be improved or not and must be
refined to make it better and increase the quality.
SDLC:
The Software Development Life Cycle (SDLC) can be broken down into seven distinct phases, each with its specific
tasks and deliverables. These phases ensure a systematic approach to software development, improving the chances of
delivering a high-quality product that meets customer requirements.
Seven Phases of SDLC
1. Planning
2. Requirement Analysis
3. System Design
4. Implementation (Coding)
5. Integration and Testing
6. Deployment
7. Maintenance
1. Planning
o Objective: Define the project scope and objectives, estimate costs, and plan resources.
o Activities:
Feasibility study.
Project plan creation.
Resource allocation.
Risk management.
o Output: Project Plan, Feasibility Study Report.
2. Requirement Analysis
o Objective: Gather and analyze the requirements of the system from stakeholders.
o Activities:
Stakeholder interviews.
Requirements gathering through techniques like surveys, observations, and workshops.
Creating use cases and user stories.
Documenting requirements.
o Output: Requirements Specification Document (SRS).
3. System Design
o Objective: Design the system architecture and detailed system components.
o Activities:
High-level design (HLD) and low-level design (LLD).
Database design.
User interface design.
System modeling using UML diagrams.
o Output: System Design Documents, including architecture diagrams, data models, and UI prototypes.
4. Implementation (Coding)
o Objective: Translate the design into code.
o Activities:
Coding according to the design specifications.
Code reviews and walkthroughs.
Unit testing of individual components.
o Output: Source Code, Unit Test Reports.
5. Integration and Testing
o Objective: Integrate the individual components and test the system to ensure it meets the requirements.
o Activities:
Integrating modules.
System testing, including functional testing, performance testing, and security testing.
User acceptance testing (UAT).
Defect tracking and resolution.
o Output: Test Plans, Test Cases, Test Reports, Defect Logs.
6. Deployment
o Objective: Deploy the system to the production environment for use by end-users.
o Activities:
Preparing the deployment environment.
Installing the software.
Migrating data.
Conducting user training.
Preparing deployment documentation.
o Output: Deployed System, User Manuals, Training Materials.
7. Maintenance
o Objective: Provide ongoing support and enhancements to the system after deployment.
o Activities:
Monitoring system performance.
Fixing bugs and issues.
Implementing updates and enhancements.
Providing user support and training.
o Output: Updated System, Maintenance Reports, Issue Logs.
SDLC Diagram
#3) Design
System design refers to the process of planning for a new system or for replacing the existing system.
In simple words, systems analysis describes what the system should do whereas systems design focuses on how to
achieve the objectives.
In this phase, the requirement gathered in the SRS document is used as an input and software architecture that is used for
implementing system development is derived.
All the technical details such as programming languages and environments, machines, packages, application
architecture, distributed architecture layering. memory size, platform, algorithms, data structures, global type definitions.
interfaces, and many other engineering details are established in this design phase.
The output of software design process is design documentation, pseudo codes, detailed logic diagrams, process
diagrams, and detailed description of all functional or non-functional requirements of the software. The system design
specifications serve as input for the next phase of the model.
#4) Implementation or Coding
Implementation/Coding starts once the developer gets the Design document. The Software design is translated into
source code. All the components of the software are implemented in this phase.
#5) Testing
Testing starts once the coding is complete and the modules are released for testing. In this phase, the developed software
is tested thoroughly and any defects found are assigned to developers to get them fixed.
Retesting, regression testing is done until the point at which the software is as per the customer's expectation. Testers
refer SRS document to make sure that the software is as per the customer's standard.
#6) Deployment
Once the product is tested, it is deployed in the production environment or first UAT (User Acceptance testing) is done
depending on the customer expectation.
In the case of UAT, a replica of the production environment is created and the customer along with the developers does
the testing. If the customer finds the application as expected, then sign off is provided by the customer to go live.
#7) Maintenance
After the software is deployed, then its maintenance begins.
Once when the client starts using the developed systems, then the real issues come up
and requirements to be solved from time to time. This procedure where the care is taken for the developed product is
known as maintenance.
System Evaluation: Evaluation is the final check point of the SDLC, it is nothing but feedback of system. There are
three categories of this evaluation:
(1) Developmental Evaluation: This evaluation verifies the development methods and tools used. Also the system is
developed on time and within budget.
(2) Operational Evaluation: This evaluation mainly focused on Response Time of system, user friendliness, Reliability
of computation and adequacy of storage capacity.
(3) User Management Assessment Evaluation: In this evaluation, check how frequently management use the system
and how far they are satisfied with the system.
McCall’s Software Quality Model was introduced in 1977. This model is incorporated with many attributes, termed
software factors, which influence software. The model distinguishes between two levels of quality attributes:
Quality Factors
Quality Criteria
Quality Factors: The higher-level quality attributes that can be accessed directly are called quality factors. These
attributes are external. The attributes at this level are given more importance by the users and managers.
Quality Criteria: The lower or second-level quality attributes that can be accessed either subjectively or objectively are
called Quality Criteria. These attributes are internal. Each quality factor has many second-level quality attributes or
quality criteria.
Example: The usability quality factor is divided into operability, training, communicativeness, input/output volume, and
input/output rate. This model classifies all software requirements into 11 software quality factors. The 11 factors are
organized into three product quality factors:
Product Operation, Product Revision, and Product Transition.
Factors of Product Quality Diagram:
Product Operation
Product Operation includes five software quality factors, which are related to the requirements that directly affect the
operation of the software such as operational performance, convenience, ease of usage, and correctness. These factors
help in providing a better user experience.
Correctness: The extent to which software meets its requirements specification.
Efficiency: The number of hardware resources and code the software, needs to perform a function.
Integrity: The extent to which the software can control an unauthorized person from accessing the data or
software.
Reliability: The extent to which software performs its intended functions without failure.
Usability: The extent of effort required to learn, operate, and understand the functions of the software.
Product Revision
Product Revision includes three software quality factors, which are required for testing and maintenance of the software.
They provide ease of maintenance, flexibility, and testing efforts to support the software to be functional according to
the needs and requirements of the user in the future.
Maintainability: The effort required to detect and correct an error during maintenance.
Flexibility: The effort needed to improve an operational software program.
Testability: The effort required to verify software to ensure that it meets the specified requirements.
Product Transition
Product Transition includes three software quality factors, that allow the software to adapt to the change of environments
in the new platform or technology from the previous.
Portability: The effort required to transfer a program from one platform to another.
Re-usability: The extent to which the program’s code can be reused in other applications.
Interoperability: The effort required to integrate two systems.