Skip to main content

Cambridge Computer Science

Cambridge Computer Science: prove the limit, then meet it

Frontier ACE

The Cambridge CS interview bank

Cambridge CS interview questions
40+
Cambridge CS interview questions
of real interview questions covered
90%+
of real interview questions covered
mock interviews with follow-ups
1v1
mock interviews with follow-ups
scoring dimensions after each answer
5
scoring dimensions after each answer
Start a mock interview
5 sections460 words3 min read3 official sources
Cambridge Computer Science is among the hardest courses to enter: 14 applications per place in the 2025 cycle, with 128 accepted. Every applicant sits the TMUA, and applicants to Peterhouse or Trinity also sit the CSAT. The typical offer is A*A*A (IB 41 to 42 with 776 at Higher Level), with Mathematics required and Further Mathematics expected if your school offers it; Colleges usually want an A* in Maths or Further Maths and may want an A* in Chemistry or Physics if taken. Written work is not usually required. The course page notes that 87% of entrants in 2018, 2019 and 2023 achieved at least A*A*A*. Colleges run the interviews, in the main period from 7 to 18 December, online or in person as in the table below. University-wide dates and a preparation plan are on the Cambridge interviews overview.
Students discussing code on a big screen
Students discussing code on a big screen · Illustration · AI-generated
Part 1

Will your College interview you online or in person

At Cambridge the College decides the format, and you usually cannot choose; only exceptional cases such as a disability or a refused visa may change it. The table shows each College’s arrangement for Computer Science applicants in 2027, split by whether you are based in the UK or abroad.
CollegeApplicants based in the UKApplicants based outside the UK
14 CollegesChrist's, Downing, Fitzwilliam, Girton, Hughes Hall, Lucy Cavendish, Magdalene, Murray Edwards, Newnham, Queens', St Catharine's, St Edmund's, St John's, WolfsonOnlineOnline
1 CollegeClare (all courses except Medicine and Music)OnlineOnline
1 CollegeHomertonOnlineOnline
1 CollegeJesusOnlineOnline
4 CollegesChurchill, Emmanuel, King’s, SelwynIn personIn person
5 CollegesCorpus Christi, Peterhouse, Robinson, Sidney Sussex, Trinity HallIn personOnline
2 CollegesPembroke, TrinityIn personYour choice
1 CollegeGonville & CaiusUK and Ireland: your choiceOnline

Copied from the 2027-entry table on Cambridge’s interview page (checked 31 October 2026). Applicants in the Republic of Ireland can choose at Corpus Christi. Four Colleges interview everyone in person, so an overseas applicant to one of them needs to plan a December trip and visa. Your invitation is the final word.

Part 2

What a CS interview problem feels like: one original example

How many weighings for nine coins
Nine identical-looking coins include one that is heavier. Using a balance with no weights, what is the fewest weighings that always finds it? What about n coins?
Frontier ACE mock practice4 steps + answer
  1. 1
    Find a method
    Split into three groups of three; weigh A against B. The heavier side holds the coin; if they balance, it is in C. One weighing narrows it to three coins.
01

A method with no bound

Wrong
Saying “two works” and stopping.
Right
Add, unprompted, why one cannot work.
Spot it:
They ask “are you sure that is the minimum?”.
02

Binary habit

Wrong
Splitting in half by habit: four against four.
Right
Count the outcomes of a weighing first, then decide how many groups.
Spot it:
Halving takes three weighings, one more than thirds.
Revise

What to revise for Cambridge CS

Our recommended revision list, built from the admissions-test syllabus and the kinds of problems interviews use.

01

Discrete mathematics

Most Computer Science interview problems are discrete maths.

  • Counting and combinations
  • The pigeonhole principle
  • Parity and invariants
  • Basic graph theory
02

Proof

“Is that the minimum?” needs a proof, not examples.

  • Induction
  • Contradiction
  • Lower-bound arguments
03

Algorithmic ideas

You may describe a procedure and estimate how many steps it takes.

  • Binary search and divide and conquer
  • Recursion and iteration
  • Intuition for complexity
  • Sorting
04

Logic and number systems

Binary, logic gates and truth tables are the base language of computing.

  • Binary and base conversion
  • Propositional logic and truth tables
  • Modular arithmetic
05

TMUA mathematics

TMUA reasoning questions share their thinking with interview proofs.

  • Necessary and sufficient conditions
  • Spotting errors in proofs
  • Functions and sketching
Practise

4 practice questions for this course

Exclusive questions in the style of this interview. Talk each one through out loud first, then open the hints one at a time.

01Question 1New for this course
At a party some pairs shake hands, each pair at most once. Prove that the number of people who shook an odd number of hands is even.
Frontier ACE mock practice4 steps
  1. What it tests
    Whether you can find the conserved quantity (twice the number of handshakes) and finish with parity.
  2. 1
    Step 1
    Try a small case: three people all shaking hands, each has 2, so zero people are odd.
