Flashcards
TM354 Block 1 Units 1 & 2
Cards in this deck (121)
- 1What are the characteristics of a good software system?. Malleability. Software is easy to change (programmers are often tempted to
tweak their code). This malleability creates a constant pressure for
software to be changed rather than replaced. Every change introduces the
possibility of new errors.
. Complexity. Software is often complex. Complexity can usually be
recognised, but it is less easy to define. One item of software can be
considered more complex than another if it requires more explanation. Part
of that complexity arises from the potential variety of pathways between
the components of a system. The number of errors is likely to depend on
the complexity of a system.
. Size. It is likely that - 2For each of the three characteristics of software mentioned above, explain why errors might arise in a piece of developed software.Malleability. As change is easy to make, often changes are introduced
without thorough consideration of the full consequences of each new
change introduced.
Complexity. The more complex a piece of software becomes, the more
chances there are of a change affecting other parts of the software.
Size. The greater the number of lines of code in a piece of software, the
greater the number of likely errors. - 3What is the defining quality of a good software system, and what are its main characteristics?A good software system is one that meets its users’ needs. We can
characterise a good software system as useful, usable, reliable,
flexible, available and affordable - 4How might greater flexibility make a software system more affordable over its whole life?Users’ needs will change over time. The time taken to implement the
changes in requirements in a flexible system is less than for less
flexible software. As labour costs are the most significant component
of software costs, flexible software is more affordable. - 5Give two reasons why a delivered software system might not meet its users’ needs.Software systems are usually out of date even as they are being
developed because:
◦ some needs are often missed during requirements capture
◦ users’ needs change with time. - 68 Characteristics of legacy systemslegacy systems and typically have the following characteristics:
. old
. large
. developed using outdated techniques
. implemented with old programming languages
. critical to the business
. changed a number of times since their inception
. difficult to understand because of either a lack of documentation about
their internal structure or a lack of experience within the group responsible
for them
. difficult to maintain because of the above factors. - 7Suggest a means of measuring the maintainability of a software system.We could measure the effort required by a developer to locate and
implement a given change to a software system. That effort can be
classified in two components – the effort needed to locate and fix
errors (bugs), and the effort needed to adapt the software system to
meet its users’ needs. - 8What can we learn from legacy systems about developing a good software system?A legacy system may have started out with all the characteristics of a
good software system, yet those characteristics may have changed
over time, resulting in a less flexible and maintainable product. As
change is inevitable, the right processes should be in place to make
change happen in a more controlled way. This requires the adoption
of standards and documentation conventions that help decision
making on changes and how to introduce them. Any changes need to
be well documented so that software is still understandable and less
dependent on the people initially involved with developing and
maintaining the software - 9Suggest a reason why legacy systems will always be a problem.The inherent malleability of software makes it easy to change. You
have already seen that a legacy system is lacking in flexibility as a
result of the number of changes made to it during its operational
lifetime. (The analogy with metalworking through malleability is
useful. Once a blacksmith forms some component, usually in iron,
there is a limit to the number of times that it can be heated, formed
and cooled before that component becomes brittle and hence liable to
failure.)
This explains why our ability to bolt features and fixes onto a legacy
system means that it will eventually become too fragile, and it will become precarious to go any further. The staff issues mentioned in (b)
compound these problems. - 10What is heroic programmingThis is a long history of individuals attempting to develop more
complex systems – so-called heroic programming - 11Why might you consider splitting up a large project into smaller chunks?There is a limit to how much one person can understand at any one
time. So there is a limit to the size of a software system that any one
person can deal with. By splitting a large project into smaller
chunks, it is possible to identify a number of more manageable tasks
for those involved. - 12How does the complexity of a software system affect the maintenance task?It is essential to be able to make a change to a software system
without having to know all about that system. Each change becomes
difficult when the flow of control and dependencies within programs
are complex. The greater the number and nature of the dependencies,
the harder it is to maintain a software system. - 13What is a module?A module is any identifiable part of a software system that is
considered separately. For example, modules may be subroutines (in
a procedural language equivalent to methods), classes (in an objectoriented
language), library functions or other constructs that may be
treated independently. - 14Why does it help to have low coupling in a software system?With low coupling, there are few dependencies between modules.
Therefore changes made to one part (one or more modules) of a
software system are less likely to propagate throughout the whole
system. (A clear record of the dependencies between modules helps
you to predict the impact of a proposed change to a software
system.) - 15Give examples of the kinds of information that would be valuable when considering a change to a given module.◦ Which modules are clients of the module in question? This
information indicates how far a change may propagate
through the software system.
◦ What assumptions have been made in client modules of the
module in question? An understanding of the expected
services of a module will help assess the risks associated with
a particular change. - 16What are the context dependencies of a module? How do they relate to a module’s interface?The context dependencies for a module are the services of other
modules that the module needs in order to work correctly. You can
express the context dependencies for a module in terms of other
interfaces. In effect, you can express the responsibilities of a module
in terms of its interface and context dependencies. If the context
provides the services that the module needs and clients meet any
conditions specified in the interface, the module can guarantee the
provision of the services described in its interface. - 17What are the benefits of using modules with defined interfaces?The benefits are as follows:
◦ Developers will need to know only about the module’s
interface (its syntax and what it requires and achieves – its
semantics), not how it provides those services. Consequently
developers can be more productive.
◦ Developers can understand aspects of the software system
more thoroughly, so fewer bugs will be introduced.
◦ It should be easier to find bugs, as irrelevant modules are
avoided.
◦ The possibility of module reuse is increased once it is known
what that module provides and requires. - 18Why does it help to have high cohesion in the modules of a software system?With high cohesion, a module carries out a sensible set of operations
or activities. Ideally high cohesion implies just one major abstraction
per module. The interface abstracts away from what a developer
must know in order to use a module. This makes it easier for
developers to understand the purpose of the module and how to use
it. In addition high cohesion tends to make a module more reusable
in other applications, because it provides a set of operations that sit
naturally together. - 19What characteristics should a module display that will help to ensure that it is easy and cheap to develop and maintain, and that errors are kept to a minimum?A module should have low coupling and high cohesion, represent a
good abstraction, and have a well-defined interface that is an
encapsulated abstraction of a well-understood concept. - 20Why is it important to achieve a balance between coupling and cohesion?In constructing a system, you may have a choice between a smaller
set of loosely coupled, less cohesive modules, or a larger set of
tightly coupled, more cohesive modules. In the former case each
module may be difficult to understand, while in the latter case the
relationships between them may be over-complex. You need to strike
an appropriate balance - 21What is the Architecture of a system?The software architecture of a system is the set of structures needed to
reason about the system, which comprise software elements, relations among
them, and properties of both. - 22Suggest some similarities and differences between software architecture and building architectureThey are both abstractions of the structure of a system. They represent
decisions that will affect concerns of different stakeholders. They are used
as a communication vehicle with different stakeholders.
Changing a building once complete is expensive, whereas changing details
or internal decoration is quite cheap but may incur costs in wastage in materials. Software has different properties from building components, in
particular its malleability and complexity. Reworking the whole architecture
of a software system is also expensive because of the complexity involved
– making internal changes does not incur costs in wastage of materials, as
software is malleable, but it incurs other costs in terms of time and work
invested. - 23List the elements of a 3 layered architecture1) Presentation Layer
2) Appliation Domain
3) Infrastructure (os, db) - 24Define a componentWe use the term component to denote a unit of reuse or replacement in a
software system. A component could be a module or class with certain
properties that make it reusable or replaceable in a given software architecture
and it may depend on other components. Components are well understood,
each with its own interface and context dependencies - 25Define a seriviceA service is also a unit of reuse
corresponding to a piece of functionality, described in a standard language,
with published interfaces through which the service execution can be
requested. A service, however, is technology-neutral in the sense that it can be
invoked using standard communication protocols, while a component is
usually technology-dependent as a client needs to use the same technology as
the component.
A service is also discoverable, meaning that it can be used by clients
independently of where it is located – service repositories can be accessed to
locate services according to their definitions. A service-oriented architecture
(SOA) structures software as a set of services. - 26Components tend to relate to <> , while services relate to <> .entities, processes
- 27What are the characteristics of a component?A component is a module that is considered to be a sufficiently good
abstraction for the problem in hand. A component should be capable
of being reused in future projects having the same software
architecture, or being easily replaced at a later date within the
existing software system. As with all modules, a good component
has a well-defined interface and is an encapsulated abstraction of a
well-understood concept, with strong cohesion and low coupling. - 28How does the concept of an architecture contribute to component reuse?The architecture of a software system embodies high-level decisions
about the overall structure of the system, and this architecture may
apply to more than one system. - 29Which form of decomposition might be used in a software architecture?The basic form of decomposition used in a software architecture is
partitioning to meet a number of separate concerns, each concern
being addressed by a subsystem. For example, you might want to
separate the user interface layer from the core business services
layer, or you may decide to build or reuse components and/or
services for some of the partitions - 30What are the similarities and differences between components and services?There are similarities between a service and a component. They both
promote reuse and flexibility. They both use public interfaces to
allow requesters to make use of their functionality without relying on
their implementation.
There are differences too. A component is usually implemented in a
specific object-oriented technology, therefore only clients compliant
with that technology can easily communicate and integrate with it. In
contrast, a service uses communication standards that allow the
interoperation of diverse technologies.
Finally, components tend to be associated with business entities, while
services tend to be associated to business processes – they may realise
part or the whole of the functions within such a process and may
involve several business entities. Be aware that although this is a
widely accepted classification, not everyone follows it, and you may
see components called services and vice versa. - 31Software development has a great deal in common with the discipline of engineering, from which the term software engineering arose, and is said to be:1 The application of a systematic, disciplined, quantifiable approach to the
development, operation, and maintenance of software; that is, the
application of engineering to software.
2 The study of approaches as in (1). - 32ngineering for software development is also associated with a few other factors:1 Developers are concerned with meeting a set of requirements – there is
usually an identifiable problem that they can solve.
2 There is a defined process that can be used to produce a solution and,
within that process, there are a number of identifiable phases or activities.
3 There are tasks to be done in each phase that result in one, or possibly
more than one, artefact related to the final product (software, hardware or
document). Developers undertake different roles to perform such tasks
(designer, programmer, tester and so on).
4 The quality of both the products and the processes by which they are made
is important: the right product is being built (validation), the product is
built in the right way (verification), and the product is behaving as
expected (testing).
5 There are tools to improve the effectiveness and efficiency of the tasks
performed by developers in their various roles.6 There is a body of knowledge that developers might use and/or add to.
There are ways of working to support the previous five factors (such as
standards and rules for decomposition - 33Give the characteristics of an engineering approach that support the argument that software development is an engineering discipline.. it is concerned with meeting a set of requirements that are defined as
clearly as possible
. it uses a defined process with clear activities, each of which has at
least one identifiable end product
. developers can apply their skills and experience to the tasks
demanded of them
. validation and verification are regarded to be as essential as building
the software itself
. it makes sensible use of tools and standards
. it follows a code of practice. - 34Typical technical activities for the development of software (5)Domain Modelling
Requirements
Design
Implementation
Testing - 35Define IntegrationBreak up problems into smaller, more manageable
chunks, and deal with each one separately. It will then be necessary to bring
the chunks together into a unified whole. This process is known as
integration - 36What 5 activities represent the Waterfall Modelthe five activities of requirements,
design, implementation, testing and maintenance into a single sequence, you
have the classic waterfall model. - 37Draw the iterative development process (p37 Block 1)
- 38What is a development process?A development process is a set of rules that defines how a software
development project should be carried out. It incorporates a number
of activities, and a process model (or life cycle) that indicates how
these activities are ordered. - 39What should the role of project management be with respect to the deliverables of a development project?A good software system must be affordable and available within an
appropriate timeframe. Each deliverable uses resources, such as
developers’ time, that add to its cost. Project management involves
the identification of the appropriate deliverables for a given set of
requirements and controlling the cost of producing them. Project
management also involves ensuring that deliverables are produced on
time and taking steps to cope with any delays. - 40What is the difference between a customer and a user?A customer is the person who pays for a software system, whereas a
user is someone who will use that system on a day-to-day basis. A
customer will also be a user when the proposed software system is
intended to support their job. - 41Suggest a reason why maintenance is a core activity in the development of a good software systemMaintenance allows a software system to evolve over its operational
lifetime so that it continues to be useful. - 42What additional task is needed when the development of a software system is partitioned into a number of increments?A task devoted to the integration of the increments to form the final
software system will be needed. - 43What are the assumptions on which the waterfall model is based?There is an assumption that once a particular activity or phase is
finished, it is not re-entered, and that the activities do not overlap but
follow each other in a sequential life cycle. There is no need for
reviewing or reworking. All this presupposes that an end point for
each activity can be identified. - 44Scrum events include (3). the sprint – a development phase, no longer than a month, that has as a
deliverable a useable working increment
. the sprint planning meeting – lasts no more than eight hours
. the daily scrum – a daily meeting, no longer than 15 minutes, looking at
what has been done and planning the work for the next 24 hours. - 45There are four steps that are repeated with each iteration of the spiral:. determine the objectives, the alternatives and the constraints
. evaluate the objectives and identify and resolve the associated risks
. develop and verify a (partial) solution or product
. review that solution, and plan the activities for the next iteration. - 46Draw Spiral Process Risk diagram
- 47(a) Why might a software development company specialise in a certain kind of customer, such as those in banking or health care?(a) Through specialisation, a software development company can foster
experience in a given domain, whether it is banking, health care or
any other field of interest. The developers in that company would
have (or would hope to gain) sufficient knowledge to understand the
problems raised by the users and therefore be able to present
solutions in a form that can be understood by those users. In
addition, the company may develop and use a consistent
development process that is appropriate to the set of customers in
that domain. - 48(b) In which of the activities in Figure 5 (spiral risk process) would you expect to do your configuration management during a project?(b) Maintenance deals with change. Configuration management is the
discipline of managing and controlling change, and so you would
expect maintenance to be where you would perform many of the
configuration tasks. However there is a role for configuration
management during the development process in, for example,
ensuring the consistency of models. Quality management is the
activity in which you would perform these tasks. - 49(c) Why are there additional risks when developing large projects?(c) The chances of failure increase as the size of a software project
increases, as more errors are likely to be introduced. Effective
communication between the members of a large team also becomes
more difficult. - 50(d) What is added to a development process with the introduction of risk management?(d) The most important additional aspect is the use of the identification,
evaluation and reviewing of risks that are carried out with each
iteration of the development. These steps introduce feedback into the
process to help ensure that the deliverables at each stage are leading
in a timely manner towards the correct product, and risks are
controlled. - 51You must keep accurate dates and times for the information recorded in your notebook for the following three reasons (all of which relate to traceability):. your project notebook may be required as evidence in some enquiry or
even in a court of law
. it helps you to review what you have done and how long you took to do
some task
. it facilitates learning. - 52(a) Why is traceability important to the development of software?(a) Traceability is important for the reconstruction of significant events.
In software development it should be possible to follow all the
activities undertaken in response to a proposed change. In particular,
you should be able to trace backwards from an implemented
component or components, through their design, to a given
requirement. - 53How does documentation contribute to traceability within a development project?Within a development project, documentation records the progress
from requirements to implementation (and beyond). It is possible to identify each requirement and follow the actions taken to implement
a solution to that requirement. You might, quite simply, be required
to show that you have implemented each requirement correctly. - 54Which activity or activities in the development process (shown in Figure 5) (spiral process diagram) are most affected by poor documentation?All seven activities will be affected by poor documentation. The
maintenance and quality management activities will be most affected
because they rely on the existence of traceability within the outputs
of a development activity. (You saw this problem earlier when we
looked at legacy systems.) - 55For what kind of software system might you minimise or even avoid any documentation?If a proposed software system is likely to have a short lifetime and
will be discarded after use, it may be acceptable to minimise or
avoid the task of documentation. - 56How would you characterise agile documentation?Agile documentation should be gathered with a purpose, should be
easy to use and above all should justify the effort put into gathering
it. There is no reason why this shouldn’t apply to any kind of
documentation but often software development produces heavy
documentation that is rarely used. - 57(f) Why is it important to review the contents of your project notebook?The act of reviewing your notes helps you to identify what worked
and what did not, as long as the notebook records accurately what
you did and when. A review helps you to trace the events that led to
the decisions you made since your previous review. Regularly
reviewing your notes also enables you to check that you have
followed up on all the decisions that you made. - 58What are the main problems associated with the development of software? You should be able to identify at least six.Here is our list of problems that affect software development (you may have
identified others):
. difficulty in capturing all the user requirements
. difficulties in managing and developing large and complex systems
. not meeting users’ requirements and avoiding dissatisfaction with the
completed software
. continual changes in user requirements (often referred to as requirements
creep)
. maintaining poorly documented software
. the presence of errors introduced unknowingly during development
. a changing world leading to changes in the needs of the users and
decreasing the usefulness of the software
. low productivity of those developing software, and difficulties in
measuring that productivity
. ensuring the quality of a software system. - 59How do you think a large-scale project differs from a small-scale project in terms of the management of the development team?As the size of a project increases, so does the number of people involved,
and consequently the complexity of the interactions involved, and the
difficulty of managing the team. As with programs, the greater the
complexity of interaction, the greater the chance of errors occurring due to
poor communication. - 60What management steps might be taken to tackle the problems that arise in a large-scale project?One of the functions of software project management is to manage project
complexity. One way to achieve this aim is to modularise project teams by
splitting them up into a number of groups. Each group performs a specific
task and communicates with the other groups through one person (for
example, the head of the group). Another way, encouraged by an agile
approach to development, is to encourage practices of communication and
cooperation in development, such as working in pairs and having daily
short meetings. - 61Process models sometimes show only the software-creation activities and exclude software maintenance. What problems are associated with the use of such models?If maintenance is not mentioned, it is likely that it will not be considered to
be an integral part of the overall software process model. This may result in a
design that does not take the needs of maintenance into account, and hence a
product that is difficult and expensive to change. This is especially likely if
time and/or budget are already tight. - 62What kinds of software system would be best suited to an iterative and incremental development process?Software systems where the problem can grow incrementally or where it falls
naturally into partitions, each of which represents a fairly self-contained unit
that could be developed and delivered on its own to provide the users with a
useful chunk of functionality, would be well suited to this model. An iterative
and incremental approach allows several design issues to be tackled
simultaneously and enables the system to be implemented in relatively small
steps in order to contain the complexity. Of course, this assumes that the
design can be partitioned. - 63It has been said that ‘the maintenance activity begins with the first deliverable of a development project’. What does this imply about the maintenance activity?This refers to the fact that there could be deliverables, such as requirements
documents, that exist prior to any software being built, and these also require
maintenance. For example, you might detect errors or inconsistencies in a
document that lists the important terms in your users’ domain, or you might
have to respond to changes in the environment, which may be due to new
regulations or market forces. - 64Define modellingModelling is a way of thinking
about things and ideas in the ‘real world’. A model is an abstract
representation of a situation in reality, or of a system from a particular point
of view. In effect a model is a way of expressing a particular view of an
identifiable system of some kind. - 65Models are;. a way of understanding the problems involved
. an aid to communication among those involved, especially between the
developer and the user, as part of some deliverable
. a component of the processes used in development activities such as
analysis and design. - 66(a) What is a model?(a) A model, in terms of software development, is an abstract
representation of a specification, a design or a system, from a
particular point of view. In general, it is a simplification of reality,
created in order to understand an aspect or viewpoint of the system
in question. - 67(b) What is a ‘good model’?(b) A ‘good model’ is an abstraction that allows those involved to
concentrate on the essentials of a complex problem by excluding
non-essential details while capturing those of interest. - 68(c) What are the two kinds of rule that govern the use of a modelling language?(c) A modelling language is normally diagrammatic, although it can be
textual. In common with natural language, there are two distinct
kinds of rule:
◦ those that determine whether or not a diagram is legal – the
syntax of a diagram
◦ those that define what a legal diagram means – the semantics
of a diagram. - 69(d) Does a modelling language need to be associated with a particular development process?(d) No, a modelling language does not dictate how it should be used and
it is up to a development process to define which notations are
appropriate and how they should be used. With experience
practitioners tend to pick and mix from different modelling languages
and use the notations that are most appropriate to the task – most
modelling languages do not provide notations for all types of tasks. - 70(e) What are the required characteristics of a standard modelling language?(e) When choosing a modelling language, it should be:
◦ sufficiently expressive
◦ easy to learn and use
◦ unambiguous
◦ widely used
◦ supported by suitable tools. - 71(f) How does a standard modelling language contribute to software development?(f) A standard modelling language helps when new people join a project
– a common modelling language reduces the time needed to enable
them to become productive team members. Also, when a modelling
language is widely used, it is likely that project components will
have been constructed using that language. This makes the software
easier and cheaper to maintain. - 72Explain 2 types of models. structural (or static) models, which describe the objects in the real world
or in a (software) system and their relationships to other objects
. behaviour (or dynamic) models, which describe the behaviour in the real
world or of a (software) system over time. - 73(b) What is the difference between a structural and a behaviour model?(b) A structural model describes the elements of the system and their
relationships to other elements. A behaviour model describes the
behaviour of a system over a period of time. - 74(c) Do the models used in a given development project need to be consistent?Yes, the whole set of diagrams should contain the different aspects of
a single software system, so they should not contradict one another.
For example, there must be some consistency checking between the
static and dynamic models. This can be automated by a suitable tool. - 75Best practices dealt with by UP?Timeboxing, dealing with high risk issues in early iterations, involving users in requirements, evaluation and feedback, building a view of architecture in early iterations
- 764 Main phases of the UPA UP project is organised into four major phases:
1 Inception. The business case is developed, together with an idea of the
scope of the system and a rough estimate of the effort required.
2 Elaboration. The core of the system is developed in an iterative fashion.
In this phase all major risks are addressed and resolved, most of the
requirements are identified and dealt with, and a more realistic estimate of
the effort required is made.
3 Construction. The final product is constructed, including the remaining
lower-risk and easier elements of the system, again in an iterative fashion.
4 Transition. This includes beta testing and deploying the system. - 777 Main disciplines in the UPBusiness Modelling
Requirements
Analysis and design
implementation
testing
project management
deployment - 785 Different Views of System ArchitectureThe use case view contains the basic scenarios that describe the users and
the tasks that they need to perform with the aid of a software system.
The logical view is concerned with the functional requirements of the
software system. What should the software do for its intended users?
The implementation view is concerned with the organisation of the code
modules that comprise a software system. Typically it addresses the
management of source code, data files and executables.
The deployment view is concerned with the relationship between the
various executables (and other run-time components) and their intended
computer systems.
The process view is concerned with aspects of concurrency. What are the
processes and threads? How do they interact? It deals with such things as
response time, deadlock and fault tolerance. - 79Tell me about behaviour modelling and Business RulesThe behaviour model provides descriptions of business processes and
behavioural aspects of the domain. You will meet modelling techniques such
as activity diagrams.
Business rules are used to express constraints on the
dynamic model. - 80(a) What is the purpose of domain modelling?(a) Domain modelling is concerned with gaining an understanding of the
environment in which any system that is designed must operate. - 81(b) What is the role of each of the artefacts produced during domain modelling?(b) During domain modelling, we produce the following artefacts:
◦ initial problem statement – a description of the problem
◦ behaviour model – a description of the business processes
and behaviour of the domain
◦ business rules – constraints on the way the behaviour model
operates
◦ glossary – definitions of relevant terms
◦ structural domain model – an initial structural model
representing the concepts relevant to the domain. - 82What is the purpose of the requirements phase?The requirements phase is concerned with establishing and modelling what
a software system must do. - 83(a) What is the purpose of analysis?a) Analysis starts modelling the structure and behaviour of a software
solution from a user’s perspective. - 84Purpose of Design?(b) Design is concerned with making decisions concerning how a system
will meet its specification. - 85(c) What is the role of each of the artefacts produced during design?(c) During design you produce the following artefacts:
◦ structural model, an updated version of the one produced
during analysis but with its operations specified
◦ behavioural models, showing how objects in the system will
interact and behave internally, and also how functionality will
be distributed across the system. - 86Suppose you and a colleague used UML on a particular development project. What would be the consequences of introducing symbols or notations that were not defined in UML?Such an extension would incur costs as well as offering potential benefits. The
costs include the need to communicate the syntax and semantics of your new
symbols or notation to other developers. The benefits include the ability to
express concepts specific to your project that could be more meaningful in
your context. - 87Requirements need to be:Traceable & necessary, nonabiguous & realistic, complete, considtent, varifiable and validated
- 88There is, a set of activities that can be identified as common to many requirements engineering processes even if they have different names. What are they?These are requirements elicitation, requirements analysis and negotiation,
requirements documentation and requirements validation. - 89What artefacts are used in Requirements Eliction?Activity
diagrams, use cases, scenarios, and user stories. - 90Requirements analysis techniquesRequirements analysis and negotiation is the activity where requirements are
categorised, prioritised and examined for their properties of consistency,
completeness and ambiguity. This
Requirements documentation is usually done through a template document.
Requirements validation consists of a careful check of the overall requirements
Elicitation and analysis occur primarily, but not exclusively, at the beginning
of a project, and their relative importance and effort vary over time. - 91What is a list of requirements refered to in agile ?A project backlog
- 92Where and when does the requirements engineering process take place in an iterative and incremental development process?The main output of a requirements engineering process is the contract
between those commissioning the system and the developers of the system.
It has therefore to take place early in the software development process.
However, an iterative and incremental process recognises that requirements
are not stable and revisiting, clarifying and specifying requirements occur in
parallel with the other phases of development. - 93Identify the stakeholders for a system to book appointments for a hospital.Hospital administrators, receptionists, doctors, nurses, patients,
general public. - 94Suggest ways in which requirements may evolve.◦ new requirements may be added
◦ existing requirements may change because of changes in the
environment or in the organisation
◦ some requirements may become obsolete
◦ technologies may evolve
◦ other systems may emerge that introduce interoperability
requirements
◦ regulations may change. - 95Consider the following list of poorly expressed requirements, indicate which properties are not respected and ask questions to clarify their meaning: (a) The software system should provide acceptable performance under maximum load conditions. (b) If the system fails in operation there should be minimal loss of data. (c) The software should be developed so that it can be used by inexperienced users.(a) The requirement is ambiguous and not verifiable. How can
performance be measured? What is maximum load?
(b) The requirement is ambiguous and not verifiable. What is minimal
loss of data?
(c) The requirement is ambiguous. What are the usability criteria? - 96(a) What are requirements and stakeholders and how do they relate to each other? (b) What are the benefits of documenting requirements within a project?(a) Requirements are the functions and qualities that are wanted of a
product. Stakeholders are the people and organisations with a vested
interest in the product. Requirements arise from stakeholders’ needs.
(b) Requirements record decisions. They are the main reference for what
should be built and the basis for validation of the built system.
Therefore they need to be documented so that they can be used
throughout development. - 97What is an agile approach to requirements engineering documentation?In an agile approach, requirements documentation serves a purpose and
should be done only to the extent that it contributes to that purpose. It
should serve as a vehicle for common understanding, communication and
future traceability. - 98Which other activities will be taking place in parallel with requirements engineering?The definition of the system architecture and an elaboration of tests for the
requirements. When defining requirements there are implications for the
architecture of the system and each requirement will be related to some test
of the final system. - 99(a) What are the purposes of requirements?Communication – from the requirements engineer to the designer.
As a contract with the client (and other stakeholders) for what the
system must do. - 100What is a functional requirement?A functional requirement describes an ACTION that the product must
take if it is to carry out the work it is intended to do. - 101What is a non-functional requirement?A non-functional requirement is a requirement about a QUALITY that
the product must have. - 102How do user stories help in determining functional requirements?User stories are written by the people who will get some value out of
the system and therefore highlight elements of functionality relevant
to them. User stories encourage communication and involvement of
users and customers with the development process, allowing for
change and discovery of requirements throughout. - 103How do you discover whether or not a set of functional requirements is sufficient for the product to be useful and whether the functionality is correct?Ask the user
- 104Why must functional requirements be testable?So that it is possible to determine whether the delivered product
meets the intention of the user - 105What is the major problem with a requirement that is written in a natural language such as English?Ambiguity
- 106Why record the meaning of business and technical words in a requirements specification?Avoid ambiguity
- 107X must validate the user’s identity and password within three seconds. functional or non-functional requirement?Non functional, quality
- 108X must check a user’s identity Functional or non-functional?functional, activity
- 1098 Classes of non-functional requirements-Look and feel
-Usability
-Performance
-Operational and environmental
-maintainability and support requirements
-Legal requirements
-Security Requirements - 110What are the five aspects of security from a requirements perspective?Access, privacy, integrity, audit and immunity (protected form external threats)
- 1114 forms of security attackdisclosure
modification
DOS
Repudiation - 112What is requirements testing called?Conformance testing
- 113What is a fit criterion?A fit criterion is a precise and testable statement of a requirement
- 114consider the following non-functional requirement associated with the above functional requirement: the credit card number should be accepted securely. What fit requirements fits?The following fit criterion might be appropriate:
the credit card number should be revealed to a third party in fewer than
0.0001 per cent of cases. - 115The fit criteria for a non-functional requirement need to be expressed in terms of some measurable quantity, so some scale of measurement must be used.OK
- 116What is the first step towards finding whether a solution fits a requirement?The first step towards finding whether a solution fits a requirement is
to attach a quantifiable measure to the requirement so that it is
testable. - 117What is a fit criterion?A fit criterion is a quantification or measurement of a requirement,
such that the design solution can be measured to find if it
unambiguously meets the requirement. - 118(a) Who needs the fit criteria? (b) When are fit criteria specified?(a) Who needs the fit criteria?
(b) When are fit criteria specified? - 119(a) What is a fit criterion for a functional requirement? (b) Do the fit criteria of functional requirements have scales of measurement?(a) A fit criterion for a functional requirement specifies the completion
of the function of the product that is specified by that functional
requirement. For example, if the required function is to send an
email to a student after a marked TMA has been uploaded by the tutor, then the fit criterion for this requirement is that an email has
indeed been sent to the student and reflected in the receiving
mailbox.
(b) No, the fit criteria of functional requirements do not have scales of
measurement. Success is tested in terms of a yes/no answer that
implies whether the required function is achieved or not. - 120Does a fit criterion indicate how the functional requirement would be tested?No, a fit criterion provides some target which, when the solution is
tested, reveals whether the solution conforms to the requirement. The
fit criterion does not indicate how the product will be tested. It
merely states that the tester - 121What is the advantage of capturing requirements using a template rather than adopting your own format?The template is divided into a fixed set of categories, which means you are
less likely to forget some types of requirements. It also saves having to
work out what categories of requirements to deal with each time you start a
new document. It helps to communicate requirements to other developers
because if there is a standard template then everyone will know what
information to expect and in what order. It might also allow projects to be
compared and even requirements to be reused more easily.
Information
- Description
- Flashcards on TM354 Block 1 Units 1 & 2, created by cormster on 21/05/2015.
- Created by
- cormster
- Views
- 3
- Rating