Mockd

Demo case file · Technical

Automotive electronics supplier

Embedded Software Engineer

Technology Technical Hard 60 min

This is a demo case file: a realistic example written from commonly known interview formats, not a real candidate's interview experience.

Questions asked

  1. Write a C function that reads from a ring buffer filled by an interrupt handler, without losing or duplicating bytes.
  2. What does the volatile keyword do in C, and when is it not enough?
  3. A device in the field resets randomly about once a week. How do you debug it?

What to expect

Whiteboard C with a lot of attention to what happens if the interrupt fires between two specific lines. The reset question was open-ended — they wanted watchdogs, stack overflow, brown-outs and logging reset reasons to non-volatile memory, roughly in that order of suspicion.

Practice this exact interview.

Mockd plays the interviewer live, using these questions and notes, then grades your answers.

Start a practice session Browse all case files