Dev Models and Requirements Analysis
Dev Models and Requirements Analysis
SDLC ACTIVITIES
SDLC provides a series of steps to be followed to design and develop a software product
efficiently. SDLC framework includes the following steps:
Fig 1: SDLC framework
Communication
This is the first step where the user initiates the request for a desired software product. He
contacts the service provider and tries to negotiate the terms. He submits his request to the
service providing organization in writing.
Requirement Gathering
This step onwards the software development team works to carry out the project. The team
holds discussions with various stakeholders from problem domain and tries to bring out as
much information as possible on their requirements. The requirements are contemplated and
segregated into user requirements, system requirements and functional requirements. The
requirements are collected using a number of practices as given -
System Analysis
At this step the developers decide a roadmap of their plan and try to bring up the best software
model suitable for the project. System analysis includes understanding of software product
limitations, learning system related problems or changes to be done in existing systems
beforehand, identifying and addressing the impact of project on organization and personnel etc.
The project team analyzes the scope of the project and plans the schedule and resources
accordingly.
Software Design
Next step is to bring down whole knowledge of requirements and analysis on the desk and
design the software product. The inputs from users and information gathered in requirement
gathering phase are the inputs of this step. The output of this step comes in the form of two
designs; logical design and physical design. Engineers produce meta-data and data dictionaries,
logical diagrams, data-flow diagrams and in some cases pseudo codes.
Coding
This step is also known as programming phase. The implementation of software design starts in
terms of writing program code in the suitable programming language and developing error-free
executable programs efficiently.
Testing
An estimate says that 50% of whole software development process should be tested. Errors may
ruin the software from critical level to its own removal. Software testing is done while coding
by the developers and thorough testing is conducted by testing experts at various levels of code
such as module testing, program testing, product testing, in-house testing and testing the
product at user’s end. Early discovery of errors and their remedy is the key to reliable software.
Integration
Software may need to be integrated with the libraries, databases and other program(s). This
stage of SDLC is involved in the integration of software with outer world entities.
Implementation
This means installing the software on user machines. At times, software needs post-installation
configurations at user end. Software is tested for portability and adaptability and integration
related issues are solved during implementation.
Operation and Maintenance
This phase confirms the software operation in terms of more efficiency and less errors. If
required, the users are trained on, or aided with the documentation on how to operate the
software and how to keep the software operational. The software is maintained timely by
updating the code according to the changes taking place in user end environment or technology.
This phase may face challenges from hidden bugs and real-world unidentified problems.
Disposition
As time elapses, the software may decline on the performance front. It may go completely
obsolete or may need intense up gradation. Hence a pressing need to eliminate a major portion
of the system arises. This phase includes archiving data and required software components,
closing down the system, planning disposition activity and terminating system at appropriate
end-of-system time.
Clarity and Focus: With distinct phases, each team knows what tasks to focus on,
ensuring that resources are allocated efficiently and no critical steps are missed.
Timeline and Milestones: The SDLC model helps project managers create clear timelines
and define project milestones. This helps teams stick to deadlines and track the progress of
the project, ensuring timely delivery.
Risk Management: A structured life cycle helps in identifying and addressing potential
risks early in the development process, reducing the likelihood of costly surprises later on.
Clear Understanding of Requirements: The early stages of most SDLC models (like the
Waterfall model’s requirements phase or Agile's sprint planning) focus on gathering,
analyzing, and validating the software’s requirements. This ensures that the final product
meets user needs and expectations.
Handling Changing Requirements: Iterative models like Agile or the Spiral model allow
for flexibility, making it easier to incorporate changes in requirements during the
development process.
Defined Roles and Responsibilities: Each phase of the SDLC model involves different
teams (e.g., developers, testers, business analysts), making it clear who is responsible for
what. This reduces confusion and encourages collaboration across teams.
Early Risk Identification: Models like the Spiral SDLC are specifically designed to
address risks throughout the software development process. By identifying potential risks
(technical, financial, or operational) in early stages, they help reduce the chances of major
failures.
Phased Development: Breaking the project into smaller phases helps in risk mitigation, as
issues in earlier stages can be resolved without impacting the entire project.
Team Coordination: The SDLC model provides a roadmap for development, allowing
resources such as personnel, time, and tools to be allocated according to the needs of each
phase.
Avoiding Bottlenecks: With clear roles and milestones, resources are better managed,
reducing the likelihood of bottlenecks in production that can delay progress.
Systematic Maintenance: After deployment, many SDLC models have built-in processes
for maintenance and support, ensuring that any bugs, updates, or new features can be
addressed efficiently.
Ongoing Evolution: Models like Agile and Evolutionary support the continuous evolution
of the software, adapting to new business needs or technology changes.
Scalability: Different SDLC models are suitable for projects of varying sizes and
complexities. For example, the Classical Waterfall model might work well for small,
straightforward projects, while more flexible models like Agile are better suited for large,
dynamic projects.
Handling Complexity: A life cycle model helps break down complex projects into
smaller, manageable parts, making it easier to track progress, manage changes, and ensure
success.
Standardization: A defined SDLC model establishes best practices and processes that can
be reused across multiple projects. This helps ensure consistency in how software is
developed, reducing variability and improving quality across the organization.
Prevents Chaos and Ensures Coordination: A software life cycle model provides a
structured approach for team members, ensuring that everyone works in harmony. Without
such a model, team members may follow inconsistent approaches—one might start with
coding, another with testing, and another with design—leading to confusion and ultimately
project failure.
Clear Task Assignment and Understanding: When a life cycle model is followed, each
phase has clear entry and exit criteria. This allows all team members to understand when
they should start and finish their tasks, ensuring smooth transitions between phases.
12. Entry and Exit Criteria
Definition of Phase Boundaries: Each phase in a life cycle model has specific entry and
exit criteria that must be satisfied before moving to the next phase. This enforces
discipline and ensures that no phase is skipped or started prematurely, reducing the
chances of errors propagating through the development process.
Quality Assurance: The well-defined boundaries ensure that phases such as design,
coding, and testing are completed with the necessary checks, which improves the overall
quality of the product and avoids rework later.
The need for an SDLC model arises from the desire to bring structure, organization, and
predictability to the software development process. A well-defined life cycle model enhances
project management, improves communication, ensures quality, mitigates risks, and enables
adaptability, ultimately leading to the successful delivery of high-quality software. Without a
software life cycle model, the development process would lack discipline, coordination, and
structure. By providing a clear roadmap, setting defined criteria for phases, and enabling effective
progress monitoring, the SDLC model ensures that the project stays on track and meets its goals
in a systematic and efficient manner. This ultimately leads to a higher chance of success for
software projects.
This model is best suited when developers already have designed and developed similar
software in the past and is aware of all its domains.
Advantages:
Simple to understand and use.
Works well for small projects with well-defined requirements.
Easy to manage due to its linear structure.
Disadvantages:
Inflexible; difficult to accommodate changes once the project is underway.
No feedback or revisions possible once a phase is completed.
Delayed testing and late discovery of issues since testing occurs only after the
implementation phase.
PROTOTYPING MODEL
1. Basic Requirement Identification: This step involves understanding the very basic
product requirements, especially in terms of user interface. The more intricate details of
the internal design and external aspects like performance and security can be ignored at
this stage.
2. Developing the initial Prototype: The initial Prototype is developed in this stage, where
the very basic requirements are showcased and user interfaces are provided. These
features may not exactly work in the sam0 e manner internally in the actual software
developed and the workarounds are used to give the same look and feel to the customer in
the prototype developed.
3. Review of the Prototype: The prototype developed is then presented to the customer and
the other important stakeholders in the project. The feedback is collected in an organized
manner and used for further enhancements in the product under development.
4. Revise and enhance the Prototype: The feedback and the review comments are discussed
during this stage and some negotiations happen with the customer based on factors like,
time and budget constraints and technical feasibility of actual implementation. The
changes accepted are again incorporated in the new Prototype developed and the cycle
repeats until customer expectations are met.
5. Final Product
EVOLUTIONARY MODEL
It is also called successive versions model or incremental model. At first, a simple working model is
built. Subsequently it undergoes functional improvements & we keep on adding new functions till the
desired system is built.
Applications:
Large projects where you can easily find modules for incremental implementation. Often used
when the customer wants to start using the core features rather than waiting for the full
software.
Also used in object oriented software development because the system can be easily portioned
into units in terms of objects.
Advantages:
User gets a chance to experiment partially developed system
Reduce the error because the core modules get tested thoroughly.
Disadvantages:
It is difficult to divide the problem into several versions that would be acceptable to the
customer which can be incrementally implemented & delivered.
SPIRAL MODEL
The Spiral model of software development is shown in fig.5. The diagrammatic representation of
this model appears like a spiral with many loops. The exact number of loops in the spiral is not
fixed. Each loop of the spiral represents a phase of the software process. For example, the
innermost loop might be concerned with feasibility study. The next loop with requirements
specification, the next one with design, and so on. Each phase in this model is split into four
sectors (or quadrants) as shown in the fig.5. The following activities are carried out during each
phase of a spiral model.
Fig 5: Spiral Model
Advantages:
High adaptability to changing requirements and customer needs.
Continuous feedback and collaboration with customers ensure a product that aligns with user
needs.
Short development cycles allow for faster delivery of functional software.
Disadvantages:
Requires close collaboration between developers and customers, which can be resource-intensive.
Documentation may be less detailed due to focus on rapid delivery.
Can be difficult to scale for larger projects if not properly managed.
DEVOPS MODEL
The DevOps model integrates development (Dev) and operations (Ops) teams, emphasizing
collaboration between the two to automate and streamline the processes of software development and
IT operations. DevOps promotes continuous integration and delivery, with the goal of releasing
software faster and with higher quality. Stages: Continuous development → Continuous integration
→ Continuous testing → Continuous deployment → Continuous monitoring.
Advantages:
Reduces time to market through automation and faster releases.
Promotes a culture of collaboration between developers and operations teams.
Improves software quality by ensuring that the development and operational environments are
aligned.
Disadvantages:
May require significant changes to organizational structure and processes.
Requires a high degree of automation, which can be costly and complex to implement.
Not ideal for smaller teams or projects that don’t need frequent updates or releases.
V-MODEL (VERIFICATION AND VALIDATION MODEL)
The V-Model is a sequential development model that places equal emphasis on development and
testing phases. For each development phase, there is a corresponding testing phase. The model is
represented in a V shape, with the left side focusing on development and the right side on testing,
ensuring validation at every step. Stages: Requirements → Design → Coding → Testing (unit,
integration, system, and acceptance) → Maintenance.
Advantages:
Early identification of defects due to continuous testing throughout the development lifecycle.
Clear focus on verification and validation, ensuring higher quality.
Each development phase has a corresponding testing phase, so issues are caught early.
Disadvantages:
Like the Waterfall model, it is rigid and does not handle changes well.
Inflexibility makes it less suited to projects where requirements may evolve.
Can be time-consuming due to the emphasis on testing at every phase
Before we start to develop our software, it becomes quite essential for us to understand and
document the exact requirement of the customer. Experienced members of the development
team carry out this job. They are called as system analysts. The analyst starts requirements
gathering and analysis activity by collecting all information from the customer which could be
used to develop the requirements of the system. He then analyses the collected information to
obtain a clear and thorough understanding of the product to be developed, with a view to
remove all ambiguities and inconsistencies from the initial customer perception of the problem.
The following basic questions pertaining to the project should be clearly understood by the
analyst in order to obtain a good grasp of the problem:
• What is the problem?
• Why is it important to solve the problem?
• What are the possible solutions to the problem?
• What exactly are the data input to the system and what exactly are the data output by the
system?
• What are the likely complexities that might arise while solving the problem?
• If there are external software or hardware with which the developed software has to
interface, then what exactly would the data interchange formats with the external system
be?
After the analyst has understood the exact customer requirements, he proceeds to identify and
resolve the various requirements problems. The most important requirements problems that the
analyst has to identify and eliminate are the problems of anomalies, inconsistencies, and
incompleteness. When the analyst detects any inconsistencies, anomalies or incompleteness in
the gathered requirements, he resolves them by carrying out further discussions with the end-
users and the customers.
Parts of a SRS document
The important parts of SRS document are:
Functional requirements of the system
Non-functional requirements of the system, and
Goals of implementation
Types of Requirements
1. Functional Requirements
These define what the system should do. These are specific functionalities or services the system
must provide. Examples include: user authentication, payment processing, report generation.
2. Non-Functional Requirements
Define how the system should perform. These include attributes such as performance, usability,
security, and scalability. Examples include: system should handle 1000 transactions per second,
response time should be less than 2 seconds, the system should be available 99.9% of the time.
REQUIREMENT ENGINEERING
The process to gather the software requirements from client, analyze and document them is
known as requirement engineering. The goal of requirement engineering is to develop and
maintain sophisticated and descriptive ‘System Requirements Specification’ document.
Traceability and Accountability - Requirement traceability ensures that each feature can
be traced back to a specific requirement, making it easier to track progress and
accountability throughout the project life cycle.
1. Changing Requirements: Stakeholders may change their needs or priorities during the
project, leading to scope creep or the need for constant adaptation.
5. Technical Feasibility: Some requirements may not be technically feasible or may require
advanced solutions that are costly or time-consuming to implement.
Requirement Gathering
Software Requirement Specification
Software Requirement Validation
Let us see the process briefly -
Feasibility study
When the client approaches the organization for getting the desired product developed, it comes
up with rough idea about what all functions the software must perform and which all features
are expected from the software. Referencing to this information, the analysts does a detailed
study about whether the desired system and its functionality are feasible to develop.
This feasibility study is focused towards goal of the organization. This study analyzes whether
the software product can be practically materialized in terms of implementation, contribution of
project to organization, cost constraints and as per values and objectives of the organization. It
explores technical aspects of the project and product such as usability, maintainability,
productivity and integration ability.
The output of this phase should be a feasibility study report that should contain adequate
comments and recommendations for the management about whether or not the project should be
undertaken.
Requirement Gathering
If the feasibility report is positive towards undertaking the project, next phase starts with
gathering requirements from the user. Analysts and engineers communicate with the client and
end-users to know their ideas on what the software should provide and which features they want
the software to include.
SRS defines how the intended software will interact with hardware, external interfaces, speed of
operation, response time of system, portability of software across various platforms,
maintainability, speed of recovery after crashing, Security, Quality, Limitations etc.
The requirements received from client are written in natural language. It is the responsibility of
system analyst to document the requirements in technical language so that they can be
comprehended and useful by the software development team.
Reviews and Inspections: Peer reviews and walkthroughs of the requirements document.
Prototyping: Revisiting prototypes to validate whether the system meets user expectations.
Test Cases: Developing test cases based on the requirements to ensure they are testable and
achievable.
Stakeholder Validation: Getting formal approval or sign-off from stakeholders on the
requirement document.
Requirements can be checked against following conditions -
If they can be practically implemented
Interviews
Interviews are strong medium to collect requirements. Organization may conduct several types
of interviews such as:
Questionnaires
A document with pre-defined set of objective questions and respective options is handed over to
all stakeholders to answer, which are collected and compiled.
A shortcoming of this technique is, if an option for some issue is not mentioned in the
questionnaire, the issue might be left unattended.
Task analysis
Team of engineers and developers may analyze the operation for which the new system is
required. If the client already has some software to perform certain operation, it is studied and
requirements of proposed system are collected.
Domain Analysis
Every software falls into some domain category. The expert people in the domain can be a great
help to analyze general and specific requirements.
Brainstorming
An informal debate is held among various stakeholders and all their inputs are recorded for
further requirements analysis.
Prototyping
Prototyping is building user interface without adding detail functionality for user to interpret the
features of intended software product. It helps giving better idea of requirements. If there is no
software installed at client’s end for developer’s reference and the client is not aware of its own
requirements, the developer creates a prototype based on initially mentioned requirements. The
prototype is shown to the client and the feedback is noted. The client feedback serves as an input
for requirement gathering.
Observation
Team of experts visits the client’s organization or workplace. They observe the actual working
of the existing installed systems. They observe the workflow at client’s end and how execution
problems are dealt. The team itself draws some conclusions which aid to form requirements
expected from the software.
2. Requirement Analysis
After gathering raw requirements, the next step is analyzing them to ensure they are feasible,
necessary, and unambiguous. Key Activities:
Modeling Requirements: Using tools like UML (Unified Modeling Language) or flowcharts
to model the system and its interactions.
Software Requirements Specification (SRS) Document
Clear Communication: The SRS serves as a reference point for developers, clients, and testers,
ensuring everyone has a shared understanding of the system's features and limitations.
Avoids Misunderstanding: Clearly defined requirements prevent costly misunderstandings,
rework, and potential project delays.
Foundation for Design: Developers use the SRS to design the system architecture, components,
and interfaces.
Basis for Testing: The SRS document outlines requirements in a manner that testers can create test
cases to validate if the system meets the expectations.
Contractual Agreement: In many cases, an SRS serves as a formal contract between the client
and the software development team, ensuring that the final product aligns with the agreed-upon
requirements.
Clear
Correct
Consistent
Coherent
Comprehensible
Modifiable
Verifiable
Prioritized
Unambiguous
Traceable
Credible source
Software Requirements
We should try to understand what sort of requirements may arise in the requirement elicitation
phase and what kinds of requirements are expected from the software system.
Broadly software requirements should be categorized in two categories:
Logging
Storage
Configuration
Performance
Cost
Interoperability
Flexibility
Disaster recovery
Accessibility
Requirements are categorized logically as
easy to operate
quick in response
effectively handling operational errors
providing simple yet consistent user interface
User acceptance majorly depends upon how user can use the software. UI is the only way for
users to perceive the system. A well performing software system must also be equipped with
attractive, clear, consistent and responsive user interface. Otherwise the functionalities of
software system cannot be used in convenient way. A system is said be good if it provides
means to use it efficiently. User interface requirements are briefly mentioned below -
Content presentation
Easy Navigation
Simple interface
Responsive
Consistent UI elements
Feedback mechanism
Default settings
Purposeful layout
Strategically use of color and texture.
Provide help information
User centric approach
Group based view settings.
Software System Analyst
System analyst in an IT organization is a person, who analyzes the requirement of proposed
system and ensures that requirements are conceived and documented properly & correctly. Role
of an analyst starts during Software Analysis Phase of SDLC. It is the responsibility of analyst
to make sure that the developed software meets the requirements of the client.
System Analysts have the following responsibilities:
Analyzing and understanding requirements of intended software
SOFTWARE DESIGN
Software design is a process to transform user requirements into some suitable form, which
helps the programmer in software coding and implementation. For assessing user requirements,
an SRS (Software Requirement Specification) document is created whereas for coding and
implementation, there is a need of more specific and detailed requirements in software terms.
The output of this process can directly be used into implementation in programming languages.
Software design is the first step in SDLC (Software Design Life Cycle), which moves the
concentration from problem domain to solution domain. It tries to specify how to fulfill the
requirements mentioned in SRS.
Architectural Design - The architectural design is the highest abstract version of the
system. It identifies the software as a system with many components interacting with
each other. At this level, the designers get the idea of proposed solution domain.
High-level Design- The high-level design breaks the ‘single entity-multiple component’
concept of architectural design into less-abstracted view of sub-systems and modules and
depicts their interaction with each other. High-level design focuses on how the system
along with all of its components can be implemented in forms of modules. It recognizes
modular structure of each sub-system and their relation and interaction among each other.
Detailed Design- Detailed design deals with the implementation part of what is seen as a
system and its sub-systems in the previous two designs. It is more detailed towards
modules and their implementations. It defines logical structure of each module and their
interfaces to communicate with other modules.
Modularization
Modularization is a technique to divide a software system into multiple discrete and independent
modules, which are expected to be capable of carrying out task(s) independently. These modules
may work as basic constructs for the entire software. Designers tend to design modules such that
they can be executed and/or compiled separately and independently.
Modular design unintentionally follows the rules of ‘divide and conquer’ problem-solving strategy this
is because there are many other benefits attached with the modular design of a software.
Advantage of modularization:
• Smaller components are easier to maintain
• Program can be divided based on functional aspects
• Desired level of abstraction can be brought in the program
• Components with high cohesion can be re-used again
• Concurrent execution can be made possible
• Desired from security aspect
Concurrency
Back in time, all softwares were meant to be executed sequentially. By sequential execution we mean
that the coded instruction will be executed one after another implying only one portion of program
being activated at any given time. Say, a software has multiple modules, then only one of all the
modules can be found active at any time of execution.
In software design, concurrency is implemented by splitting the software into multiple independent
units of execution, like modules and executing them in parallel. In other words, concurrency provides
capability to the software to execute more than one part of code in parallel to each other.
It is necessary for the programmers and designers to recognize those modules, which can be made
parallel execution.
Example
The spell check feature in word processor is a module of software, which runs alongside the word
processor itself.