CHAPTER 5: SOFTWARE
REQUIREMENTS
Requirements Engineering
Phải viết tài liệu để nhiều đối tượng có thể đọc và hiểu được.
ℹ
Khi đi thi sẽ yêu cầu so sánh giữa 2 yêu cầu này
Yêu cầu chức năng.
Có thể kể ra một số yêu cầu cụ thể như sau:
Nhập mật khẩu sai quá 5 lần thì khóa tài khoản trong vịng 5 phút.
u cầu phi chức năng.
CHAPTER 5: SOFTWARE REQUIREMENTS
1
Tìm kiếm phải dễ dàng.
Giao diện phải dễ dàng sử dụng.
Requirements engineering
Process of establishing the services that a system provide and the constraints for the
system.
What is a requirement?
It may range from a high-level abstract statement of a service or a constraint to a
detailed functional specification.
The basis for a bid or a contract
The basis for the development team
Types of requirement
CHAPTER 5: SOFTWARE REQUIREMENTS
2
User requirements: high-level
System requirements: low-level
Requirements readers
Functional and non-functional
requirements
💡
So sánh giữa 2 cái này
Domain requirements: yêu cầu riêng
Chức năng: Các hành động có thể làm được
Phi chức năng: Thuộc tính, tính chất của hành động, chức năng
Functional requirements
Functional user requirements
Functional system requirements
CHAPTER 5: SOFTWARE REQUIREMENTS
3
Cụ thể, chi tiết
The LIBSYS system
Library system
Người dùng có thể tìm kiếm và lựa chọn tài liệu từ một hoặc nhiều databases khác
nhau
Cung cấp phương tiện để người dùng có thể đọc được tài liệu từ kho tài liệu
Requirements imprecision
Ambiguous requirements
Requirements completeness and
consistency
Hồn thiện và đồng nhất
Non-functional requirements
Thuộc tính và ràng buộc chức năng
Ảnh hưởng đến việc thiết kế và cài đặt hệ thống, tác động lớn đến chi phí.
Usability (dễ sử dụng) là quan trọng nhất
Goals and requirements
System requirements
More detailed specifications
Basis for designing the system
Defined or illustrated using system models
CHAPTER 5: SOFTWARE REQUIREMENTS
4
Problems with Natural Language
(NL)specification
Ambiguity
Over-flexibility
Lack of modularisation
CHAPTER 5: SOFTWARE REQUIREMENTS
5