Exam prep Flashcards
Traceability
Track progress to demonstrate the delivery of requirements and reconstruct steps taken, such as in response to changes.
Can use documentation, and agile practises. TDD and user stories contribute to traceability by recording code and user requirements changes.
Business rule
Constraints on the operation of the business, not necessarily related to the system. E.g. policy
Business process
Activities or responsibilities of the business which may translate to the proposed system.
Validation
The right thing is being built.
The process of checking what has been implemented is satisfiable and meets the proposed requirements.
Not to be confused with verification - checking the system is correct and relevant to the business rules.
Verification
The process of checking if the system is correct and relevant to the specification and business rules.
Singleton pattern
Where only one instance of a class is desired.
E.g. a UI component where multiple objects communicate with a single UI instance, or a main system coordination class. Multiple instances could lead to problems from objects in different states leading to unwanted behaviour.
Adapter pattern
Where multiple components with different interfaces must interact.
The Adapter provides a common interface which bridges communication between the Classes through an Adapter class. This avoids incompatibility, with the Adapter acting as the mediator which supplies the interface.
Service Oriented Architecture (SOA)
Independently designed services which can be integrated, tested and changed without affecting the core system, as they are not tightly coupled.
Often based around microservices which use web protocols like HTTP to serve external resources, e.g. a REST API.
Main benefit of services
Saves development time and increases flexibility compared to working within the constraints of a monolithic architecture, where each change could have a large impact on the whole system.
Difference between services and components
Whereas a component must be attached to the existing system and may require an adapter, a service is an independent external resource often based around web protocols, e.g. a REST API. This avoids the problems of compatibility.
Actors
The main roles in the proposed system. Not simply a list of classes. Actors utilise or interact with the system in some way and are directly involved in the business processes.
e.g. Staff, Customer, Administrator, User (generalisation)
Use case success criteria
Walkthrough of the steps to a successful outcome. Lists the activities in the correct order of completion, similar to an activity diagram.
Can include addition extensions, such as alternate branching steps in the walkthrough.
Functional requirements
Things the system must do. The core tasks regardless of constraints on how they are achieved (non-functional).
Should not be statements about the properties or quality of a system (non-functional). Derived from requirements elicitation, business domain, user stories etc.
e.g. “The system shall accept a credit card number from the client.”
Non-functional requirements
Qualities of the system and constraints on the functional requirements.
Typically organised by category:
- Look-and-feel; design and appearance
- Usability and humanity; ease-of-use and accessibility
- Performance; speed, accuracy, reliability
- Operational and environment; conditions the product must function under (e.g. under water, outdoors, 24/7)
- Maintainability and support; changes, updates, time allowed
- Cultural; special considerations for the users of the product
- Legal; laws, standards and regulations which apply
- Security; how secure the system is, confidentiality, protections
Fit criteria
A condition or measurement which can be used to objectively test if the requirement has been satisfied.
For functional requirements this should be a true/false condition; e.g. “The user has been registered with an account.”
For non-functional requirements it should include a measurement; e.g. “90% of experienced customers should take no more than 30 seconds to make a withdrawal”, “The system shall function correctly up to 48hrs at a time.”