SDLC models explained - waterfall, agile, spiral

The Software Development Life Cycle (SDLC) is the step-by-step process used to plan, build, test and maintain software. It is the first big topic in Software Engineering for BSCS and BSIT students. This guide explains the SDLC phases and the most common models, with their advantages, disadvantages and when to use each.

The 6 Phases of the SDLC

  1. Requirements gathering and analysis: find out what users need and write a Software Requirements Specification (SRS).
  2. Design: plan the architecture, database, interfaces and modules.
  3. Implementation (coding): developers write the code.
  4. Testing: find and fix defects through unit, integration, system and acceptance testing.
  5. Deployment: release the software to users.
  6. Maintenance: fix bugs, improve performance and add features after release.

1. Waterfall Model

Each phase is completed fully before the next begins, flowing downward like a waterfall.

  • Advantages: simple to understand and manage, clear milestones and documentation.
  • Disadvantages: hard to go back and change requirements; working software appears late.
  • Use when: requirements are clear and fixed, e.g. small or government projects.

2. V-Model (Verification and Validation)

An extension of waterfall where every development phase has a matching testing phase (requirements ↔ acceptance testing, design ↔ system and integration testing, coding ↔ unit testing). It emphasises testing early, but is still rigid.

3. Incremental Model

The system is built and delivered in small pieces (increments). Each increment adds features to the previous one, so users get working software early and feedback is easier to include.

4. Prototyping Model

A quick, rough version (prototype) is built and shown to users to clarify requirements, then refined or thrown away. It is useful when users are unsure what they want, but can raise unrealistic expectations if the prototype looks "finished".

5. Spiral Model

Proposed by Barry Boehm, it combines iterative development with risk analysis. Each loop of the spiral has four parts: determine objectives, identify and resolve risks, develop and test, and plan the next iteration. It suits large, high-risk projects but is expensive and needs risk-assessment expertise.

6. Agile Model (Scrum)

Agile delivers working software in short cycles called sprints (usually 1–4 weeks), with close customer collaboration and the ability to change requirements at any time.

  • Scrum roles: Product Owner, Scrum Master and Development Team.
  • Artefacts: product backlog, sprint backlog and the increment.
  • Events: sprint planning, daily stand-up, sprint review and sprint retrospective.

Comparison Table

ModelFlexibilityRisk handlingBest for
WaterfallLowLowFixed, clear requirements
V-ModelLowMediumSystems needing strict testing
IncrementalMediumMediumEarly delivery of core features
PrototypingHighMediumUnclear requirements
SpiralHighHighLarge, high-risk projects
AgileVery highMediumChanging requirements, fast delivery

FAQ

Which SDLC model is best for a final year project?

An iterative or Agile approach usually works best: build a basic working version first, get feedback from your supervisor, then add features.

What is the difference between verification and validation?

Verification asks "are we building the product right?" (meets the specification); validation asks "are we building the right product?" (meets user needs).

More BSCS help: BSCS and BSIT Study Hub.


0 comments:

Post a Comment

 
Top