4.5.1 · D1Software Engineering

Foundations — SDLC — waterfall, V-model, iterative, agile

1,896 words9 min readBack to topic

This page assumes nothing. If the parent note used a word or a symbol, we build it here from the ground up, in the order that each idea needs the one before it.


0. What is a "defect"? (the atom everything is about)

The picture to hold in your head: a defect is a crack. If you spot a crack in a wall you just started, you scrape it off. If you spot it after ten more layers of plaster and paint have gone on top, you must chip through all ten layers to reach it. That "layers on top" image is the whole reason SDLC exists.

Figure — SDLC — waterfall, V-model, iterative, agile

Why the topic needs this: every model below is measured by how early it lets you catch the crack. No defect ⇒ no reason to prefer one model over another.


1. The five phases (the shared vocabulary)

The classic five, in order:

# Phase The one-word question it answers
0 Requirements What must it do?
1 Design How will it be structured?
2 Implementation (coding) Write the actual code
3 Testing Does it match spec and need?
4 Deployment & Maintenance Ship it, then keep fixing it

The picture: a staircase going down. Each step's output (a signed document, a diagram, working code) is the next step's input. Notice we number them — that number is going to become an exponent in a moment, so keep it visible.

Why the topic needs this: Requirements Engineering, Verification and Validation, and Software Testing — Unit Integration System Acceptance are all just phases being examined up close. You can't compare models until you can name their stages.


2. "Feedback" — the second atom

The picture: a loop arrow returning from a later phase to an earlier one. A model with feedback late has one long arrow that only loops back after testing. A model with feedback often has many short arrows looping back constantly.

Why the topic needs this: the parent note says every model "answers ONE question differently: when do we lock decisions, and when do we get feedback?" Feedback is one of the two dials every model turns.


3. Reading the symbols in the cost formula

The parent note drops this line:

Let us earn every single symbol before trusting it.

What does mean?

is multiplied by itself times. This is an exponent. Read it as " raised to the power ":

Figure — SDLC — waterfall, V-model, iterative, agile

Plug in :

Phase Meaning
0 requirements fix costs 1×
1 design 10×
2 coding 100×
3/4 after release 1000×

4. Verification vs Validation (two words that look identical)

The picture: verification checks the product against a blueprint; validation checks it against a person's actual wish. You can perfectly verify (match the blueprint exactly) a product nobody wanted (fail validation).

Why the topic needs this: the V-Model is literally the "Verification & Validation model"; every test type (Software Testing — Unit Integration System Acceptance) is one of these two, and they get their own vault note in Verification and Validation.


5. Iteration, increment, sprint, backlog

The picture: iteration is repainting the whole rough sketch clearer; increment is adding a new room to the house. Real projects do both — "iterative and incremental."

Why the topic needs this: the iterative model and every agile method (Scrum, Kanban, Extreme Programming) are built entirely out of these four words plus the feedback loop from §2.


6. Risk (why we do the scary part first)

The picture: risk is a fog bank ahead. Iterating means walking a short way into the fog, checking the ground is solid, then walking a bit more — never sprinting blind. See Risk Management.


How the foundations feed the topic

Defect the crack

Phases the staircase 0 to 4

Phase number p

Exponent k to the p

Cost of change curve

Feedback loop

When to get feedback

SDLC model choice

Verification vs Validation

V-Model

Iteration increment sprint backlog

Iterative and Agile

Risk

Read it top-down: the defect and the staircase of phases give us the phase number ; becomes the exponent that shapes the cost curve; the cost curve plus when we get feedback is exactly the trade-off that decides which SDLC model to pick.


Equipment checklist

Cover the right side and answer aloud. If any stumps you, re-read that section before the parent note.

What is a defect, in one sentence?
A place where the software differs from what was needed or intended — the "crack" that later layers get built on top of.
What does a phase number physically count?
How many layers of later work sit on top of a mistake made in that phase (0 for requirements, 4 for deployed).
In , is a multiplier or a label?
A label (subscript) — it means "cost at phase ", never " times ".
Why is the cost formula (exponential) and not (linear)?
Because a late defect re-touches every layer already built on it, and each layer multiplies the effort — repeated multiplication is an exponent.
Compute , , .
, , .
What does mean and why is it used here?
"Approximately equal" — the cost numbers are empirical rules of thumb, not exact laws.
Verification vs Validation?
Verification = built it right (against spec); Validation = built the right thing (against real need).
Difference between an iteration and an increment?
An iteration refines the whole product a little; an increment adds a new piece.
What is a backlog?
The ordered to-do list of everything still wanted.
Why do iterative/agile teams tackle the riskiest part first?
So an impossible thing is discovered cheaply at low instead of catastrophically at high .