Skip to lesson

Practice: Project Explanation Mock

A mock round is where you find the gaps before a real interviewer does. You will hear yourself, answer questions out loud, get scored by a friend and rebuild your weakest answer.

Record and review your 60-second pitch

A pitch recording is a phone recording of your 60-second pitch, given without notes. You play it back once to check length, filler words, "I" versus "we" and numbers.

This program reviews the typed transcript of a first-attempt pitch: the word count, the filler words, and how often it says "I" and "we".

Example 1 · Review a first-attempt pitch transcript

PitchRecordingReviewDemo.javaJava
import java.util.LinkedHashMap;import java.util.List;import java.util.Map;
public class PitchRecordingReviewDemo {    static final List<String> FILLERS = List.of("um", "uh", "basically", "actually", "like");
    public static void main(String[] args) {        String transcript = """                Um so basically my project is ShopLite. It is like an online store                API. We used Spring Boot and MySQL. Um we made products and orders.                Actually I did the order part, basically the stock checking, and                we also did login with JWT. It has like many features.                """;        String[] words = transcript.toLowerCase().split("[^a-z]+");        Map<String, Integer> fillers = new LinkedHashMap<>();        int iCount = 0;        int weCount = 0;        for (String w : words) {            if (FILLERS.contains(w)) {                fillers.merge(w, 1, Integer::sum);            }            if (w.equals("i")) {                iCount++;            }            if (w.equals("we")) {                weCount++;            }        }        boolean hasNumbers = transcript.chars().anyMatch(Character::isDigit);        System.out.println("Words: " + words.length);        System.out.println("Fillers: " + fillers);        System.out.println("I: " + iCount + ", we: " + weCount);        System.out.println("Numbers: " + (hasNumbers ? "yes" : "none, add counts"));    }}
Output
Words: 48
Fillers: {um=2, basically=2, like=2, actually=1}
I: 1, we: 3
Numbers: none, add counts

What this code does

  • Seven fillers in 48 words is about one in every seven words; listeners notice that more than the speaker does.
  • "We" three times and "I" once means the role is unclear, and there is no number or result at all.
  • The review gives a fix list for the next take: drop fillers, say "I wrote...", end with counts.

A word such as "like" is not always a filler, so treat this as a rough check: the point is to see patterns you do not notice while speaking.

  • Record on your phone, with no notes and a timer running.
  • Fix one thing per take, then record again.
  • Stop after three good takes in a row.

Predict the output

Predict the recording review

Work out what each review snippet prints.

Round 1 of 2

How many times does the transcript say the filler "basically"?

String t = "basically I wrote the order service, basically";
int n = 0;
for (String w : t.toLowerCase().split("[^a-z]+")) {
if (w.equals("basically")) {
n++;
}
}
System.out.println(n);

Answer 15 probing project questions

A probing round is a set of follow-up questions that dig into one project, from its purpose down to the code.

The 15 probing questions below come in three rounds, from easy to deep. Answer each one out loud in under a minute.

Example 2 · The 15 probing questions

Text
ROUND 1: WHAT AND WHY 1. What problem does it solve, and for whom? 2. Why did you choose this project? 3. What exactly was your role? 4. Which parts came from a course, tutorial or teammate? 5. Which part are you most proud of?ROUND 2: HOW IT WORKS 6. Walk me through one request from the client to the database. 7. Why Spring Boot, MySQL and JWT? What did each cost you? 8. Show me where an order is placed. Why can two buyers not get the last item? 9. What happens if the quantity is null or negative?10. How are errors sent back to the client?ROUND 3: DEPTH AND OWNERSHIP11. What was the hardest bug, and how did you find the cause?12. How did you test the order rules?13. Which query would get slow first, and what would you do?14. What would you change if you started again?15. How would it handle 10 times more users?
Drill
15 questions · under 1 minute each · about 15 minutes in total

What this code does

  • The rounds go from easy to deep, the way most interviewers move through a project.
  • Questions 8, 9 and 12 ask you to show code; have those files ready before every interview.
  • The Interview tab has model answers for many of these and for the technical follow-ups that come after them.

