courses un%5cdev475 02 requirements
TRANSCRIPT
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 1/32
1
IBM Software Group
®
Mastering Object-Oriented Analysis and Designwith UML
Module 2: Requirements Overview
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 2/32
2
Objectives: Requirements Overview
Describe the basic Requirements conceptsand how they affect Analysis and Design
Demonstrate how to read and interpret theartifacts of Requirements that are used as astarting point for Analysis and Design
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 3/32
3
Requirements Overview Topics
Introduction Key Concepts
Use-Case Model Glossary
Supplementary Specifications Checkpoints
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 4/324
Requirements in Context
The purpose of Requirements is to:
• Establish and maintain agreementwith the customers and other
stakeholders on what the systemshould do.
• Give system developers a betterunderstanding of the requirementsof the system.
• Delimit the system.
• Provide a basis for planning thetechnical contents of the iterations.
• Provide a basis for estimating costand time to develop the system.
• Define a user interface of thesystem.
The purpose of Requirements is to:
• Establish and maintain agreementwith the customers and other
stakeholders on what the systemshould do.
• Give system developers a betterunderstanding of the requirementsof the system.
• Delimit the system.
• Provide a basis for planning thetechnical contents of the iterations.
• Provide a basis for estimating costand time to develop the system.
• Define a user interface of thesystem.
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 5/32
5
Relevant Requirements Artifacts
SupplementarySpecification
Glossary
Use-Case Specifications
...
Use-Case Model
Actors
Use Cases
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 6/32
6
Case Study: Course Registration Problem Statement
Review the problem statement provided inthe Course Registration RequirementsDocument.
Course RegistrationRequirements Document
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 7/32
7
Requirements Overview Topics
Introduction Key Concepts
Use-Case Model Glossary
Supplementary Specifications Checkpoints
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 8/32
8
What Is System Behavior?
System behavior is how a system acts andreacts.
It is the outwardly visible and testable activity ofa system.
System behavior is captured in use cases.
Use cases describe the system, its environment,and the relationship between the system and itsenvironment.
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 9/32
9
Major Concepts in Use-Case Modeling
An actor represents anything that interacts withthe system.
A use case is a sequence of actions a systemperforms that yields an observable result ofvalue to a particular actor.
UseCase
Actor
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 10/32
10
Requirements Overview Topics
Introduction Key Concepts
Use-Case Model
Glossary
Supplementary Specifications Checkpoints
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 11/32
11
What Is a Use-Case Model?
A model that describes a system’s functionalrequirements in terms of use cases
A model of the system’s intended functionality
(use cases) and its environment (actors)
View Report Card
Student
Register for Courses
Login
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 12/32
12
End User
What Are the Benefits of a Use-Case Model?
Communication Identification
Verification
Use CaseCommunication
Identification
Verification
Domain ExpertUsers
H W ldY R dThi Di ?
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 13/32
13
How Would You Read This Diagram?
View Report Card
Student
Register for Courses
Login
Select Courses toTeach
Submit Grades
Professor
Registrar
Billing System
Maintain ProfessorInformation
Maintain Student
Information
Close Registration
Course Catalog
U C S ifi ti
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 14/32
14
Use-Case Specifications
Name Brief description
Flow of Events
Relationships
Activity diagrams
Use-Case diagrams Special
requirements
Pre-conditions Post-conditions
Other diagramsUse-Case Specifications
...
Use-Case Model
Actors
Use Cases
U C Fl f E t
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 15/32
15
Use-Case Flow of Events
Has one normal, basic flow Several alternative flows
Regular variants
Odd cases
Exceptional flows for handling error situations
Wh t I S i ?
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 16/32
16
What Is a Scenario?
A scenario is an instance of a use case.
Wh t I A ti it Di ?
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 17/32
17
What Is an Activity Diagram?
An activity diagram in the Use-Case Model can be used tocapture the activities in a use case.
It is essentially a flow chart, showing flow of control fromactivity to activity.
Flow of Events
This use case starts when the Registrar requests that the
system close registration.
1. The system checks to see if registration is in progress. If it
is, then a message is displayed to the Registrar and the use
case terminates. The Close Registration processing cannot
be performed if registration is in progress.
2. For each course offering, the system checks if a professor has signed up to teach the course offering and at least three
students have registered. If so, the system commits the
course offering for each schedule that contains it.
Activity1
Activity2
Activity3
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 18/32
RequirementsOverviewTopics
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 19/32
19
Requirements Overview Topics
Introduction Key Concepts
Use-Case Model
Glossary
Supplementary Specifications
Checkpoints
Glossary
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 20/32
20
Glossary
Glossary
Course Registration System Glossary
1. Introduction
This document is used to define terminology specific to the problemdomain, explaining terms, which may be unfamiliar to the reader of the
use-case descriptions or other project documents. Often, this documentcan be used as an informal data dictionary , capturing data definitions sothat use-case descriptions and other project documents can focus onwhat the system must do with the information.
2. Definitions
The glossary contains the working definitions for the key concepts in the
Course Registration System.
2.1 Course: A class offered by the university.
2.2 Course Offering: A specific delivery of the course for a specificsemester – you could run the same course in parallel sessions in thesemester. Includes the days of the week and times it is offered.
2.3 Course Catalog: The unabridged catalog of all courses offered bythe university.
Case Study: Glossary
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 21/32
21
Case Study: Glossary
Review the Glossaryprovided in the CourseRegistration
Requirements Document
Glossary
RequirementsOverviewTopics
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 22/32
22
Requirements Overview Topics
Introduction Key Concepts
Use-Case Model
Glossary
Supplementary Specifications
Checkpoints
Supplementary Specification
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 23/32
23
Supplementary Specification
Functionality Usability
Reliability
Performance
Supportability
Design constraintsSupplementarySpecification
Example: Supplementary Specification
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 24/32
24
Example: Supplementary Specification
Review theSupplementarySpecification provided
in the CourseRegistrationRequirements
Document.
CourseRegistrationRequirementsDocument
Supplementary
Specification
RequirementsOverviewTopics
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 25/32
25
Requirements Overview Topics
Introduction Key Concepts
Use-Case Model
Glossary
Supplementary Specifications
Checkpoints
Checkpoints:Requirements:Use-CaseModel
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 26/32
26
Checkpoints: Requirements: Use Case Model
Is the Use-Case Modelunderstandable?
By studying the Use-Case Model,
can you form a clear idea of thesystem's functions and how they arerelated?
Have all functional requirementsbeen met?
Does the Use-Case Model contain
any superfluous behavior? Is the division of the model into use-
case packages appropriate?
Checkpoints: Requirements: Actors
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 27/32
27
Checkpoints: Requirements: Actors
Have all the actors been identified? Is each actor involved with at least
one use case?
Is each actor really a role? Shouldany be merged or split?
Do two actors play the same role in
relation to a use case? Do the actors have intuitive and
descriptive names? Can both users
and customers understand the names?
Checkpoints: Requirements: Use-Cases
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 28/32
28
Checkpoints: Requirements: Use Cases
Is each use case involved with atleast one actor?
Is each use case independent of theothers?
Do any use cases have very similarbehaviors or flows of events?
Do the use cases have unique,
intuitive, and explanatory names sothat they cannot be mixed up at alater stage?
Do customers and users alikeunderstand the names anddescriptions of the use cases?
Checkpoints: Requirements: Use-Case Specifications
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 29/32
29
Checkpoints: Requirements: Use Case Specifications
Is it clear who wants to perform a usecase?
Is the purpose of the use case alsoclear?
Does the brief description give a truepicture of the use case?
Is it clear how and when the use
case's flow of events starts and ends? Does the communication sequence
between actor and use case conform
to the user's expectations? Are the actor interactions and
exchanged information clear?
Are any use cases overly complex?
Checkpoints: Requirements: Glossary
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 30/32
30
Checkpoints: Requirements: Glossary
Does each term have a clear andconcise definition?
Is each glossary term included
somewhere in the use-casedescriptions?
Are terms used consistently in
the brief descriptions of actorsand use cases?
Review:RequirementsOverview
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 31/32
31
Review: Requirements Overview
What are the main artifacts of Requirements? What are the Requirements artifacts used for?
What is a Use-Case Model?
What is an actor?
What is a use case? List examples of use caseproperties.
What is the difference between a use case and ascenario?
What is a Supplementary Specificationand what does it include?
What is a Glossary and what does
it include?
Exercise: Requirements Overview
8/7/2019 Courses Un%5CDEV475 02 Requirements
http://slidepdf.com/reader/full/courses-un5cdev475-02-requirements 32/32
32
q
Given the following Requirements artifacts:Problem statement
Use-Case Model main diagramSupplementary specification
Glossary
Review the given Requirements artifacts,noting any questions, issues,inconsistencies.