← Software engineering

From idea to program

Requirements and design

需求与设计

Requirements describe what the software must do, such as "a user can reset their password".

Design decides how it will be built: its parts, how they talk to each other, and where data is kept.

Requirements come in two kinds: functional ones describe what the system does, such as "the user can reset their password", and non-functional ones describe its quality, such as speed, security and ease of use.

Requirements are often written as user stories: "As a student, I want to save words to my dictionary so I can review them later." This format reminds the team who uses the feature and why.

In design the system is split into parts with clear responsibilities (interface, server, database), and screen prototypes are drawn before coding, because changing a sketch is far cheaper than changing finished software.

Ask the AI assistant

Ask anything about this lesson and get a simple answer with the terms in Chinese, Arabic and English.

The AI assistant runs on Google's Gemini model and can make mistakes. Do not write personal information. Available to signed-in learners, up to 30 requests a day.

The content is simplified and covers the basics only.