2 Process & Requirements , Architecture Evaluation , Quality attribute scenarios

  1. Give examples of a business driver of a system. Also say what is it in general?
    A business driver is a resource, process or condition that is vital for the continued success and growth of a business.

    • Maintainability.
    • Example: A car system should be able to not have any software failures for at least two years since deployment.
  2. Give examples of a requirement of a system.
    Functional requirement of a booking system; The system shall be able to provide the user with all the available tickets that are ready for booking.
  3. Modern software development processes mostly work according to iterative and incremental stages (such as for example 'sprints’ in Agile).

    Explain how the use of software architecture helps or hinders in dealing with such continuous changes in requirements.
    • Fully completing the architecture before building the project will not work as well with more iterative and agile styles of development as they don't allow they developers enough flexibility to let the arch evolve with the system, this is the trade-off that has to be balanced.
    • To solve this one can initially decide on a arch vision to guide decisions but let the real architectural decisions evolve with each iteration.
  4. Developers from different locations do not meet each other often. Explain how a shared software architecture design would help such teams in being more effective in their software development.
    • For remote teams it critical to have a good software architecture as this will both align the teams vision of the project and their understanding of who will do what and in what way it will be done and why.
    • Without a good software architecture miscommunication that could cost the project both time and money is much more likely.
  5. Given a web-based system for tax return. In this system, users will correct/change or add information related to their personal economy in order to compute how much tax they have to pay or they get refunded from the state.

    (a) Create one relevant quality attribute scenario on security for the system described above.
    • Source:
    • External attacker

    • Stimulus:
    • Wants to display users confidential info

    • Artifact:
    • System data

    • Environment:
    • Normal operation

    • Response:
    • Attacker fails as system require 2fa that he cant get correct, account is locked, real user user is notified via email.

    Response Measure: No account info is leaked and the real user is notified via email.
  6. Given a web-based system for tax return. In this system, users will correct/change or add information related to their personal economy in order to compute how much tax they have to pay or they get refunded from the state.


    (c) Create one relevant quality attribute scenario on performance for the system described above.
    • Source:
    • End user

    • Stimulus:
    • User wants to calculate tax

    • Artifact:
    • System , calculator

    • Environment:
    • Normal usage

    • Response:
    • System calculates return based on previously imputed data.

    Response Measure: Calculation should not take longer then 2 seconds 99.9% of the calculations.
  7. Given a web-based system for tax return. In this system, users will correct/change or add information related to their personal economy in order to compute how much tax they have to pay or they get refunded from the state.


    (d) Create one relevant quality attribute scenario on interoperability for the system described above.
    Source: Tax return system


    • Stimulus:
    • Wants to confirm a customer bank account


    • Artifact:
    • Nordea Bank System

    • Environment:
    • Other system known prior

    • Response:
    • Tax return system sends nordea user account info and expects account info in return

    • Response Measure:
    • Should not fail more than 99.9% of the time.
  8. Given a web-based system for tax return. In this system, users will correct/change or add information related to their personal economy in order to compute how much tax they have to pay or they get refunded from the state.


    (b) Create one relevant quality attribute scenario on modifiable for the system described above.
    • Source:
    • Developer

    • Stimulus:
    • Update formula for tax return

    • Artifact:
    • Platform

    • Environment:
    • Build time


    • Response: Locates places in architecture to be modified;
    • makes modification without affecting other functionality;
    • tests modification;
    • deploys modification.

    Response Measure: Website calculation formula and rest of website works as intended.
  9. QUALITY ATTRIBUTE SCENARIOS.
    describe all 6 parts
    Image Upload 2

    Source of stimulus. This is some entity (a human, a computer system, or any other actuator) that generated the stimulus.

    Stimulus. The stimulus is a condition that needs to be considered when it arrives at a system.

    Environment. The stimulus occurs within certain conditions. The system may be in an overload condition or may be running when the stimulus occurs, or some other condition may be true.

    Artifact. Some artifact is stimulated. This may be the whole system or some pieces of it.

    Response. The response is the activity undertaken after the arrival of the stimulus.

    Response measure. When the response occurs, it should be measurable in some fashion so that the requirement can be tested.
  10. Availability General Scenarios
    Image Upload 4
  11. Performance General Scenarios
    Image Upload 6
  12. Security General Scenarios
    Image Upload 8
  13. TESTABILITY General Scenarios
    Image Upload 10
  14. USABILITY General Scenarios
    Image Upload 12
  15. As an example system in this question, consider a system for booking flight-tickets.
    Mention 3 benefits of performing an Architecture Evaluation.
    To make sure the system satisfies the stakeholders needs.Are we building the right things using good solutions and do we have the resources to implement the architecture?

    To validate the systems resuability and maintainability. This can be evaluated to know for sure if it system satisfies the standards set for the project. 


    An early overall evaluation of the architecture could allow us to find flaws in the architecture which would save time and money though not building the right things the right way and discover this at a later point and from there have to re-do.
  16. What is the purpose of a quality attribute scenario?
    Everyone is going to say the system must be secure — whatever that means.

    Qa´s solved this by specifying what secure means with a clear example an how we can measure the systems effectiveness in achieving the quality standard.
  17. Describe all parts of a quality attribute scenario and what the parts mean.
    Source of Stimulus: An entity capable of creating stimulus (internal or external people, a computer system, etc).


    Stimulus: What is the source doing that will let us this this attribute´s fulfillment?

    Environment: The environment where the stimulus occurs. For instance, the system may be running in normal conditions, under heavy traffic, or with a high latency or any relevant state.

    Artifact: The part that receives the stimulus. This can be a component of the system, the whole system, or several systems.

    Response: The is the response of the artifact that makes sure we fulfill the quality in question for this scenario.

    Response Measure: This is the measure that should be tested for the response to test if the requirement is well implemented.
Author
ccc
ID
348979
Card Set
2 Process & Requirements , Architecture Evaluation , Quality attribute scenarios
Description
Q2 Process & Requirements , Architecture Evaluation , Quality attribute scenarios
Updated