Skip to main content
Preterview

Claude Startups member

← All guides
Guide

Developer Mock Interviews: CS, Project Explanations and Follow-Ups

First published · Updated · By Ji Dongseok (CEO of JI Lab; builds and runs Preterview)

A developer mock interview works better when you split it into four axes, drill each separately, and only mix them in the last few days: CS fundamentals, project deep-dives, behavioral questions, and the technical round that follows a coding test. Practicing everything blended together hides which axis is actually weak.

If you wrote 'cached with Redis' on your resume and then stalled on 'why Redis', or you know what an index is but your spoken explanation ends after two sentences, this guide is for you. It covers how to drill each axis, a follow-up chain sheet you can fill in, how to divide the work between solo, study-group, and AI practice, and a two-week routine before the interview.

Mock interviews start at $6.99, report included.

Start a mock interview

Why split a developer mock interview into four axes?

Because each axis stalls for a different reason. CS fundamentals stall on knowledge gaps, project deep-dives stall on the missing 'why', behavioral answers stall by rambling without structure, and technical rounds stall when you cannot think out loud. Different causes need different drills.

AxisWhat gets askedHow to drill
CS fundamentalsOS, networking, data structures, databasesSay definition, comparison, application aloud
Project deep-diveDesign reasons and troubleshootingWhy, alternatives, result per resume line
BehavioralCollaboration, conflict, failureThree stories in STAR form
Technical roundLive coding, design discussion, code reviewNarrate your thinking while solving

If the table extends beyond the screen, swipe left or right to see all columns.

The weighting depends on the posting. Junior roles often lean on fundamentals and project explanation, while experienced roles lean on design judgment and collaboration. Read every requirement and preferred qualification in the posting before deciding where your hours go. Role-specific question lists live in the Backend Developer Interview Questions and Frontend Developer Interview Questions guides.

How do you practice CS fundamentals out loud?

Use a three-sentence frame and say it aloud: definition, comparison, application. For an index: 'An index is a structure that speeds up reads. It costs write performance and storage. So in this project I added one only to the heavily queried columns.' Once the frame is automatic, an unfamiliar question still gets a skeleton.

Anchor your explanations to the official docs of the technology you actually used. Asked about transaction isolation, someone who used PostgreSQL can answer from the PostgreSQL isolation documentation (official docs) and add that the same level name can behave differently in other databases. A frontend candidate can point to React's distinction between trigger, render, and commit (official docs) to explain why a render is not the same thing as replacing the DOM.

Wherever you stall mid-explanation is your restudy list. You knew processes versus threads, but 'why does context switching cost differ' stopped you, so that is the topic to revisit. A shorter list of topics you can explain down to the design rationale holds up better under follow-ups than a long list of keywords.

What do you prepare for the project deep-dive?

For every sentence on your resume, write a three-step answer in advance: why that technology, what the alternatives were, and what the result was. If you quote a number, state how it was measured. If you never measured, say so rather than inventing a figure.

Here is a hypothetical example for illustration. The resume line is 'cached the product list API with Redis'. Why: list requests made up most of the traffic and you wanted to cut database load. Alternatives: an in-process cache was considered, but with two app servers you worried about inconsistency. Result: you compared response times locally with a load tool and have no production numbers. Then reopen the code so you can answer the likely follow-up 'how did you invalidate it' with what actually happened, such as deleting the key on a product update event.

If the honest reason was 'it had the most tutorials', say that and add the criteria you would use today. A justification invented after the fact tends to contradict the code. Also practice walking your architecture with words only: 'a request comes in from the client, passes the gateway, reaches this service', so you can do it without a whiteboard.

Add your resume or a job posting and the interviewers ask about it; you answer by voice or text. One interview uses 5 passes. Passes are a one-time purchase with no subscription and last 90 days.

Start a mock interview

How do you build a follow-up chain sheet?

This is a Preterview editorial suggestion, not a standardized form: attach two levels of expected follow-ups to every prepared answer and keep them in a table. Each row holds the question, your answer in one line, the first follow-up, the second follow-up, and what to verify. The filled example below is hypothetical.

ColumnExample entry
QuestionYou said an index sped up reads. Which index?
Answer summaryA composite index on the two search conditions
Follow-up 1How did you choose the column order?
Follow-up 2What do you check if it is still slow with the index?
To verifyYour database's official docs, a saved query plan

If the table extends beyond the screen, swipe left or right to see all columns.

