Вы находитесь на странице: 1из 4

INFS600 Data & Process Modelling

Exercise 2 – Writing good requirements


Overview:
The exercise gives you an opportunity to practice the material covered in the week 2 lecture. Questions
covering this material will be part of Quiz 1.
You may work on your own or in pairs for this exercise. All questions should be answered in the provided
spaces in this exercise sheet.
You should have completed all five questions in this exercise before your next lab/tutorial session.

Questions:
Question 1
a. Identify one software failure in New Zealand (not either of the examples used in the lecture) that could
have been avoided or reduced by better requirements engineering.
b. Describe the probable cause and suggest how it could have been avoided.
Click here to enter text.

Question 2

a. Once defined, requirements should not change. ☐ True ☐ False

b. Different world views and experience can lead to misunderstandings when eliciting requirements.
☐ True ☐ False

c. A stakeholder is someone with a financial interest in the system under production.


☐ True ☐ False

d. An iterative and incremental approach


☐ relies on feedback to evolve requirements over time.
☐ means work is usually organised in short iterations with specified goals.
☐ indicates that increments are shared with the clients/stakeholders after each iteration.
☐ includes all of the above.

e. Determining if a proposed system is feasible is part of which system development phase.


☐ Elaboration
☐ Implementation
☐ Proposal
☐ Inception

1
f. ‘The new system must work with the existing card readers that the company uses’ is an example of a
☐ requirement.
☐ condition.
☐ constraint.
☐ none of the above.

g. ‘The customer shall be able to log in and check their balance.’ What is wrong with this requirement?
☐ It is ambiguous.
☐ It is a compound requirement.
☐ The class of user is incorrectly identified.
☐ There is nothing wrong with the requirement.

Question 3
The requirements below are for a new system for a Gym. For each of the requirements in the table, complete
the column to indicate whether the requirement fits the category of Functional, Performance, Interface, or
Non-functional. Provide a reason why this is the case.

Requirement Category Reason


A gym member must choose Choose an item. Click here to enter text.
their membership type from
Trial, Student, Senior, Green
Prescription, Family or Full.

The system shall log Choose an item. Click here to enter text.
membership payments into
the Gym Club’s Xero
accounting system.

Green prescription members Choose an item. Click here to enter text.


must submit a doctor’s
recommendation to qualify.

The system shall display Choose an item. Click here to enter text.
squash court availability
within 3 seconds of a
request.

The system shall restrict Choose an item. Click here to enter text.
access to members’ contact
details to administrators.

2
Question 4
For each of the Gym Club System possible requirements below complete the table to indicate whether satisfies
the attributes of a ‘Good’ requirements. If it does not, please indicate what is wrong and rewrite the
requirement to fix the problem.

Requirement Good? If not, why Rewritten requirement (if not good)


not?
The gym member shall be able to Click here to enter text. Click here to enter text.
log in and check for free squash
courts.

Users can click the ‘Book’ button Click here to enter text. Click here to enter text.
on the menu on the left to book a
squash court.

The new system should keep Click here to enter text. Click here to enter text.
enough information about gym
members.

Our members should like using Click here to enter text. Click here to enter text.
the new system.

User’s passwords must be secure. Click here to enter text. Click here to enter text.

The software should run on all Click here to enter text. Click here to enter text.
version of all common browsers.

3
Question 5
The following paragraph describes services offered at the gym. Develop a set of key requirements for these
services. Remember to use the form described in the lecture.
User Type: (who or what is taking action)
Result Type (Verb) – Action (what is going to occur (use imperatives)
Object – who or what is being acted upon
Qualifier (Adverbial Phrase) – when appropriate what condition/s apply

Special Services Offered by Gym

A person may request to book one of the services offered by the Health & Fitness centre at the Gym. Bookings
can be made on-line or at the centre reception. Available services include:
 Personal trainers are available 7 days a week from 6am to 9pm for 30 minute or 1 hour durations.
 A squash coach provides 30 minute squash lessons on Monday to Wednesday evenings from 5-9pm.
 A physiotherapist is available on weekdays, from 9am to 5pm for 30 minute bookings.
 A nutritionist is available Monday to Thursday, from 9am to 5pm. Slots are 1 hour each.
 An acupuncturist is available on Mondays and Tuesdays, from 9am to 5pm. Bookings are for 1 hour.

Each service provider has their own rate. When a service is requested, the client is provided with the
name(s), available times and rates of the service provider(s) and may select the desired provider and times.
The client will then be asked to confirm the booking details. On confirmation, payment will be deducted from
the client’s credit card a confirmation email sent to the client’s email address. For bookings made at
reception, any payment type is acceptable. The payment is non-refundable.

Click here to enter text.

Вам также может понравиться