Skip to the guide

Requirements: functional and non-functional

BeginnerConcept3 pages

Interview prompts are vague on purpose, and "Design WhatsApp" could mean a month of work or an afternoon. The questions you ask before drawing anything turn it into a problem you can solve in the time that's left.

An architect meets a family

Picture a family telling an architect, "We want a house." A good architect doesn't start drawing straight away. Instead they ask questions: how many bedrooms, does anyone work from home, and do you need a garage?

Once those are answered, questions of a different kind follow. Is this an earthquake zone, how cold do winters get, when do you need to move in, and what's the budget?

The first set is about what the house must do, like bedrooms, an office and a garage. The second is about how well it must do it: survive a quake, stay warm and be ready by June. In the interview you are the architect and the interviewer is the family, and software requirements split into the same two kinds:

  • Functional requirements: what users can do, like "Send a message" or "See my chat history".
  • Non-functional requirements: how well the system does it, meaning how fast it is, how many users it serves, how often it may be down and whether data may ever be lost.