Unit 3 Flashcards
What is meant by a business rule?
Business rules constrain how a business is run. They are not specific to any project but they influence each project’s development – they typically include policies, physical laws, government laws, etc. Business rules reflect the way the business works, independently of any new system being introduced in that business domain.
What is meant by verification?
Verification is the set of activities that ensure that a solution is being correctly developed, in this case that it is taking into account the business rules.
What is meant by validation?
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 important properties that a representation of business rules should have?
The important properties are as follows:
- Business rules that apply to the whole business should be represented separately from project specific models.
- They should be easy to verify (possibly automatically) and validate.
- They should be represented in a readable language that is easy to verify.
Consider whether business rules can be modelled in UML. What are the possible limitations of UML?
UML can support the specification of business rules either as annotations to the models or in a more formal way through OCL. However UML and OCL do not provide a separate explicit notation for business rules. As a consequence, it does not:
- facilitate documentation of the rules independently of other models
- facilitate their analysis, validation and change
- facilitate their traceability from the business needs to the software solution.
What is meant by a business process?
Definition of what gets done in the business: by whom, in what order, needing which resources and with what consequences.
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.
Give one reason for 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 UML activity diagram?
An activity diagram shows a process as a set of activities and describes how they must be coordinated – which ones depend on others having been completed first and where activities can be carried out in parallel.
When would you use a decision node in an activity diagram?
In an activity diagram a node that is used to indicate alternative transitions that can be made when leaving an activity; it is represented by a diamond shape. A decision node has a single incoming transition; the guards on outgoing transitions are mutually exclusive.
What is meant by a guard?
A condition that must be satisfied in order to enable an associated transition to fire within a state machine or activity diagram.
When, in an activity diagram would you use a merge node?
In an activity diagram, this is a node that brings together multiple alternative flows; represented by a diamond shape; a merge node has a single outgoing transition.
What is meant by an ‘actor’ within UML?
UML employs the term actor to identify a user of a system. An actor can also be an external software system or subsystem that will interact with the proposed system.
What is a use case?
A use case is something that an actor needs to do with the help of a software system; it may relate to a business process of the domain that will be now carried out with the software system or it may represent a new process. It should lead to a result that brings some observable value to that actor.
What is a use case diagram?
A diagram that shows a set of use cases and actors and their associations.
What are the purposes of a use case diagram?
The main purpose of use cases is to help with the requirements phase. Detailed software requirements can follow from a description of a use case.
Use cases define the scope of a system, as they represent the interaction of a system with its environment.
They also help with project planning and quality assurance.
Furthermore, they act as a discussion tool between developer and user, and offer a common language for agreeing on the functions of the software system.