WalzoneInterview Prep
📞 Interviewing soon? Practice with a realistic AI mock phone interview — it calls you, then scores you. First 15 min FREE →

System Design · Basic · question 2 of 100

Can you differentiate between functional and non-functional requirements?

📕 Buy this interview preparation book: 100 System Design questions & answers — PDF + EPUB for $5

Functional requirements and non-functional requirements are two different types of requirements that are often defined during the system design process.

Functional requirements are requirements that describe the specific features and functions that a system must have in order to meet its goals. These requirements define what the system should do, and are typically related to the specific tasks that the system is designed to perform. Examples of functional requirements might include:

The ability to add items to a shopping cart The ability to search for products by keyword The ability to process payments through a third-party payment gateway

Non-functional requirements, on the other hand, are requirements that describe how the system should perform. These requirements are not related to the specific features and functions of the system, but rather to its overall performance, security, and usability. Examples of non-functional requirements might include:

Response time: The system must respond to user requests within 2 seconds. Scalability: The system must be able to handle a large number of users simultaneously without slowing down. Security: The system must protect user data from unauthorized access or disclosure.

Here is an example to illustrate the difference between functional and non-functional requirements:

Suppose a company is designing an e-commerce website. The functional requirements might include:

The non-functional requirements for the same e-commerce website might include:

In summary, functional requirements describe what a system should do, while non-functional requirements describe how a system should perform. Both types of requirements are important for designing a system that meets the needs of its users and performs effectively.

Reading is step one. Saying it out loud is the interview. Our AI interviewer calls your phone and runs a realistic System Design interview — then scores it.
📞 Practice System Design — free 15 min
📕 Buy this interview preparation book: 100 System Design questions & answers — PDF + EPUB for $5

All 100 System Design questions · All topics