Unit 3 Flashcards
What is the difference between verification and validation?
Verification is the set of activities that ensure a solution is being correctly developed, i.e. that it is taking into account the business rules.
Validation ensures that what is being built satisfies the business, i.e. that the business rules implemented are the ones that the business wants.
What are the 3 important properties that a representation of business rules should have?
- Business rules that apply to the whole business should be represented separately from project specific models
- Business rules should be easy to verify (possibly automatically) and validate
- Business rules should be represented in a readable language that is easy to verify
What are business rules?
Business rules constrain how a business is run and typically include policies, physical lawas, government laws, etc.
What are business processes?
Business processes define what is done in a business, by whom, in what order, needing what resources, and with what consequences. They can be modelled using UML activity diagrams.
What causes a transition in an activity diagram?
A transition in an activity diagram is caused by the completion of an activity.
What is a synchronisation bar, and when is one used in an activity diagram?
A synchronisation bar is used to mark the point when two or more activities can take place concurrently (a fork) or when a number of concurrent tasks must finish before continuing to the next activity (a join).
How does the partitioning of activities into swimlanes help us understand a set of activities?
Swimlanes group activities associated with different roles. The swimlanes show the role that is responsible for each activity.
What is the purpose of modelling a workflow in an activity diagram?
Activity diagrams represent the sequence of activities. When you are modelling a workflow that involves more than one role, it is possible to identify which role is responsible for a particular activity. An activity diagram can help identify the stages at which each role requires some interaction with the process.
What is a use case diagram?
A use case diagram in UML is one way to record and communicate your understanding of the use case view of a system.
What is the purpose of a system boundary?
The purpose of a system boundary is an optional element used to identify a single system, distinguishing between the internal and external components. Typically, the external components are the actors and the internal components are the use cases.
What do actors represent in a use case diagram?
An actor in a use case diagram represents a particular role that an individual might play when interacting with a software system. Actors can also represent other systems, rather than people/roles.
What is a precondition?
A precondition is a condition that must hold before an action can be performed.
i.e. What is needed for this operation to be allowed to start?
(b2, p85)
What is a postcondition?
A postcondition is a condition that must hold after an action has been performed.
i.e. What will have happened as a result of this operation?
(b2, p85)
What is a scenario?
A scenario illustrates one particular way the use case can unfold, by the sequence of interactions the actors have with the system. A scenario is an instance of a use case, similar to an object being an instance of a class.
I GASP
What 5 pieces of information should be included in a use case description?
- A unique identifier for the use case, to allow traceability throughout development
- The name of the actor that initiates the use case
- A short description of the goal of the use case
- A single sequence of steps that describe the main success scenario
- A textual description of the pre- and postconditions