Demo case file · Technical
Automotive electronics supplier
Embedded Software Engineer
This is a demo case file: a realistic example written from commonly known interview formats, not a real candidate's interview experience.
Questions asked
- Write a C function that reads from a ring buffer filled by an interrupt handler, without losing or duplicating bytes.
- What does the volatile keyword do in C, and when is it not enough?
- 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