CSC375 ยท 2080 ยท 5 marks
What is the difference between functional and non-functional requirement? Which is more critical and why?
What is the difference between functional and non-functional requirement? Which is more critical and why? [5]
Quick answer
Functional Requirements define what a system or its component should do. They specify the functions, features, and behaviours that the software system must possess.
Differences Between Functional and Non-Functional Requirements
Definitions
Non-Functional Requirements define the quality attributes of a software system. They specify how the software system should fulfill the functional requirements (e.g., performance, reliability, usability).
Differences Table
| Functional Requirements | Non-Functional Requirements |
|---|---|
| Defines a system or its component | Defines the quality attribute of a software system |
| Specifies "What should the software system do?" | Specifies "How should the software system fulfill the functional requirements?" |
| Specified by the user | Specified by technical people |
| It is mandatory | It is not mandatory |
| Helps to verify the functionality of software | Helps to verify the performance of software |
| Usually easy to define | Usually more difficult to define |
Which is More Critical and Why?
Functional requirements are more critical than non-functional requirements. The reasons are:
-
Mandatory Nature: Functional requirements are mandatory, meaning the system cannot be accepted or delivered without fulfilling them. Non-functional requirements, while important, are not strictly mandatory.
-
Core Purpose: Functional requirements define the very purpose of the system. If a system does not perform its intended functions (e.g., a banking system that cannot process transactions), it is completely useless regardless of how fast or secure it is.
-
Basis for Non-Functional Requirements: Non-functional requirements only make sense in the context of functional requirements. A system must first do something before we can measure how well it does it.
-
User Specification: Functional requirements are specified directly by the user, reflecting the actual needs the system must meet. Satisfying the user's core needs is the primary goal of software development.
Note: However, in safety-critical systems (e.g., nuclear power plants, aviation), non-functional requirements such as reliability and safety can become equally or even more critical, since failure can cost lives.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.