Interviewers rarely ask all 15, but practising all of them means no question about your own project is new. Questions 8, 9 and 12 ask you to show code, so have those files ready before every interview.

For each answer, note whether you could show the code behind it: any answer that was a guess goes on your fix list. Revise: Interview answer framing drill (opens in a new tab).

Order of execution

Order one drill

Put the steps of one probing-question drill in order.

Peer-review checklist for clarity and honesty

A peer review is a friend scoring your explanation against a fixed checklist, so the feedback is specific instead of "it was good".

This program adds five review scores from 0 to 2, gives a verdict and names the area to fix first.

Example 3 · Score a peer review

PeerReviewDemo.javaJava
import java.util.LinkedHashMap;import java.util.Map;
public class PeerReviewDemo {    public static void main(String[] args) {        Map<String, Integer> scores = new LinkedHashMap<>();        scores.put("Clear problem", 2);        scores.put("Specific role with I", 1);        scores.put("Honest about sources", 2);        scores.put("Checkable numbers", 0);        scores.put("Handles follow-ups", 1);
        int total = 0;        String weakest = null;        int lowest = Integer.MAX_VALUE;        for (Map.Entry<String, Integer> e : scores.entrySet()) {            System.out.printf("%-22s %d/2%n", e.getKey(), e.getValue());            total += e.getValue();            if (e.getValue() < lowest) {                lowest = e.getValue();                weakest = e.getKey();            }        }        String verdict = total >= 8 ? "ready" : total >= 5 ? "one more round" : "rework the pitch";        System.out.println("Total: " + total + "/10, " + verdict);        System.out.println("Fix first: " + weakest);    }}
Output
Clear problem          2/2
Specific role with I   1/2
Honest about sources   2/2
Checkable numbers      0/2
Handles follow-ups     1/2
Total: 6/10, one more round
Fix first: Checkable numbers

What this code does

  • Fixed areas with 0, 1 or 2 points make two reviewers give similar scores for the same answer.
  • < keeps the first area with the lowest score, so ties go to the area listed first.
  • A 6 is normal for a first attempt; the fix list matters more than the score.

The scale is 0 = missing, 1 = present but vague, 2 = clear and checkable. The verdict: 8 to 10 ready, 5 to 7 one more round, under 5 rework the pitch.

Swap roles, so you play interviewer for your friend first. The reviewer must ask at least three follow-up questions before scoring, and you fix the lowest score first, then score again.

Turn a weak answer into a STAR story

A weak answer is vague, has no cause or number, and leaves the interviewer nothing to ask.

Below, a weak answer about a login bug is rebuilt as a STAR story with the symptom, the method, the cause and the proof.

Example 4 · From weak answer to STAR story

Text
WEAK  "Login was not working, so I searched online and fixed it.       It took two days."STARS  After I added JWT login to ShopLite, every protected request returned   403, even with a fresh, valid token.T  Logged-in customers had to reach /api/v1/me/orders; nothing else   in the API could be tested until this worked.A  I turned on Spring Security's debug logging and read the filter chain.   My JWT filter was registered at the end of the chain, so the   authorization check ran before the user was set. I registered it with   addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class)   and wrote MockMvc tests for a valid, an expired and a missing token.R  Valid token: 200. Expired or missing: 401. The three tests now run on   every build, so the order of filters cannot break silently again.
Difference
Weak: 2 sentences, no cause, no proof · STAR: symptom, method, cause, fix, tests

What this code does

  • The weak answer's "searched online" tells the interviewer nothing; the STAR action shows a debugging method.
  • Naming addFilterBefore and the filter it goes before gives the interviewer a precise follow-up to ask.
  • The result has three checkable outcomes and a guard against the bug returning.

Pick the weakest answer from your recording and rewrite it in four labelled lines: add the symptom, the method (logs, a test, the debugger), the fix in technical words and the proof. Then say it aloud and time it: 60 to 90 seconds is the target.

Revise: Challenges you solved (opens in a new tab).

Find the bug

Find the weak STAR line

Each STAR story has one weak line. Click it.

Which line makes this story weak?

Round 1 of 2

Next step

Check your understanding

12 quick questions