Describe an algorithm that finds the first character that appears twice in a string. What are its time and space complexity? How would you test it?
Frontier ACE mock practice3 steps
  1. What it tests
    This tests hash sets and edge cases. The problem is simple, but “first” and “repeated” both need precise definitions, and the test design reveals engineering habits.
  2. 1
    Step 1
    Scan left to right and keep a set of characters seen so far. Return a character when it is already in the set; otherwise add it.
What does this function compute? f(n) = 1 when n = 0, otherwise f(n) = n × f(n − 1). Rewrite it without recursion. If n is very large, what breaks first?
Frontier ACE mock practice3 steps
  1. What it tests
    This tests recursion, the call stack and numeric growth. The interviewer wants to see that recursion depth and integer overflow are two different limits.
  2. 1
    Step 1
    It computes the factorial, f(n) = n!. Use a loop from 1 to n and keep the result in one variable.
What is the last digit of 7 to the power 2026? What are the last two digits?
Frontier ACE mock practice3 steps
  1. What it tests
    This tests modular arithmetic and periodicity. The interviewer wants you to compute a few small powers, spot the cycle, and explain why it must repeat, rather than reaching for a calculator.
  2. 1
    Step 1
    The last digits run 7, 9, 3, 1 and repeat every four powers. Since 2026 leaves remainder 2 on division by 4, the last digit is 9.
Checklist

The two weeks before your interview

0 of 8 done

Progress is saved in this browser only.

Practise

More questions by subject

By university and course

More interview guides

Cambridge

Oxford

Oxford interviewsOverviewOxford interviews online in December; invitations go out from mid-November to early December, and decisions arrive on 12 January 2027. Below are 6 exclusive interview questions with step-by-step answers.Oxford PPE interviewAbout 38% of Oxford PPE applicants are interviewed and 12% receive an offer; the interview tests reasoning, not memorised knowledge.Oxford E&M interview18% of Oxford E&M applicants are interviewed and 5% receive an offer; the interview does not test economics or management you have studied.Oxford Maths interviewOxford Mathematics now uses both TMUA papers; interviews are online in December, about 25 minutes each.Oxford CS interview21% of Oxford Computer Science applicants are interviewed and 7% receive an offer; the TMUA decides who is interviewed, and each interview runs like a 30-minute tutorial.Oxford Engineering interview37% of Oxford Engineering applicants are interviewed and 15% receive an offer; the interview and the ESAT score together decide who is made an offer.Oxford Physics interview31% of Oxford Physics applicants are interviewed and 11% receive an offer; the interview watches you turn an unfamiliar situation into mathematics and read the physics back out.Oxford Chemistry interviewOxford Chemistry has no admissions test; 63% of applicants are interviewed and 17% receive an offer, so selection happens mostly at interview.Oxford Biology interview46% of Oxford Biology applicants are interviewed and 15% receive an offer; the interview is less about facts than how you read a graph or a dataset in front of you.Oxford English interview67% of Oxford English applicants are interviewed and 22% receive an offer; there is no test, so your written work and how you read an unseen text carry the weight.Oxford History interview74% of Oxford History applicants are interviewed and 23% receive an offer; there is no test, and the interview may cover your essay and a short passage.Oxford Materials interview62% of Oxford Materials applicants are interviewed and 22% receive an offer; there is no admissions test for 2027 entry, and every shortlisted candidate is interviewed by two colleges.

drag the windows

Frontier ACE · mock interview demo

Practise this question on Frontier ACE

A timed preview: read the question, think for a few seconds, then answer aloud. Frontier ACE scores the attempt on five dimensions.

Open the sample question
Scores

KEY NUMBERS

80/ 100

Tech×3582
Struct×2074
Relev×2088
Engage×1570
Deliver×1079
Full report

Sister site

Practise saying the thinking out loud

Frontier ACE is Frontier Academy’s AI interview practice site for Oxford, Cambridge and Imperial applicants. It runs timed video-style practice and mock interviews, then scores each attempt on five dimensions. Use it to rehearse the conversation, then come back to the subject problems here.

Frontier ACE is a Frontier Academy site. Links open in a new tab and are tagged as referrals.

Sources

Official sources

3 official sources (click to view)
FAQ

Frequently asked questions

Do I need the CSAT for Cambridge Computer Science?
Everyone takes the TMUA; only applicants to Peterhouse or Trinity also take the CSAT.
What if my school does not offer Further Maths?
The course page asks you to contact your shortlisted Colleges before applying; they will confirm whether you are eligible for Computer Science there.
Can I choose between online and in person?
Usually not: the College decides, as in the table above. A few Colleges give overseas applicants a choice (Pembroke, Trinity), and exceptional cases such as a disability or a refused visa are at the interviewing College’s discretion.
Does having more interviews mean I am a stronger candidate?
No. Cambridge says the number of interviews does not relate to how strong your application is. Most have one or two, some courses and Colleges hold three or four, and winter pool applicants may get an extra interview at another College in mid to late January.

UAT-UK, Pearson, OCR, the University of Cambridge, Imperial College London and other names and logos belong to their respective owners.

Prepare for Cambridge Computer Science interview in four weeks

Work through the original subject questions, then rehearse the conversation with FrontierACE. Both are built by Frontier Academy.