×

Waterfall Model in Software Engineering

The most popular model is the waterfall model. This model has five phases:

  1. Requirement analysis and specification
  2. Design
  3. Implementation & unit testing
  4. Integration and system testing phase
  5. Operation and maintenance

These phases often occur one after the other. The developer should complete each step before the next phase starts. This model is called the "Waterfall Model" because its diagrammatic representation resembles a waterfall.

Waterfall Model in Software Engineering

Requirement analysis and specification phase:- This phase aims to understand and properly document the exact requirements of the customer. This task is usually carried out in collaboration with the customer, as the aim is to record all features, functionality, and configuration specifications for the application. The requirements describe the "what" of the system, not the "how" of the system. This process produces a large file, written in a natural language describes what the program will do without explaining how it will be accomplished. The resultant document is known as a software requirement specification (SRS) document.

The SRS document may act as a contract between the developer and the customer. If the developer fails to implement a full set of requirements, it may fail to implement the contracted set of requirements.

Design phase:- The SRS document is produced in the previous phase, which contains the exact requirements of the customer. The purpose of this step is to convert the requirement specification into a structure that is suitable for implementation in some programming languages.

Hence, overall software architecture is defined, and the high level and detailed design work are performed. This work is documented and known as a software design description (SDD) document. The information included in the Software Design Description should be sufficient to start the coding phase.

Implementation and unit testing phase:- During this phase, the design is implemented. If the SDD is complete, the implementation or coding phase proceeds smoothly, because of all the information needed by the software developers contained in the SDD.

During testing, the primary activities are centered around the examination and modification of the code. Small modules were initially tested in isolation from the rest of the software product. There are problems associated with the evaluation of unit tests in isolation. How do we run a module without anything to label it, to call it, or, possibly, to intermediate output values obtained during execution? These problems are resolved at this point, and the modules are checked after writing some overhead code.

Integration and system testing:-  This is a very important phase. Good testing can help to deliver higher quality software products, more happy customers, lower maintenance costs, and more accurate and reliable performance. It is a very expensive activity and consumes one-third to at least one half the value of a typical development project.

As we know, the purpose of unit testing is to determine whether each independent module is implemented correctly. It gives very little chance to determine if the interface between modules is also correct and, therefore, an integration testing is performed. System testing involves the testing of the entire system, whereas software is a part of the system. This is essential to build confidence in the developers before the software is delivered to the customer or released in the market.

Operation and maintenance phase:- Software maintenance is a challenge that every team has to face when the software is deployed and installed to the customer's site. Therefore, the release of software inaugurates the operation and maintenance phase of the life cycle. The time and effort required to maintain the operating program after launch are very important. Despite the fact it is a very challenging task, it is routinely the poorly managed headache that nobody wants to face.

Software maintenance is a very broad activity that includes error correction, enhancement of capabilities, and optimizations.

The purpose of this phase is to maintain the value of the software over time. This stage can last from 5 to 50 years, while development can last from 1 to 3 years. It is easy to reinforce the model "define before design" and "design before code" design. This model sometimes expects complete and accurate requirements, which is unrealistic. There is also no risk assessment involved.

The disadvantage of the Waterfall model  

  1. It is difficult to define all the requirements at the beginning of a project.
  2. This model is not suitable for accommodating any change.s
  3. It's not going to scale up to large projects.
  4. Real projects have never been sequential.

Related Topics

Spiral Model

The problem with traditional software process models is that they do not adequately deal with uncertainty, which is inherent to software projects. Major software projects had failed because project risks were neglected, and...

3 minutes read.

Routing Requests through Load Balancers

Let us first understand what load balancers are Assume a system works with multiple machines or servers, and as the requests arrive, they need to be routed to any one of...

3 minutes read.

Netflix - System Design

System design questions are common in many technical rounds for huge tech companies like Amazon, Google Flipkart. Candidates get confused about how they should answer the system doesn't question in...

12 minutes read.

Software Engineering Tutorial

The software has become critical to advancement in almost all areas of human endeavor. The art of programming is no longer enough to construct large programs. There are serious problems with the...

8 minutes read.

Online Library Management System ER Diagram in Software Engineering

Description of an ER Diagram The relationship between entity sets that are kept in a database is depicted in a diagram known as an entity relationship diagram, or ER Diagram. Alternatively,...

10 minutes read.

Project management activities

Project management activities Software project management involves many activities, including project planning, software product scope, cost estimation in various terms, scheduling of tasks and events, and resource management. Project management activities may include: Project PlanningScope ManagementProject...

2 minutes read.

Software Metrics

Introduction Software metrics is the term used in software engineering. Software engineering is the detailed study of the step-by-step making of user-interactive software that fulfills users' needs. Let's discuss two terms...

4 minutes read.

Dropbox - System Design

While trying to upload or share any file, whether images, pdfs or documents, you would have come across the dropbox file posting service. Dropbox keeps all your data secure and...

9 minutes read.

Metrics for testing

There are different types of metrics used in software testing to measure different parameters. So, for different purposes, different metrics are used by the developer. For example: The type of metrics...

3 minutes read.

Scope of software metrics

Scope, Benefit, and Cycle of Software Metrics Software metrics have tremendous scope in software development to understand and fulfill various aspects of the project process. Software metrics help in estimation of...

6 minutes read.

Project Management Tools

Project Management Tools Risk and uncertainty increase in the size of the project, even when the project is developed according to the prescribed methods. We use project management tools to manage project management systems properly...

3 minutes read.

Structured Analysis and Design (SA/SD)

When the software systems keep getting bigger and more complex, you need a way to represent the model systematically. Structured Design and Structured Analysis, often referred to as SA/SD, is...

4 minutes read.

Data Structure Metrics

In the size metric, we have learned to measure/ determine the size of a program by various software metrics such as line of code, Function count, and Token Count. A program...

6 minutes read.

RAD Model in Software Engineering

RAD Model is an incremental process model and was developed by IBM in the 1980s and described in the book of James Martin entitled Rapid Application Development. Hence, user involvement is essential from...

3 minutes read.

Halstead's Software Metrics

Halstead’s software science metrics According to Halstead’s software metrics, a program is the implementation of an algorithm. These steps are considered as a number of tokens, and tokens are classified as...

6 minutes read.

Software Configuration Management

Software Configuration Management The process of Software Configuration Management contains operations such as controlling, managing, and organizing the source-code, documents, and other essential components during the Software Development Life Cycle.SCM is essential for all project...

3 minutes read.

Software Quality Assurance (SQA)

Software Quality Assurance (SQA) is a process that ensures the quality of software while developing software. It also ensures that all processes, procedures, and activities are monitored and properly implemented. It works along...

3 minutes read.

Twitter - System Design

You might have heard of Twitter, a widely used social media platform. Everybody tends to check it every few minutes. Imagine what you would do if you were asked to...

8 minutes read.

Project Management

Project Management What is a software project? The project is a set of tasks that need to be completed to reach a clear result. The project is also defined as the set of inputs...

2 minutes read.

Object Oriented Analysis and Design in Software Engineering

Using object-oriented programming, object-oriented analysis and design (OOAD) is a technical way for evaluating and organising an application, system, or business. It also uses visual modelling to direct stakeholder interaction...

9 minutes read.