Docsity

Functional Requirements - Introduction to Databases - Lecture Slides, Slides of Introduction to Database Management Systems

Toggle sidebar
bg1
What are Requirements?
•Functional requirements describe a list of
functions that the system must accomplish.
•Nonfunctional requirements describe other
constraints such as performance expectations or
standards to be used.
•This discussion centers around functional
requirements. Knowing what is to be built is one
of the most important aspects of a software
development process.
•Getting the requirements in line with what the
actual users need is also a very important
aspect.
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c

Partial preview of the text

Download Functional Requirements - Introduction to Databases - Lecture Slides and more Slides Introduction to Database Management Systems in PDF only on Docsity!

What are Requirements?

  • Functional requirements describe a list of functions that the system must accomplish.
  • Nonfunctional requirements describe other constraints such as performance expectations or standards to be used.
  • This discussion centers around functional requirements. Knowing what is to be built is one of the most important aspects of a software development process.
  • Getting the requirements in line with what the actual users need is also a very important aspect.

Use Cases

  • Requirements are often based on use cases.
  • A use case can be used to describe a systems functional requirements.
  • A use case treats the system which is to be built as a black box. A user (Actor) does something and the system responds.
  • The use case is not described in terms of GUI components or specific systems. Instead it is described in more generic terms as simple user actions.
  • For example, entering data, viewing the results of a query to the database, etc..

Use Cases and Requirements

Example

  • Actor:Auctioneer
  • UseCase:EnterBidInformation
    • Requirement:InputPerson The system shall allow the Auctioneer to enter the contents of the city, name, useCreditCard associated with the Person
    • Requirement:ProcessCreditCard The system shall allow the Auctioneer to run the VerifyWithBank algorithm described as: Go out to the Bank server, process the credit card transaction

How can Requirements be

Described? Cont’d

  • Simulation
    • A mechanism which can be used to communicate the requirements as use cases.
    • The simulation shows how the user interacts with the system and how the system responds.
  • Modeling
    • UML tools such as Together™ enable you to create requirements by creating use cases. They provide diagrams to chose from which you can drag and drop.

1. Define Actors

  • Start by creating Actors and Job Titles
  • Create separate types of Actors.
  • They are distinguished by the Jobs that they do using the computer.
  • Each Actor belongs to an organization
  • Create all your known Actors and assign only the ‘Jobs’ for now. Job’s are optional.

2. Create Roles

  • For each Actor, define one or more Roles.
  • Roles are distinct interactions that an Actor has with the computer to accomplish a meaningful unit of work
  • Later, you will define a Use Case for each role.

3.Create Use Cases

  • Create Use Cases for each Actor, one for each of its Roles.
  • For now, just fill out the Use Case name, select an Actor, and select one of its Roles.

4. Define a Story for each use case

  • A Story is a sequence of screens which simulate how the Actor will interact with the system.
  • A Story has an initial Screen.
  • Each Screen is associated with a Requirement in the form: - The system shall …
  • Choose from a fixed collection of Screen types