The club wants more
Hillside Sports Club has a booking tool. Now it has a new problem.
"Our courts are full on Saturdays. People want a waiting list. If somebody cancels, the next person should get the court. Also, we do not know if members are happy. Can members give a rating after they play?"
This is the practice scenario for the specialism project. It is our own invention.
Key words
| Word | What it means | Example |
|---|---|---|
| Requirement | Something the solution must do or be. | Show the waiting list |
| Functional requirement | What the solution does. | Join a waiting list |
| Non-functional requirement | How well the solution works. | Books in under 30 seconds |
| Acceptance criteria | Clear checks that show a requirement is done. | When a booking is cancelled, the first person waiting gets the court |
| KPI | Key performance indicator: a number that shows if the project is a success. | Double bookings: 0 |
| Constraint | A limit you must keep to. | Python 3.10, 4 weeks |
| Slot | One court at one hour. | court 1 at 10:00 |
| Scope | What is in the project and what is not. | No online payment |
The cells students fill in are left blank in this preview.
Functional or non-functional?
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Five questions find the functional requirements
| Ask | Club example |
|---|---|
| What goes in? (inputs) | Member name, court, hour |
| What data is needed? | The bookings and the waiting list |
| What happens to the data? (processing) | Add a name. Remove a name. Count the place in the line. |
| What are the rules? (logic means rules) | The first person waiting gets a cancelled court. Nobody waits twice for one slot. |
| Where will it run? (the platform is the device) | On a phone and on the desk computer |
The cells students fill in are left blank in this preview.
Acceptance criteria say when it is done
"The waiting list works" is not clear. Who decides? Acceptance criteria are clear checks. Anyone can run them and get the same answer.
A good pattern: "When this happens, then that happens." Use numbers and names so the check can be repeated.
From a requirement to checks
| Requirement | Acceptance criteria (When ..., then ...) |
|---|---|
| A member can join the waiting list | When a member joins for a full slot, then they are told their place in the line, for example 1. |
| A member is not added twice | When the same member joins the same slot again, then the tool says they are already waiting. |
| A cancelled court goes to the next person | When a booking is cancelled and one person is waiting, then that person gets the booking. |
| The tool is quick | When a member makes a booking, then it takes under 30 seconds. |
The cells students fill in are left blank in this preview.
Check: is it measurable?
Have a go
Check: is it measurable?
4 questionsTry it: a criterion as a check
waiting = []
def join(waiting, name):
waiting.append(name)
return len(waiting) # the place in the line
# Criterion: the first member to join is told "place 1".
place = join(waiting, "Sam")
print("Place:", place)
print("Criterion met:", place == 1)
# Add a second member. What place should they get?
Make a free account to save your work and track your progress.
KPIs for the club
| KPI | How it is measured | Target |
|---|---|---|
| Double bookings | Count in the booking file each month | 0 |
| Courts empty after a cancellation | Count of cancelled slots with nobody booked | Fewer than 2 a week |
| Average member rating | Total of ratings divided by the number of ratings | At least 4 out of 5 |
The cells students fill in are left blank in this preview.
A user story
| Part | Club example |
|---|---|
| Who | As a member |
| What | I want to join the waiting list |
| Why | so that I can get a court if somebody cancels |
The cells students fill in are left blank in this preview.
An activity diagram: join a waiting list
flowchart TD
a([Member wants a slot]) --> b{Is the court free?}
b -->|yes| c[Book it]
b -->|no| d{Already waiting?}
d -->|yes| e[Tell them: already waiting]
d -->|no| f[Add to the waiting list]
f --> g[Tell them their place]
c --> z([End])
e --> z
g --> z
Six business analysis models
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Task 1 practice: write the requirements
Write a short requirements document for the Hillside waiting list and ratings. Include these parts. 1. Five functional requirements. 2. Three non-functional requirements. 3. An acceptance criterion for each of five requirements, written as When ..., then ... 4. Two KPIs, each with a target. 5. Three constraints. 6. A scope section that says what is in and what is out. Draw one activity diagram for rating a session. Make every criterion measurable.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Key words crossword
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Final check
Have a go