Scenario (computing)

Short description: Description of foreseeable interactions between users and a technical system

Software development

Core activities

* Processes
* Requirements
* Design
* Engineering
* Construction
* Testing
* Debugging
* Deployment
* Maintenance

Paradigms and models

* Agile
* Cleanroom
* Incremental
* Prototyping
* Spiral
* V model
* Waterfall

Methodologies and frameworks

* ASD
* DevOps
* DAD
* DSDM
* FDD
* IID
* Kanban
* Lean SD
* LeSS
* MDD
* MSF
* PSP
* RAD
* RUP
* SAFe
* Scrum
* SEMAT
* TSP
* UP
* XP

Supporting disciplines

* Configuration management
* Documentation
* Software quality assurance (SQA)
* Project management
* User experience

Practices

* ATDD
* BDD
* CCO
* CI
* CD
* DDD
* PP
* SBE
* Stand-up
* TDD

Tools

* Compiler
* Debugger
* Profiler
* GUI designer
* Modeling
* IDE
* Build automation
* Release automation
* Infrastructure as code
* Testing

Standards and Bodies of Knowledge

* BABOK
* CMMI
* IEEE standards
* ISO 9001
* ISO/IEC standards
* PMBOK
* SWEBOK
* ITIL

Glossaries

* Artificial intelligence
* Computer science
* Electrical and electronics engineering

* v
* t
* e

In computing, a scenario (UK: /sɪˈnɑːrioʊ/, US: /səˈnɛərioʊ/; loaned from it scenario (pronounced [ʃeˈnaːrjo]), from la scena 'scene'[1]) is a narrative of foreseeable interactions of user roles (known in the Unified Modeling Language as 'actors') and the technical system, which usually includes computer hardware and software.

A scenario has a goal, which is usually functional. A scenario describes one way that a system is used, or is envisaged to be used, in the context of an activity in a defined time-frame. The time-frame for a scenario could be (for example) a single transaction; a business operation; a day or other period; or the whole operational life of a system. Similarly the scope of a scenario could be (for example) a single system or a piece of equipment; an equipped team or a department; or an entire organization.

Scenarios are frequently used as part of the system development process. They are typically produced by usability or marketing specialists, often working in concert with end users and developers. Scenarios are written in plain language, with minimal technical details, so that stakeholders (designers, usability specialists, programmers, engineers, managers, marketing specialists, etc.) can have a common ground to focus their discussions.

Increasingly, scenarios are used directly to define the wanted behaviour of software: replacing or supplementing traditional functional requirements. Scenarios are often defined in use cases, which document alternative and overlapping ways of reaching a goal.[2]

## Contents

* 1 Types of scenario in system development
* 2 Uses in system development
* 3 In differing styles of system development
* 4 See also
* 5 References
* 6 Bibliography
* 7 External links

## Types of scenario in system development

Many types of scenario are in use in system development. Alexander and Maiden[3] list the following types:

* Story: "a narrated description of a causally connected sequence of events, or of actions taken".[3] : 8–10 Brief User stories are written in the Agile style of software development.[4]
* Situation, Alternative World: "a projected future situation or snapshot". This meaning is common in planning, but less usual in software development.[3] : 10
* Simulation: use of models to explore and animate 'Stories' or 'Situations', to "give precise answers about whether such a scenario could be realized with any plausible design" or "to evaluate the implications of alternative possible worlds or situations".[3] : 10–11
* Storyboard: a drawing, or a sequence of drawings, used to describe a user interface or to tell a story. This meaning is common in Human–computer interaction to define what a user will see on a screen.[3] : 12
* Sequence: a list of interactive steps taken by human or machine agents playing system roles. The many forms of scenario written as sequences of steps include Operational Scenarios, Concepts of Operations, and Test Cases.[3] : 12–14
* Structure: any more elaborately-structured representation of a scenario, including Flowcharts, UML/ITU 'Sequence Charts', and especially in software development Use cases.[3] : 14–17