When a follow-up goes past what you know, separate three things out loud: what you know, what you infer, and what you would need to check. 'I would need to confirm the internals, but if it is B-tree based I would expect this behavior.' Keeping inference and fact distinct makes the next verification question easier to handle. Follow-ups are hard to reproduce alone, so ask your study partner or AI tool for two follow-ups per answer as a standing rule.

How do behavioral questions work in developer interviews?

Pick one story each for a collaboration conflict, an incident or troubleshooting session, and a decision you would make differently, and shape them as situation, task, action, result. The STAR breakdown and the advice to describe your own actions and role specifically and truthfully come from MIT CAPD (official guide). In team projects, separate what the team did from what you did.

Hypothetical example for illustration. Story: a code review disagreement. Situation: two proposals for an API response shape. Task: reach agreement before the release date. Action: you built a comparison table using the frontend team's ease of use as the criterion and shared it. Result: the other proposal was adopted and the strengths of yours were scheduled for the next version. The outcome does not have to be your idea winning. What you did during the process carries the answer.

How should solo, study-group, and AI practice divide the work?

ModeBest forLimits
SoloRecording for length and filler, saying concepts aloudNo follow-ups, no nerves
Study groupPlaying interviewer, speaking in front of peopleScheduling, uneven feedback
AI toolRepeating the same question, feedback on formVerify technical claims yourself

If the table extends beyond the screen, swipe left or right to see all columns.

Solo practice suits recording answers to check length and filler words, and explaining concepts rubber-duck style. A study group lets you play the interviewer, which trains you to spot gaps in your own answers, and gives you the experience of speaking in front of people. The costs are scheduling and feedback quality that depends on the group.

AI mock interviews suit repetition, running the same deep-dive question several times until the answer is automatic, plus feedback on form such as leading with the point. Preterview runs the mock interview from your resume or portfolio and provides post-interview feedback and a portfolio review. Check current conditions on the pricing and usage terms page and see what the output looks like in the sample report. Whatever the tool, cross-check any technical claim against official docs. For a fuller comparison of practice modes, see the Mock Interview Practice guide and, for AI-specific preparation, How to Prepare for an AI Mock Interview.

How do you structure the two weeks before the interview?

The schedule below is a Preterview suggestion. Adjust it to the time you actually have. Week one is for gathering material: pull likely questions across the four axes from the posting and your resume, draft answers, and finish the three-step deep-dive answers and STAR drafts. You are not rehearsing aloud yet.

Week two is for saying it aloud. Take one axis per day, answer the same questions several times, and schedule two or three mock interviews in this window. After each one, write a short review note: the questions that stalled you, the answers that ran long, and the concepts you did not know. Adding sessions without review tends to reproduce the same stalls.

The last two days are for nothing new. Pick a few weak answers from the review notes and polish them, re-read the company's product and engineering blog, and prepare questions to ask. The night before, rest matters more than another rehearsal.

Sources and scope

Key takeaways

  • Read every requirement in the posting before deciding which of the four axes gets the most hours.
  • Write a why, alternatives, result answer and two levels of follow-ups for each resume line.
  • Quote numbers only with how they were measured, and say plainly when you did not measure.
  • After each mock interview, note the stalled questions, long answers, and unknown concepts.

Frequently asked questions

Where can developers actually run a mock interview?

Most people combine sources: an interview study group from a community or chat, a one-off mock with a friend who works as an engineer, and an AI mock interview tool for repetition. Use each for what it does well rather than expecting one to cover everything.

My only projects are bootcamp assignments and clone coding. Can I handle a deep-dive?

Yes. A deep-dive asks about the reasoning behind decisions, not project scale. What you implemented differently from the original and why, where you got stuck and how you got out, and what you would change next time are enough material.

How do I practice live coding for the technical round?

Solve problems while narrating your approach, why you chose a data structure, and the time complexity. Record yourself when alone, and when you have a partner, ask them to change a constraint midway so you practice adjusting out loud.

CS is too broad. Where do I start?

Start with the requirements in the posting and the technologies you actually used in your projects. Concepts tied directly to the database, framework, and network setup on your resume come first, then widen to shared ground like operating systems and data structures.

Is a study group useful if skill levels differ a lot?

Yes, if questions are prepared in advance. Even a partner who cannot judge technical accuracy can tell you whether you led with the point, kept a sensible length, and stayed composed under follow-ups. Verify technical facts against official docs separately.

What if a question I failed in practice comes up in the real interview?

Answer from what you wrote in your review note after checking it. A question you already stalled on and revisited is one you are more likely to handle, and for what is still unknown, separate what you know from what you would need to confirm.