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?
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?
What is the main success scenario?
The main success scenario shows the steps normally followed to achieve the stated goal of the use case, however there can be other scenarios for the same use case, each one having different outcomes depending upon circumstances.
What is acceptance testing?
Acceptance testing consists of a series of tests carried out by the customer in conjunction with the developer. These act as a final check that the system does what the customer expects it to.
What are the 4 benefits of use cases to the developer?
Use cases help the developer to:
How can use cases be used in an agile approach?
What is the purpose of identifying relationships between actors?
The purpose of identifying relationships between actors is to indicate generalisations and establish which use cases can be performed by which actors.
What are the two forms of relationship between use cases?
What are the 2 different ways to reduce the complexity of a use case diagram?
What is a UML stereotype?
A stereotype is a way of attaching extra classifications to a model adding to its basic language.
What is the meaning of the << include >> stereotype?
The << include >> stereotype indicates a situation where a use case is reused.
The purpose is to demonstrate commonality between tasks so that reuse can be achieved.
The additional use case is included unconditionally in the original (base) use case.