Course map

Topic 015 / Core

Functional requirements

Chapter 2.2 · Requirements

What and why

Without agreement on what a system must do, a team can build a technically excellent solution to the wrong problem. Functional requirements are specific, testable statements of what the system does — the features and behaviors a user or another system can observe (actor + action + object + observable result) — not statements of how it's implemented. Builds on: → 11 — this is the first concrete artifact the system design loop produces.

Diagram

Vague ask Clarifying question Functional requirement
"Users should see their orders" All orders, or recent only? List the user's last 90 days of orders
"Support payments" Which methods? Refunds? Accept card payment; support full refund within 30 days

How it works

  1. Start from the vague problem statement.
  2. Ask clarifying questions about actors, actions, and the data involved.
  3. Write each answer as a testable statement: actor + action + object + observable result.
  4. Separate "must have" from "nice to have" — scope is a requirement too (→ 17 constraints).
  5. Stop before describing how — "accept card payment" is functional; "use a specific payment gateway" is an architecture choice (→ 14).

Practical example

"Design a food delivery app" produces: a customer can browse restaurants by location; a customer can place an order with multiple items; a restaurant can accept or reject an order; a customer can track order status in real time; a customer can rate an order after delivery. Five requirements, each one you could write a pass/fail test case for.

When to use it

  • Use when: at the very start of any real design, before any diagram is drawn.
  • Avoid when: writing requirements so detailed they dictate implementation — over-specification removes the room to choose an architecture.
  • Failure scenarios: designing an elegant system for requirements nobody actually asked for, discovered only at review.
  • Simpler alternative: a one-person, one-week prototype needs a short bullet list, not a formal requirements document.

Practice

(Process kind — fill the template on a small system; 15 min, no lab services). Take "design a note-taking app" and write six functional requirements, each as actor + action + object + observable result. Done when a teammate could write a pass/fail test from each line without asking you a clarifying question.

Key takeaway

Functional requirements are testable statements of what the system does, extracted by asking, never assumed. Done when you can turn a one-line prompt into 5+ testable requirements in 10 minutes. Used next in → 16 (non-functional requirements), → 18 (use cases).

References

None — this topic makes no external claims.

Source directory

Search the guide