Firmware Interview Questions

2,356 firmware interview questions shared by candidates

1. Implement alloc and free function in c, the alloc function always return a pointer to a 1k memory chunk, the free release this memory chunk you can not use malloc, calloc, realloc and free. 2. You need to implement a timer module that has a function timer that gets as input a time and function pointer and call the function when the time is expire, what is the best data structure to use to get the next time in o(1) 2.
avatar

Firmware Engineer

Interviewed at Qualcomm

3.8
Mar 18, 2021

1. Implement alloc and free function in c, the alloc function always return a pointer to a 1k memory chunk, the free release this memory chunk you can not use malloc, calloc, realloc and free. 2. You need to implement a timer module that has a function timer that gets as input a time and function pointer and call the function when the time is expire, what is the best data structure to use to get the next time in o(1) 2.

Implement in C some kind of routine that works such that you can, via a function, provide it with a time T and a void* callback, such that in T time from now, the callback will be automatically called. Specifically, optimize the solution to the first 256 units of time since most schedueling will be done for them. To somewhat rephrase things, the system simulates several timers at once using its single internal clock, optimized around a specific time (i.e. the worst case can still be O(log(n)) but the most common/average case of times between 0 and 256 need to be O(1) The second question was more like a riddle,
avatar

Firmware Engineer

Interviewed at NVIDIA

4.6
Sep 29, 2025

Implement in C some kind of routine that works such that you can, via a function, provide it with a time T and a void* callback, such that in T time from now, the callback will be automatically called. Specifically, optimize the solution to the first 256 units of time since most schedueling will be done for them. To somewhat rephrase things, the system simulates several timers at once using its single internal clock, optimized around a specific time (i.e. the worst case can still be O(log(n)) but the most common/average case of times between 0 and 256 need to be O(1) The second question was more like a riddle,

Viewing 491 - 500 interview questions

Glassdoor has 2,356 interview questions and reports from Firmware interviews. Prepare for your interview. Get hired. Love your job.