Computer science coursework report: from requirements to testing
How to write a computer science coursework report: requirements, design, implementation, testing and evaluation, plus academic integrity in code.
Professor Eric Editorial · Nov 30, 2026 · 7 min read
In this article
- What goes into a computer science coursework report?
- What do markers look for at each band?
- How do you write requirements that help later?
- How do you explain design decisions?
- Worked example: a testing section made evidence-based
- How do you present results and figures clearly?
- How should you write the evaluation?
- What does academic integrity mean in code?
- Mistakes that cost marks
- Final checklist
- Frequently asked questions
- Talk it through with a tutor
Your program runs. The tests pass. Then you open the report template and wonder what there is to say. For many computing students, the report feels like an afterthought, yet in a lot of UK modules it carries a large share of the marks. A computer science coursework report is where you prove that your code came from decisions, not luck, and that you can judge your own work honestly.
What goes into a computer science coursework report?
Usually five parts, though your brief may rename or merge them:
- Requirements: what the system must do and under what constraints.
- Design: how you structured the solution and why.
- Implementation: the parts worth explaining, not a line-by-line tour.
- Testing: what you tested, how, and what happened.
- Evaluation: how far you met the requirements, and what you would change.
Some modules also want a short user guide, a reflection, or an appendix with code. Follow the assignment brief and the module handbook exactly, including any page or word limits.
What do markers look for at each band?
Criteria vary between universities, so check yours. In general terms:
- First: requirements are clear and traceable through design and testing; design choices are justified against alternatives; testing is systematic with recorded results; evaluation is honest and specific.
- 2:1: a working, well-documented solution with sensible testing, though justification or evaluation may be thinner.
- 2:2: description of what the code does, screenshots without explanation, and testing claimed rather than shown.
How do you write requirements that help later?
Make them specific and numbered so you can refer back to them. "The system should be user-friendly" cannot be tested. "R3: a user can search the catalogue by title, returning matches within the list view" can. Separate functional requirements from non-functional ones such as performance or accessibility. If your brief gives requirements, restate them in your own numbered list and add any you inferred, saying so.
How do you explain design decisions?
Name the choice, the alternatives, and the reason. A sentence like "I used a hash map for lookups because the main operation is retrieval by key, which a list would handle in linear time" shows understanding. Use diagrams where they clarify, such as class diagrams, sequence diagrams or a data model, and refer to them in the text. Do not paste a diagram without explaining what it shows.
Keep the implementation section selective. Explain algorithms, tricky edge cases and anything non-obvious. Short excerpts can help, but describe them in words and keep full listings for an appendix if the brief asks for one.
Worked example: a testing section made evidence-based
Weak version:
"I tested the program thoroughly and everything worked. I also asked a friend to try it and they said it was easy to use."
Improved version:
"Testing combined automated unit tests with manual system tests mapped to the requirements. The unit tests cover the search and booking modules, including boundary cases such as an empty catalogue and a title with special characters; all illustrative 24 tests pass in the final build, and the test file is listed in Appendix B. Manual tests for R1 to R6 are recorded in Table 3 with input, expected result and actual result. Two failed on first run: R4 accepted a booking date in the past, which I fixed by adding validation, and R6 displayed results slowly with a large dataset, which remains a known limitation discussed in Section 6."
Why it is stronger:
- It names the testing methods and what each covers.
- It maps tests to requirements, so coverage can be judged.
- It reports failures and fixes, which markers read as rigour, not weakness.
- It is honest about a remaining limitation and points to where it is evaluated.
How do you present results and figures clearly?
Number every table and figure, give each a caption, and refer to it in the text before it appears. A test table works best with consistent columns: test identifier, requirement, input, expected result, actual result and status. Screenshots of a running interface are useful evidence for interface requirements, but crop them to the part that matters and say what the reader should notice.
Keep formatting consistent. Use one font for code excerpts if your template allows it, and the same terminology throughout. If you call something a "booking" in your requirements, do not call it a "reservation" in your tests. Small inconsistencies make a marker wonder whether the parts of your report describe the same system.
How should you write the evaluation?
Go back to your requirements, one by one, and say how far each was met, with evidence from testing. Then step back: what would you design differently, and why? Mention limits such as untested platforms or performance at scale. Avoid generic lines such as "I learned a lot". Specific reflection, such as realising your data model made a later feature harder, is far more convincing.
What does academic integrity mean in code?
It means you can show which code is yours and where everything else came from. Universities treat copied or undeclared code as seriously as copied prose, and many use code-similarity tools. Your module will set rules on:
- Reused code: libraries, frameworks and starter code are usually allowed, but must be acknowledged. Snippets adapted from documentation or forums need a comment and a reference.
- AI tools: policies differ widely between universities and even between modules. Some forbid AI-generated code; others allow it with declaration. Read your module's rules and follow them exactly.
- Collaboration: discussing ideas may be allowed while sharing code is not. Check where your module draws the line.
Version control helps. A commit history that shows your work developing over time is good evidence of authorship, and many modules ask for it. Never alter a commit history to disguise where code came from.
Mistakes that cost marks
Final checklist
Your checklist
0 of 6 done
Frequently asked questions
Should I include my full source code in the report?
Only if the brief asks for it, usually as an appendix or a separate submission. In the main report, use short excerpts where they explain something important, and describe them in words.
Is it acceptable to use code from Stack Overflow or documentation?
It depends on your module's rules. Where reuse is allowed, acknowledge the source in a code comment and in the report, and explain what you changed. Undeclared reuse can be treated as academic misconduct.
Can I use AI tools to help with my code?
Only if your module explicitly allows it, and only in the way it allows. Policies vary, so read the assignment brief and your university's AI guidance, and declare any permitted use.
How much testing is enough?
Enough to show each requirement has been checked, including edge cases and failures. A short, systematic set of tests with recorded results is better than a long list of claims.
Talk it through with a tutor
Unsure how to justify a design choice or lay out your testing evidence? A computing tutor can review your plan with you, and a model report from our samples shows one way of mapping tests to requirements. Our fair use policy sets out how to use any guidance responsibly, and the code and report you submit must be your own work.