Start from the type of contribution
A computer science thesis is organised around what it contributes and how that contribution is shown to be valid. That differs from a thesis in the social or natural sciences, where a single study usually follows a fixed sequence of question, method, results and discussion. In computer science the main result may be an algorithm with a proof, a system and its evaluation, an empirical study of developers, or a new formal model. Each calls for different evidence and therefore a different chapter plan.
Shaw's analysis of software engineering papers is a useful lens: a paper, and by extension a thesis, should make clear what question it answers, what kind of result it offers (such as a technique, a model, a tool, an analytic result or an empirical finding) and what kind of validation supports that result (Shaw, 2003). The 2020 version of this page listed five kinds of computer science research. Table 1 restates them as contribution types and pairs each with the evidence examiners will expect.
| Kind of research (2020 list) | Typical contribution | Evidence expected | Useful standard or guide |
|---|---|---|---|
| Applying mathematical theory | Algorithm, bound or formal model | Proofs; complexity analysis; experiments where relevant | Experimental algorithmics (McGeoch, 2012) |
| Creating a new system | Technique, tool or architecture | Evaluation against baselines on stated criteria | Design science (Hevner et al., 2004; Peffers et al., 2007) |
| Studying an existing system | Empirical findings about behaviour or performance | Measurements, benchmarks, threats to validity | Empirical standards (Ralph et al., 2020) |
| Studying a tool or practice in use | Findings about developers or users | Experiments, surveys, case studies, interviews | Empirical standards (Ralph et al., 2020) |
| Socio-economic and ethical issues | Analysis of impacts or policy | Qualitative or quantitative social research | Discipline methods texts; systematic review (Kitchenham & Charters, 2007) |
A chapter order that follows the argument
Most computer science theses use a version of the sequence below. The front matter and back matter are fixed by your university's regulations, which set requirements such as word limits, layout and declarations; read them before you start writing (University of Exeter, 2026). The chapters in between should follow your argument, not a template.
| Part | Purpose | Notes for computer science |
|---|---|---|
| Title page, declaration, abstract | Identify the work and summarise it | State the problem, approach, main result and how it was validated |
| Acknowledgements, contents, glossary | Navigation and terms | A glossary or list of notation helps when symbols and acronyms are many |
| Introduction | Problem, research questions, contributions, outline | List contributions explicitly and point to the chapters that support each |
| Background and related work | Concepts needed and the work you build on | Organise by approach; end with the gap your work fills |
| Approach or design | What you propose and why | Algorithms in pseudocode; design decisions with alternatives |
| Implementation | How it was built | Only what matters for the claims; detail goes to appendices or a repository |
| Evaluation | Evidence that the contribution works | Research questions, baselines, data, metrics, threats to validity |
| Discussion and conclusion | What the results mean and their limits | Answer each research question; state future work concretely |
| References and appendices | Sources and supporting material | Proofs, extra results, artefact descriptions |
In thesis-by-publication formats, each paper becomes a chapter and the introduction and conclusion explain how the papers form one contribution. Whatever the format, use the term your university uses. In the UK, "thesis" usually refers to the doctoral document and "dissertation" to a taught-degree project, while in the United States the terms are often used the other way round. The 2020 version of this page defined them differently, and incorrectly.
Abstract, introduction and related work
The 2020 page advised reading the literature gap and choosing keywords before writing the abstract. The better order is the reverse: write the abstract last, once the results are fixed, so that it reports what the thesis actually shows. A computer science abstract should state the problem, why existing approaches fall short, what you did, the main result with a number where possible, and how it was validated. Follow your university's word limit; there is no general rule.
The introduction should end with a numbered list of contributions, each a sentence that a reader could check, and a map of which chapter supports which contribution. Avoid listing activities ("we implemented", "we surveyed") as contributions; say what is new and what it makes possible. The related work chapter is not a catalogue. Group prior work by approach, compare approaches on the dimensions that matter for your problem, and finish with the specific limitation your work addresses. If your field expects it, a systematic review protocol makes the search reproducible (Kitchenham & Charters, 2007). Background material, such as definitions and notation, can sit in its own short chapter so that the related work chapter can focus on argument.
Software, data and other artefacts
The 2020 page listed requirement documents, design documents, code comments, user manuals, maintenance manuals and test suites as thesis artefacts. Few of these belong in the thesis itself. Include what a reader needs to judge your claims: algorithms, key design decisions, the experimental set-up and the results. Place the rest in a public, archived repository with a persistent identifier, and cite it. For presenting code and pseudocode in the text, see how to present computer code and algorithms in a thesis.
Reproducibility is now part of how computational work is judged. Record versions of software and data, keep scripts that regenerate every figure and table, and fix random seeds (Sandve et al., 2013). Machine learning venues have introduced reproducibility checklists for the same reason (Pineau et al., 2021), and studies of artefacts at a leading software engineering conference show that many published artefacts are still hard to obtain or run (Muttakin et al., 2026). Make data findable, accessible, interoperable and reusable where you can (Wilkinson et al., 2016).
Writing the evaluation chapter
The evaluation chapter carries most of the weight in a systems or tools thesis. State the evaluation questions, which follow from your research questions. Describe the baselines and why they are fair, the data sets or benchmarks and why they are representative, the metrics and the experimental protocol. Report variation across runs, not just the best result. For algorithmic work, explain how instances were generated and how running time was measured (McGeoch, 2012). For design science work, show how the artefact was evaluated against the problem it was designed to solve (Wieringa, 2014). End with threats to validity: what could make your conclusions wrong and what you did about it (Ralph et al., 2020).
Worked example (illustrative)
A doctoral researcher builds a tool that detects a class of concurrency bugs. Her introduction lists three contributions: a detection technique, an implementation, and an empirical study on open-source projects. The background chapter explains concurrency bugs and existing detectors. The approach chapter gives the algorithm in pseudocode and argues for its design choices. The evaluation chapter asks how many known bugs the tool finds compared with two existing detectors, how many false alarms it raises, and how long it takes, and it discusses threats such as the choice of projects. The code and data are archived with a persistent identifier. The tool and study are hypothetical.
What examiners look for
Experienced examiners look for a coherent argument, a clear statement of contribution and evidence that the candidate understands the limits of the work; they do not expect a thesis to settle a field (Mullins & Kiley, 2002). They also read in a particular way, often starting with the abstract, introduction and conclusion to see whether the promised contribution is delivered (Golding et al., 2014). Make those three parts consistent with each other and with the evaluation.
Research integrity applies to code and experiments as much as to text. Fabrication means making up data or results; falsification means manipulating them, for example by omitting runs that do not fit; plagiarism includes copying code without attribution. The 2020 page defined fabrication as "not following research methods", which is wrong.
Common mistakes
- Following a word count or chapter percentage from a website instead of your university's regulations.
- Describing the implementation in detail but evaluating it thinly.
- Contributions that are not stated in the introduction or not traced to chapters.
- Comparing against weak or outdated baselines.
- Reporting a single best run with no variation or statistical comparison.
- Code and data that cannot be found or run by the examiners.
See also structuring a PhD thesis chapter by chapter, doing a PhD in computer science and engineering and writing a thesis in LaTeX.
Key takeaways
- Name your contribution type and the validation it needs (Shaw, 2003).
- Let regulations fix the format and your argument fix the chapter order (University of Exeter, 2026).
- Evaluate against fair baselines and report threats to validity (Ralph et al., 2020).
- Archive code and data so examiners can find and run them (Sandve et al., 2013; Muttakin et al., 2026).
- Keep abstract, introduction and conclusion consistent, because examiners read them first (Golding et al., 2014).
