Skip to main content
Oxford Computer Science interview preparation

Free Interview Resources

Oxford Computer Science Interview Questions

Free practice questions, preparation advice, and expert insights for Computer Science interviews at Oxford.

2+ interviews · tutorial-styleFormat

Sample Oxford Computer Science Interview Questions

Real Computer Science interview questions in the style Oxford asks. Try answering each one aloud before you reveal the hint.

01

Tidy boxes: you have 10 boxes, 100 blocks, and 10 colours; show that the blocks can be packed so that each box contains at most two colours.

Problem-Solving

mid

Hint

Start with fewer boxes and use the average number of blocks per colour to eliminate one colour at a time.

02

Searching for the maximum: a function on [0,1] increases up to a single maximum m and then decreases; how would you approximate m if you can choose only 10 function values?

Problem-Solving

hard

Hint

Think about interval reduction rather than trying to calculate the function explicitly.

03

Death by chocolate: you and an opponent take turns breaking off and eating pieces of a rectangular chocolate bar containing one poisoned square; after seeing the bar, should you go first or second, and what is your strategy?

Problem-Solving

mid

Hint

Begin with a 1-row bar or with the poisoned square in a corner, then look for symmetry or a smaller losing position.

04

Lily-pad lunacy: a frog starts on pad 0 and wants to reach pad 10, jumping forward by either one or two pads each time. How many different ways can it get there?

Problem-Solving

entry

Hint

Let F(n) be the number of ways to reach pad n and relate it to earlier pads.

05

Missing numbers: you are given slightly fewer than 1,000,000 different numbers, each between 0 and 999,999 inclusive. How could you find, in reasonable time, a number from the range that is missing?

Problem-Solving

mid

Hint

Think about what information you need to store and what time and memory trade-offs are available.

Tutorial-style interviews with subject-specific problems, often involving unfamiliar material.

Oxford interviews typically take place at the college you applied to. You will usually have two or three interviews of around 20-30 minutes each, sometimes at different colleges if you are pooled. The atmosphere is meant to resemble a tutorial: the interviewer gives you a problem and watches how you reason through it.

20-30 minutes per interview2-3 interviews, sometimes at different colleges
  • -Expect to be given a passage, diagram, or problem you have not seen before and asked to think through it.
  • -Interviewers at Oxford will often push you until you get stuck. This is deliberate and is designed to see how you handle difficulty.
  • -Oxford tutorials involve deep 1-to-1 discussion, so showing you can engage in academic conversation is key.

Invitation → Decision: the interview timeline

Interview Invitation

Late Nov

Arrival to Interview

Early Dec

Technical Question

Mid Dec

Decision

Early Jan

Problem-Solving

6 questions
01

Let n be a perfect square. Pick floor(n/2) natural numbers from 1 to n-1 so that none is a perfect square and no two chosen numbers add to n. For what values of n is this possible?

hard

Hint

Pair the numbers that add to n and ask which pairs are unavailable because they contain a square.

02

Find the smallest natural number ending in 6 such that moving the final 6 to the front gives a new number four times as large.

mid

Hint

Work from the units digit and use ordinary long multiplication with carries.

03

For the same function, focus on Z(2). Can you find an upper bound?

mid

Hint

Try comparing 1/k^2 with a telescoping expression or grouping terms by powers of 2.

04

Given the ten-digit number 7106419902, remove three digits to obtain the largest possible seven-digit number; then explain a general strategy for deleting k digits from an n-digit number.

mid

Hint

For the first remaining digit, ask how far into the number you are allowed to look while still leaving enough digits.

05

Draw all increasing trees with 4 vertices, then determine how many increasing trees there are on n vertices.

hard

Hint

Build an increasing tree on n+1 vertices by adding the new largest label to a tree on n vertices.

06

Minimise the expression below, where the positive real numbers a_1 to a_8 add up to 27.

hard

Hint

Try interpreting each square-root term as the length of a line segment, then ask when a broken path is shortest.

Conceptual & Discussion

5 questions
01

Monkey beans: an urn contains 23 white beans and 34 black beans; a monkey repeatedly removes two beans and replaces them according to the stated colour rule until one bean remains. What colour is the final bean?

entry

Hint

Look for an invariant: what changes, and what never changes, after each move?

02

Scribble: starting from PQ and using the stated rewriting rules on letters P, Q and R, decide whether QPR, PQQ, PQR and PR can be made, and then describe a procedure for deciding any word.

hard

Hint

Try small derivations, then search for a quantity modulo something that is preserved by every rule.

03

For the function below, find a lower bound valid for all s > 1 and explain why s = 1 is excluded.

mid

Hint

Inspect the first term and then compare the s=1 case with a familiar divergent series.

04

Show geometrically why the inequality below holds.

mid

Hint

Draw a unit circle sector and compare areas of the inner triangle, sector, and outer triangle.