Negative scenarios or misuse cases may be written to indicate likely threats which should be countered to ensure that systems have sufficient security, safety, and reliability. These help to discover non-functional requirements.[5]

## Uses in system development

Scenarios have numerous possible applications in system development. Carroll (1995) lists 10 different "roles of scenarios in the system development lifecycle":[6]

1. Requirements analysis: scenarios describe the "state-of-the-art" (often called "as-is"); acted scenarios help to discover requirements as analysts "stage a simulated work situation".
2. User-designer communication: users contribute scenarios important to them, or situations they want to experience or avoid.[6]
3. Design rationale: rationale can explain design "with respect to particular scenarios of user interaction".[6]
4. Envisionment: scenarios "can be a medium for working out what a system being designed should look like and do." In this role, scenarios can be "graphical mockups such as storyboards or video-based simulations", and may form early prototypes of the system under design.[6]
5. Software design: "scenarios can be analyzed to identify the central problem domain objects" needed; the same scenarios can be developed to describe the objects' state, behavior and interactions.[6]
6. Implementation: software can be built one scenario at a time, helping "to keep developers focused" and "producing code that is more generally useful".[6]

Further information: Use case and Software development process

7. Documentation and Training: "scenarios of interaction that are meaningful to the users" can bridge the gap between the system as built "and the tasks that users want to accomplish using it".[6]
8. Evaluation and testing: since "a system must be evaluated against the specific user tasks it is intended to support", scenarios are ideal for evaluation.[6]
9. Abstraction: general rules that apply across different tasks (or systems) can be identified by comparing scenarios.[6]
10. Team building: "a set of touchstone stories is an important cohesive element in any social system".[6]

## In differing styles of system development

The choice of scenario representation varies widely with style of development, which is related to the industrial context.

Scenarios in differing project contexts  Project context | Example | Scenario style | Development style

|
|
|

Large military project | Fighter aircraft | Operational View, Concept of operations | Staged life-cycles, thorough documentation (see DoDAF)
Combined Hardware/Software product | Car | Use case[7] | RUP
Business software | Mobile phone application | User story[4] | Agile software development

## See also

* Happy path
* Scenario testing
* Strategic assumptions
* Computer supported brainstorming

## References

1. ↑ etymonline.com
2. ↑ Alexander and Beus-Dukic, 2009. Page 120
3. ↑ 3.0 3.1 3.2 3.3 3.4 3.5 3.6 Alexander and Maiden, 2004. Chapter 1.
4. ↑ 4.0 4.1 Cohn, 2004.
5. ↑ Alexander and Maiden, 2004. Chapter 7.
6. ↑ 6.00 6.01 6.02 6.03 6.04 6.05 6.06 6.07 6.08 6.09 Carroll, 1995. Pages 7-8
7. ↑ Cockburn, 2011.

## Bibliography

* Alexander, Ian and Beus-Dukic, Ljerka. Discovering Requirements: How to Specify Products and Services. Wiley, 2009.
* Alexander, Ian F. and Maiden, Neil. Scenarios, Stories, Use Cases. Wiley, 2004.
* Carroll, John M. (ed) Making Use: Scenario-based Design of Human-Computer Interactions. MIT Press, 2000.
* Carroll, John M. (ed) Scenario-Based Design: Envisioning Work and Technology in System Development. Wiley, 1995.
* Cockburn, Alistair. Writing Effective Use Cases. Addison-Wesley, 2001.
* Cohn, Mike. User Stories Applied: for Agile Software Development. Addison-Wesley, 2004.
* Fowler, Martin. UML Distilled. 3rd Edition. Addison-Wesley, 2004.

## External links

* Notes on Design Practice: Stories and Prototypes as Catalysts for Communication. by Thomas Erickson, in Carroll, 1995.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Scenario (computing). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Scenario_(computing)&oldid=233594"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template