cs3205: identifying needs and establishing...

29
CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book Chapter “Establishing Requirements,” Ch. 10 (Ch. 9 in course eBook) 2) Chapter 2 from Task-Centered User Interface Design, http://hcibib.org/tcuid/chap-2.html

Upload: votuong

Post on 11-Mar-2018

221 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

CS3205:Identifying needs and establishing requirements

Readings:

1) ID-Book Chapter “Establishing Requirements,”Ch. 10 (Ch. 9 in course eBook)

2) Chapter 2 from Task-Centered UserInterface Design, http://hcibib.org/tcuid/chap-2.html

Page 2: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Overview•The importance of requirements

•Different types of requirements

•Data gathering

•How to describe: Scenarios

Use Cases

Essential use cases

HTA

Page 3: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

What, how and why?•What

Two aims: 1. Understand as much as possible about users, task, context2. Produce a stable set of requirements

•How:Data gathering activitiesData analysis activitiesExpression of ‘requirements’All of this is iterative

Page 4: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

What, how and why?

•Why:Requirements definition: the stage where failure occurs most commonlyGetting requirements right is crucial

Page 5: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

But of course…

Page 6: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Establishing requirements• What do users want? What do users ‘need’?

Requirements need clarification, refinement, completion, re-scopingInput: requirements document (maybe) Output: stable requirements

• Why ‘establish’?Requirements arise from understanding users’needsRequirements can be justified & related to data

Page 7: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Eliciting Requirements

• Another commonly used term:Requirements elicitation

• What’s this mean to you?

Page 8: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Different kinds of requirements• Functional:

—Operations that the system should do—Historically the main focus of requirements activities

•Non-functional:•memory size, response time…•Also usability!

• Data:—What kinds of data need to be stored?—How will they be stored (e.g. database)?

Page 9: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Different kinds of requirements•Environment or context of use:

—physical: dusty? noisy? vibration? light? heat? humidity? …. (e.g. jet fighter cockpit, ATM)—social: sharing of files, of displays, in paper, across great distances, work individually, privacy for clients—organisational: hierarchy, IT department’s attitude and remit, user support, communications structure and infrastructure, availability of training

Page 10: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Different kinds of requirements• User requirements: Who are the users?

—Characteristics: ability, background, attitude to computers—System use: novice, expert, casual, frequent—Novice: step-by-step (prompted), constrained, clear information—Expert: flexibility, access/power—Frequent: short cuts—Casual/infrequent: clear instructions, e.g. menu paths

Page 11: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Different kinds of requirements

•Usability requirements: learnability, efficiency, flexibility, aesthetics, satisfaction, …

Note that user requirements and usability requirements refer to different things

Page 12: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

User Persona• Prepare a user persona for each user role

– From Alan Cooper’s book, The Inmates Are Running the Asylum

• A description of a archetypical, hypothetical, imaginary user– Description should focus on the behaviors and

goals related to the specific domain of a product• What is this person’s end goals for using the product?

• See Example in ID-book (p. 484-485)

Page 13: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Persona Example

Patricia is an English professor who has written several books of poetry. She has been using computers for word-processing since 1980, although the only two programs she’s used are Nota Bene and Microsoft Word. She doesn’t want to spend time learning details of how a computer works, and tends to store all her files in whatever directory they’d go in if you didn’t know about directories. (From Spolsky.)

Page 14: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

How Personas Can Be Useful• Descriptions should help identify

– workflow and behavior patterns– goals– environment– attitudes

From multiple user points of view!• Can help in

– conceptual models– defining usability requirements– prioritizing (or cutting) features– evaluating alternatives

• Will make engineers more user-focused

Page 15: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

How To “Get” Requirements

• Where do they come from?• How do you get them from

stakeholders? Future/potential users?

• Following slides: ideas on “data gathering” techniques

Page 16: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Data gathering techniques (1)•Questionnaires:

—A series of questions designed to elicit specific information

—Questions may require different kinds of answers: simple YES/NO; choice of pre-supplied answers; comment

—Often used in conjunction with other techniques

—Can give quantitative or qualitative data—Good for answering specific questions from

a large, dispersed group of people

Page 17: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Data gathering techniques (2)•Interviews:

—Forum for talking to people

—Structured, unstructured or semi-structured

—Props, e.g. sample scenarios of use, prototypes, can be used in interviews

—Good for exploring issues

—But are time consuming and may be infeasible to visit everyone

Page 18: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Data gathering techniques (3)•Workshops or focus groups:

—Group interviews —Good at gaining a consensus view and/or

highlighting areas of conflict

Page 19: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

But of course…

Page 20: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Data gathering techniques (4)•Naturalistic observation:

—Spend time with stakeholders in their day-to-day tasks, observing work as it happens

—Gain insights into stakeholders’ tasks —Good for understanding the nature and

context of the tasks—But, it requires time and commitment

from a member of the design team, and it can result in a huge amount of data

—Ethnography is one form

Page 21: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Data gathering techniques (5)•Studying documentation:

—Procedures and rules are often written down in manuals

—Good source of data about the steps involved in an activity, and any regulations governing a task

—Not to be used in isolation—Good for understanding legislation, and

getting background information—No stakeholder time, which is a limiting

factor on the other techniques

Page 22: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Choosing between techniquesData gathering techniques differ in two ways:

1. Amount of time, level of detail and risk associated with the findings

2. Knowledge the analyst requires

The choice of technique is also affected by the kind of task to be studied:

—Sequential steps or overlapping series of subtasks?—High or low, complex or simple information?—Task for a layman or a skilled practitioner?

Page 23: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Problems with data gathering (1)•Identifying and involving stakeholders:users, managers, developers, customer reps?, union reps?, shareholders?•Involving stakeholders: workshops, interviews, workplace studies, co-opt stakeholders onto the development team•‘Real’ users, not managers:traditionally a problem in software engineering, but better now

Page 24: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Problems with data gathering (2)•Requirements management: version control, ownership•Communication between parties:

—within development team—with customer/user—between users… different parts of an organisation use different terminology

•Domain knowledge distributed and implicit:—difficult to dig up and understand—knowledge articulation: how do you walk?

•Availability of key people

Page 25: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Problems with data gathering (3)

•Political problems within the organisation

•Dominance of certain stakeholders

•Economic and business environment changes

•Balancing functional and usability demands

Page 26: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Some basic guidelines•Focus on identifying the stakeholders’ needs•Involve all the stakeholder groups •Involve more than one representative from each stakeholder group •Use a combination of data gathering techniques

Page 27: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Some basic guidelines• Support the process with props such as

prototypes and task descriptions• Run a pilot session• You will need to compromise on the data you

collect and the analysis to be done, but before you can make sensible compromises, you need to know what you’d really like

• Consider carefully how to record the data

Page 28: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book
Page 29: CS3205: Identifying needs and establishing requirementshorton/cs3205/cs3205-4-user-req-analysis1-s17.… · CS3205: Identifying needs and establishing requirements Readings: 1) ID-Book

Summary

• In these slides:–Types of requirements–Personas–How to get information

• Coming next:–Task analysis–Describing Tasks