A student guide to the OCR H446 programming project. Part 2 of 5: Analysis (10 marks).
The analysis is worth 10 marks, so keep it focused, but it sets up everything else. Your success criteria will be used in your design, your testing and your evaluation, so it's worth getting them right.
What the analysis must cover
OCR's analysis has seven parts. A good section deals with each one, and explains and justifies instead of just listing.
| Part | What you must show |
|---|---|
| 1. Computational methods | The features of the problem that make it solvable by computational methods, and why a computational approach suits it |
| 2. Stakeholders | Who will use the solution, how they will use it, and why it suits their needs |
| 3. Research | Existing solutions to similar problems, and the approaches you will take as a result |
| 4. Essential features | The key features of your solution, and why you chose them |
| 5. Limitations | What your solution won't do or can't do |
| 6. Requirements | The hardware and software needed, and any other requirements, with reasons |
| 7. Success criteria | Measurable targets that show whether it works |
How far up the mark bands you go depends on how much you justify your points. In the lower bands you identify or describe. In the top band you explain and justify everything and research in depth.
1. Why is it solvable by computational methods?
You can't just say "a computer will be faster". Show that the problem has the features that suit a computer (these are the ones from section 2.2.2 of the course):
| Feature | Swimming club example |
|---|---|
| Clear inputs and outputs | Inputs: swimmers, sessions, coach availability. Output: a valid rota and list of bookings |
| Rules that can be written precisely | A lane holds at most 8 swimmers. A coach can't run two sessions at once |
| Can be represented as data | Swimmers, sessions and bookings in tables |
| Repetitive, with a lot of data | Dozens of sessions a week, hundreds of swimmers |
| Needs accuracy and consistency | Double bookings must never happen |
| Can be broken into parts | Bookings, rota, reminders, reports |
Then explain why the computational approach is better than the current method (for example a paper register): faster, fewer errors, easier to search and change, and able to check rules automatically.
Also mention which computational thinking ideas you'll use: abstraction (what you keep), decomposition, and perhaps backtracking, heuristics or concurrency.
2. Stakeholders
A stakeholder is anyone with an interest in the solution. Name them and describe them. They can be named individuals, groups or a persona (a typical user).
For each stakeholder, say:
- Who they are.
- How they will use the solution.
- What they need, and why your solution suits that.
| Stakeholder | How they will use it | What they need |
|---|---|---|
| Head coach (Mr Patel) | Builds the weekly rota, checks attendance | A valid rota quickly, with no clashes |
| Parents | Book and cancel lessons | Simple booking, confirmation, not too many screens |
| Older swimmers | Check their sessions | A clear view of their timetable |
Evidence: a short interview or questionnaire, with what you learned from it. Say which requirements came from them. This is the evidence that the project is user driven.
3. Research
Look at existing solutions to similar problems, such as a booking website, a leisure-centre app, or the club's paper system. Use a small table:
| Existing solution | Good points | Weaknesses | What I will use or do differently |
|---|---|---|---|
| A leisure centre booking site | Clear calendar | Doesn't know club rules | Use a calendar view, add rule checks |
| Paper register | Always available, simple | Easy to double-book, no search | Keep it simple, automate checking |
| A generic spreadsheet rota | Familiar | No validation, errors creep in | Add validation |
For the top band you need in-depth research and must justify your approach because of it: don't just list what you found. Say "Because the leisure centre site made users go through five screens, my booking will need only three."
Research can also cover algorithms and techniques suited to the problem (for example "scheduling is a constraint problem, so I'll research backtracking and heuristics").
4. Essential features
Describe the main features of your solution, and why each is needed. Link each to a stakeholder need or a finding from your research.
| Feature | Why it's needed |
|---|---|
| Book a swimmer into a session | The parents' main task |
| Reject bookings that break the rules | Prevents double-booking (coach's biggest problem) |
| Generate a weekly coach rota | Saves the coach hours each week |
| Search and view bookings | The coach needs to find swimmers quickly |
| Login for coaches and parents | Protects personal data |
Keep the list to what is essential, and put anything extra in a "desirable" list.
5. Limitations
Explain what the solution will not do or can't do, and why. This shows realism.
- "It won't take online payments, because that needs a payment provider and is beyond the time available."
- "It will run only on the club's Windows computers."
- "The rota algorithm gives a good rota, but not always the best possible one" (if you use a heuristic).
Limitations come from time, skills, hardware, data or the nature of the problem.
6. Requirements
Specify and justify what is needed to run and use the solution.
| Type | Example | Justification |
|---|---|---|
| Hardware | A Windows PC with 4 GB of RAM and a mouse | The coach's office computer |
| Software | Python 3.12, SQLite (comes with Python), tkinter | Free, runs on their machine |
| Data | A list of current swimmers and sessions to start with | Needed to test with real data |
| User | Basic computer skills only | Parents and swimmers aren't experts |
| Other | Data must be protected (data protection law) | The system holds personal data |
7. Measurable success criteria
This is the most important part. A success criterion says exactly what the solution must do, so that you can test it later and say met, partially met or not met.
A good criterion is:
- Specific: one clear thing.
- Measurable: it has a pass or fail, ideally with a number.
- Linked to a stakeholder need.
- Numbered, so that the design, testing and evaluation can refer to it.
Weak and strong
| Weak | Strong |
|---|---|
| "It should be easy to use." | "A new parent can book a lesson in no more than 3 screens without help." |
| "It should be fast." | "A booking is confirmed within 2 seconds with 500 swimmers in the database." |
| "It should stop errors." | "A booking is rejected, with a clear message, if the session already has 8 swimmers." |
| "It should be secure." | "Coaches must log in, and passwords are stored as hashes." |
| "It should make the rota." | "A rota for 20 sessions with no clashes is produced in under 10 seconds." |
A table you can reuse
| ID | Success criterion | Source | Priority | How I'll test it |
|---|---|---|---|---|
| SC1 | A parent can book a swimmer into a session in 3 screens or fewer | Parent interviews | Essential | Time a new user |
| SC2 | A booking that would exceed 8 swimmers is rejected with a message | Coach | Essential | Try a full session |
| SC3 | The rota has no coach in two places at once | Coach | Essential | Check generated rotas |
| SC4 | Coaches and parents must log in | Data protection | Essential | Try without logging in |
| SC5 | The rota can be printed | Coach | Desirable | Print one |
Writing "how I'll test it" now makes the design and testing much easier later. Aim for a good number of criteria that cover all the key features, and mark which are essential.
How the mark bands rise
| Marks | What it looks like |
|---|---|
| 1 to 2 | Some features, some stakeholders, a few requirements and criteria are identified |
| 3 to 5 | Features and stakeholders are described, some research, some measurable criteria |
| 6 to 8 | Everything is described and explained, in-depth research, requirements specified, measurable criteria for the solution |
| 9 to 10 | Everything is explained and justified, research leads to justified approaches, limitations justified, requirements and criteria justified |
Use the command words (identify, describe, explain, justify) to decide how much to write.
Checklist before you move on
- You've explained why the problem suits computational methods.
- Stakeholders are described, with evidence from them.
- Research is in depth, and you've used it to justify your choices.
- Essential features are listed with reasons.
- Limitations are stated and explained.
- Hardware and software requirements are justified.
- Success criteria are numbered, measurable and linked to tests.
- It's concise and doesn't repeat itself.
Common mistakes
- "Computers are quicker" as the only reason it suits a computer.
- No real evidence from stakeholders.
- Describing research without using it.
- Vague success criteria such as "user friendly".
- Skipping limitations, which makes the project look unrealistic.
- Criteria that don't match what you later build or test.
- Writing too much background and too little about the solution.
Tip: write your success criteria so you can paste them into your test plan and your evaluation. Each one needs an ID, a clear measure and a priority. Then three sections of your report (design, testing and evaluation) can all point back to the same list.
Check yourself
Name three features that make a problem suitable for a computational solution
Any three of: clear inputs and outputs; precise rules; can be represented as data; repetitive with a lot of data; needs accuracy; can be broken into parts.
What is a stakeholder?
Anyone with an interest in the solution, such as a user, client or group of users. They can be named individuals, groups or a persona.
What makes a success criterion measurable?
It has a clear pass or fail that can be tested, often with a number, such as a time limit or a count, instead of a vague aim like "easy to use".
Why should the analysis include limitations?
It shows realism about what the solution will and won't do, and the reasons (time, skills, hardware, data), which is needed for the top marks.
How is research used to reach the top band?
By looking in depth at existing solutions to similar problems and using what you find to justify the approaches you choose.