05

For the minimisation problem above, can the values of a_i that minimise the expression be rational?

mid

Hint

Once the straight-line condition is identified, check the proportionality constants explicitly.

Curveball

3 questions
01

Generalise the digit-moving puzzle: for a final digit d between 1 and 9, and a multiplier k, give a procedure to find the smallest number whose final digit moves to the front to give k times the original number. Is it always possible?

hard

Hint

Abstract the carry process from the concrete d=6, k=4 example and look for termination conditions.

02

For increasing trees on n vertices, give an algorithm to generate one uniformly at random.

hard

Hint

Use the recursive construction and make each valid parent choice with the right probability.

03

Extend Tidy boxes: if there are ten boxes but eleven colours, can the same two-colour-per-box guarantee still be achieved? What changes for twelve colours?

hard

Hint

Adapt the average argument, then construct or rule out a counterexample for twelve colours.

12+ weeks

mathematical foundations and TMUA mapping

  • Read the TMUA specification and list any unfamiliar topics.
  • Revise algebra, functions, sequences, proof, and elementary logic.
  • Solve untimed TMUA-style questions to identify weak areas.
  • Start a notebook of invariants, recurrences, inequalities, and algorithmic patterns.

8-12 weeks

problem-solving range

  • Work through Oxford CS sample interview problems without looking at solutions first.
  • Practise one counting or recurrence problem and one algorithmic problem per session.
  • After solving a question, write a generalisation and a counterexample.
  • Explain each solution aloud to a friend, teacher, or recorder.

4-6 weeks

timed TMUA and think-aloud practice

  • Complete full timed TMUA Paper 1 and Paper 2 practice sessions.
  • Review mistakes by classifying them as content gaps, speed errors, or reasoning errors.
  • Run mock interviews using unfamiliar prompts from official Oxford CS and tutor-published sources.
  • Practise asking clarifying questions and summarising partial progress.

1-2 weeks

mock interviews and application consolidation

  • Complete two or three realistic online mock interviews with a whiteboard or shared paper setup.
  • Re-read the personal statement and prepare technical follow-ups on every named project, book, or competition.
  • Review TMUA wrong-answer logs rather than starting large new content areas.
  • Prepare concise explanations of why Oxford Computer Science's mathematical foundations appeal to you.

the week of

logistics and calm execution

  • Test internet connection, camera, microphone, and any approved writing setup.
  • Prepare a quiet room and backup device if possible.
  • Sleep properly and do only light warm-up problems.
  • Review the rule: speak your reasoning, not just your final answer.

Unlock the full guide

  • The full Computer Science question bank, by category, with hints
  • A week-by-week preparation roadmap
  • The common mistakes that cost offers - and how to avoid them

Free Resource

The Complete Oxford Computer Science Interview Guide

Enter your email to unlock the full question bank, worked approaches, a week-by-week prep roadmap, and the mistakes that cost offers.

No spam. Unsubscribe anytime.

Watch & Learn

Oxford Computer Science Interview Videos

Computer Science Demonstration Interview

Official demonstration of the style and structure of an Oxford Computer Science interview.

Computer Science at Oxford University

Course overview from Oxford tutors and students.

Oxford University Department of Computer Science tour

Helps applicants understand the department environment.

Computer Science interview walkthrough -- Oxford Uni

Useful only as supplementary practice after official materials.

All videos are the property of their respective creators.

Frequently Asked Questions

The course can be studied for three years leading to a BA or four years leading to the Master of Computer Science (MCompSci). Students apply for the four-year course and decide by the end of third year whether to continue, subject to progression requirements.
The UCAS course code is G400.
Yes. Oxford states that all Computer Science applicants must take the TMUA, including both Paper 1 and Paper 2, as part of the application.
No. UAT-UK states that there is no pass/fail score; scores are used alongside other application information.
No formal previous qualification in Computer Science is required, but Oxford expects real interest in the subject and strong mathematical problem-solving.
For 2027 entry, Oxford states that shortlisted applicants will be invited to online interviews in December 2026.
No. Oxford's course page says applicants do not need to submit written work for Computer Science.
The course page reports a 3-year average for 2023-25 of 21% interviewed, 7% successful, and intake 55. Oxford's overall statistics also list Computer Science among the highest applicants-per-place courses, with 17.2 applicants per place across 2022-2024.
Yes. Oxford says the application process and selection criteria are the same for all students, although international applicants need to check qualification equivalence, English language requirements, visas, and test-centre arrangements.
No. Oxford says students can state a college preference or make an open application, but all colleges use the same course-level admissions process and the University awards the degree. The Computer Science department also notes lectures are organised centrally, so there is little difference in the Computer Science studied at different colleges.

Get Expert Oxford Computer Science Interview Coaching

1-to-1 mock interviews with Oxford graduates who know exactly what Computer Science interviewers look for.

Book a Free Session