CSC375 ยท 2076 ยท 10 marks
What is software process model? Discuss waterfall model with its merits and demerits.
What is software process model? Discuss waterfall model with its merits and demerits.[10]
Quick answer
A software process model is an abstract representation of a software process. It describes a structured set of activities, methods, practices, and transformations that are used to develop and maintain software and its associated products (plans, documents, code, test cases, manuals, etc.).
Software Process Model and Waterfall Model
What is a Software Process Model? (2 marks)
A software process model provides a framework that defines:
- The order in which activities are carried out
- The entry and exit criteria for each activity
- The deliverables produced at each stage
Common software process models include:
- Waterfall Model
- Incremental Model
- Spiral Model
- Agile Model
Waterfall Model (6 marks)
Definition
The Waterfall Model is a sequential software development approach where each fundamental activity of the process is represented as a separate phase, arranged in linear order. Each phase must be completed fully before proceeding to the next phase. The process is strictly sequential -- no backing up or repeating of phases is allowed. This model is strictly documented and predefined, with features expected at every phase of the Software Development Life Cycle (SDLC).
Phases of the Waterfall Model
The diagram below illustrates the sequential flow:
Requirements Definition
|
v
System and Software Design
|
v
Implementation and Unit Testing
|
v
Integration and System Testing
|
v
Operation and Maintenance
1. Requirements Definition (System Requirements)
- All possible requirements of the system to be developed are captured and documented.
- Feasibility study is conducted.
- A Software Requirements Specification (SRS) document is produced.
2. System and Software Design
- The requirements gathered in the first phase are studied and system design is prepared.
- Hardware and software requirements are defined.
- Overall system architecture is designed.
3. Implementation and Unit Testing
- The design is translated into source code.
- Each unit (module) of the software is developed and tested individually to verify that it meets its specifications.
4. Integration and System Testing
- All units developed in the previous phase are integrated into a complete system.
- The integrated system is tested to ensure it meets the specified requirements.
- Errors and bugs are found and fixed.
5. Operation and Maintenance
- The software is deployed to the customer environment.
- Maintenance is carried out to correct errors discovered after deployment, improve performance, and adapt the software to a changed environment.
Merits of the Waterfall Model (1 mark)
| Merit | Explanation |
|---|---|
| Simple and easy to understand | The sequential nature makes it easy to manage and explain. |
| Well-documented | Each phase is strictly documented, making future maintenance easier. |
| Easy to schedule and plan | Clear milestones and deliverables at each phase allow better project management. |
| Works well for small projects | When requirements are well understood and fixed, this model is very effective. |
| Structured approach | Phases do not overlap, reducing confusion in large teams. |
Demerits of the Waterfall Model (1 mark)
| Demerit | Explanation |
|---|---|
| No working software until late | No working software is produced until late during the life cycle, so the customer has to wait long. |
| Cannot accommodate changing requirements | This model cannot accept changes in requirements during development. |
| Difficult to go back | Once a phase is completed, it becomes very tough to go back to a previous phase and make changes. |
| Risk reduction is difficult | Since testing is done at a later stage, risk reduction strategy is difficult to prepare. |
| Not suitable for complex projects | Projects where requirements are unclear or likely to change are not well-suited for this model. |
Summary
The Waterfall Model is the oldest and most widely used software process model. It is best suited for projects where:
- Requirements are clearly defined and stable
- The project is small and short in duration
- Technology is well understood
However, for large, complex, or requirement-changing projects, more flexible models such as the Spiral or Agile model are preferred over the Waterfall Model.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.