Abdullah Akram Reg # 1220100908 Semester 3rd BS (SE)
Abdullah Akram Reg # 1220100908 Semester 3rd BS (SE)
Information Security
Assignment no: 2
Class: BS(SE)
Semester: 3rd
Table of Contents
Functional Requirements .................................................................................................... 2
Non-functional Requirements............................................................................................. 3
-:-----------------------------------------------------:-
Functional Requirements:
Functional requirements form the behavior of the system. If someone is giving you
functional requirements for a project, they're giving you information on how the project's
product is going to work.
These requirements describe the interactions between a system and its environment.
Let's say that you already have a product that's out on the market, called Product 1.0.
Now, your project is to work on Product 2.0.
The new features of the Product 2.0 would be functional requirements. The bugs that you
will be fixing from Product 1.0 are also your functional requirements.
The new behavior you're building in the product is also a functional requirement.
3
Non-Functional Requirements
• Use cases: when a user opens their Instagram, the first page is the feed. Here,
the user can interact with the content, leaving likes and comments.
Non-functional requirements:
5
Now you know what are functional and non-functional requirements and how to
differentiate between functional and non-functional requirements.
2. Use Cases
Use case document is a document that describes the interactions between the system
and the external users in a generalized, impartial way. It's a written description of how
users will perform tasks in the system.
3. User Stories
User stories describe the functionality from the perspective of the end-user. They include
what exactly the end-user wants the system to do. Agile teams organize user stories in a
backlog, which is an ordered list of product functions.
4. Functional Decomposition
For example,
Reserve a room -> Log in -> Select hotel and date -> Confirm reservation
Let's explain functional and non-functional requirements' best practices. Whether it's a
use case or a functional decomposition, requirements should be written in a way that is
clear and easy to understand. Keep in mind that some stakeholders won't be well-versed
in the technological language, making the document as easy to understand as possible.
Always choose the active voice over the passive and keep your sentences short.
7
Many requirements documents contain imperatives such as "shall," "will," and "should."
Some people will say that "shall" is a requirement, while others that "should" and "must"
is a requirement. Your company should outline what each of these means and how to use
them correctly when writing requirements.
For instance, if you write "something bad happened to the system," "something bad" can
mean different things to different people. It's critical not to use these words. If you use
them, make sure they're going to be interpreted in the same way by everyone.
They explain “What the system does.” They explain “How the system works.”
8
Helps you verify the functionality of the Helps you verify the performance of the
software. software.
They are captured in use cases. They are captured as a quality attribute.
Examples(Netflix): Examples(Netflix):
Users should be able to play any video The interface should be desktop and
by pushing the play button. The platform’s mobile friendly. Every user should fill a
search bar should allow users to filter form with personal details and provide
results by genres. The platform frequently financial data for paid subscriptions. The
updates the suggestions list by using data platform should comply with copyright
analytics laws.
Functional requirements
• User Authentication:
• Account Management:
• Transaction Processing:
9
• Bill Payments:
• Transaction History:
• Alerts and Notifications:
• Account Closure:
• Currency Exchange:
• Accessibility:
• Security:
• Patient Registration:
• Appointment Scheduling:
• Electronic Health Records (EHR):
• Prescription Management:
• Billing and Invoicing:
• Inventory Management:
• Laboratory and Test Management:
• Ward and Bed Management:
• Appointment Reminders:
• Emergency Response:
• Staff Management:
Non-functional requirements
• Performance:
• Reliability:
• Scalability:
• Security:
• Usability:
10
• Availability:
• Compatibility:
• Maintainability:
• Compliance:
• Performance Efficiency:
• Performance:
• Reliability:
• Scalability:
• Security:
• Usability:
• Availability:
• Compatibility:
• Maintainability:
• Compliance:
• Performance Efficiency:
11