0% found this document useful (0 votes)
8 views28 pages

Req Tutorial

The document outlines a tutorial on Requirements Engineering (REQ) and Quality of Change (QOC) led by Allen Dutoit and Barbara Paech, focusing on the REQ/QOC process for software development. It includes a summary of requirements elicitation, the specification process, and the use of tools like TogetherJ for analysis. The tutorial also emphasizes the collaborative nature of requirements engineering and sets deadlines for project submissions related to the STARS program.

Uploaded by

shijenhe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views28 pages

Req Tutorial

The document outlines a tutorial on Requirements Engineering (REQ) and Quality of Change (QOC) led by Allen Dutoit and Barbara Paech, focusing on the REQ/QOC process for software development. It includes a summary of requirements elicitation, the specification process, and the use of tools like TogetherJ for analysis. The tutorial also emphasizes the collaborative nature of requirements engineering and sets deadlines for project submissions related to the STARS program.

Uploaded by

shijenhe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Object-Oriented Software Engineering

Conquering Complex and Changing Systems Tutorial


REQ/QOC

Allen Dutoit &Barbara Paech


Preliminaries

For everybody:
♦ Today:
w REQ/QOC tutorial

♦ Next week
w Thursday: Configuration Management lecture
w Friday: TogetherJ tutorial

For STARS students:


♦ Today:
w Post your GUI Mockup in PowerPoint or HTML on the Bboard
w Post the name of the presenter for Monday’s review

♦ Monday
w GUI Mockup review (5-10 minutes for each team).
Allen Dutoit & Barbara Paech REQ/QOC Tutorial 2
Tutorial outline

♦ Requirements engineering
w Summary from last 2 lectures
♦ Requirements engineering process for STARS
w Elicitation & review with REQ/QOC
w Analysis with TogetherJ
♦ SuperMarket example
♦ REQ/QOC
w Requirements elicitation
w Review & collaboration
♦ Summary & next steps

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 3


Requirements Engineering Summary

Requirements System Object Implemen-


Analysis Testing
Elicitation Design Design tation

class...
class...
class... ?
class.... ?
Use Case Application Solution
Domain Subsystems Source Test
Model Domain
Objects Code Cases
Objects

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 4


Requirements specification

A requirements specification includes 3 descriptions:

Requirements Elicitation:
♦ Requirements: What do users do?
System specification
♦ Interactions: How do users use the
(use case model)
system to accomplish their work?
Analysis:
Requirements analysis ♦ Specification: What does the system do?
model (object model)

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 5


Requirements specification (continued)
System specification Requirements analysis
model

FieldOfficer

FieldOfficer Dispatcher

Incident

Resource

Report Emergency Allocate Resources

Location

Report Emergency Reserve Resource Dispatch Resource

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 6


Requirements elicitation activities

♦ Define the boundary of the system:


w Identify and describe actors
♦ Define the needs of the user
w Describe one or more user tasks per actor
♦ Describe the interactions between the actors and the system
w Describe one or more use cases per user task
w Exceptions & nonfunctional constraints
♦ Describe the functionality of the system
w Identify all services needed to realize the use cases
w Each use case uses one or more services
w Each service can be used by one or more use cases

♦ Review the system specification with the client


Allen Dutoit & Barbara Paech REQ/QOC Tutorial 7
Process for STARS (1)

♦ REQ/QOC for the requirements specification


w Web-based tool
w Actors, User Tasks, Use Cases, & Services
w Constraints & Glossary

♦ REQ/QOC for review and negotiation


w Questions, Options, Criteria, Assessments
w Discussion
w What’s new, what’s revised, conflict detection

♦ TogetherJ for Analysis (class diagram)

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 8


Process for STARS (2)
Instructors/coaches Teams
7.11 RAD v.0 from coaches Before 17.11
w Actors & user tasks w Questions to coaches
17.11 RAD v.1 due
w Add’l user tasks
w Use cases, Services, Constraints
w Glossary
20.11 Requirements review
21.11 Questions from coaches
24.11 RAD v.2 due
w Options, assessments
w Decisions
w Revised requirements elements
w Analysis (TogetherJ)
27.11 More questions ...
Allen Dutoit & Barbara Paech REQ/QOC Tutorial 9
SuperMarket: Problem statement

♦ Food vendor needs new pay system:


w Articles can be purchased by customers
w Manager can monitor inventory
w System periodically checks for outdated articles

Customer Manager

Pay station Central Control


Station
Conveyor Checkout
Belt Counter

Return
Basket Articles DB

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 10


REQ/QOC: Overview

REQ:
QOC:
Requirements
Rationale
Specification

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 11


REQ/QOC: Overview (2)

System
Boundaries

Requirements

Use cases

Specification

Nonfunctional
reqs & constraints
Allen Dutoit & Barbara Paech REQ/QOC Tutorial 12
SuperMarket: Identifying Actors & User Tasks

Customer Purchase Articles

Manager Monitor Inventory

?
Check for Outdated Articles
System

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 13


REQ: Creating actors

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 14


REQ: Creating user tasks

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 15


SuperMarket: Identifying Use Cases

Manager Monitor Inventory Report

Check for Outdated Articles Check One Article


System

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 16


REQ: Creating Use Cases

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 17


SuperMarket: Refining Use Cases

Customer Purchase Articles

Purchase Articles

Identify Articles Check One Article Pay For Articles

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 18


REQ: Relationships among use
cases

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 19


SuperMarket: Identifying Exceptions

Bill is paid already

Money does not


<<extends>> correspond to bill

<<extends>>

<<extends>> Articles left on


conveyor belt
Pay For Articles

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 20


REQ: Describing
exceptions

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 21


SuperMarket: Specifying constraints

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 22


QOC Asking questions (1)

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 23


QOC: Asking questions (2)

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 24


QOC: Resolving questions

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 25


REQ: Exporting the requirements specification

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 26


Summary
♦ Requirements elicitation focuses on defining the system from the
user’s point of view.
♦ RE is a collaborative activity.

♦ REQ/QOC is a tool for supporting RE and collaboration:


w Definition of requirements specification
w questions about the requirements elements
w Discussion, negotiation, and resolution of questions
w Finding out what others have done
♦ More about QOC in 2 weeks.
♦ STARS deadlines
w RAD v.1 17.11
w RAD v.2 24.11

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 27


Credits

Definition & Realization of REQ/QOC:


♦ Daniela Ahlisch, Kagan Aksit, Allen Dutoit, Barbara Paech

Testing and Feedback


♦ Andreas Braun, Bernd Brügge, Günter Teubner

Allen Dutoit & Barbara Paech REQ/QOC Tutorial 28

You might also like