1. What was your role in previous projects. 2. Dangling pointers 3. memory leak 4. linked list related questions
Firmware Interview Questions
2,355 firmware interview questions shared by candidates
Given a 4D array, print the sizeof(..) of different dimensions
Given only uint4_t and uint5_t, try to make an "add" API which needs to add 2 36 bits numbers along with overflow detection
How much experience with C programming?
1) Stack vs Ques 2) Mutex and Semaphores 3) GPIO vs RTOS 4) Write a code for Endianness?
1. What are the various memory segments of a C program? 2. What are the design constraints while implementing an ISR? 3. What are the contents of vtable? 4. What is a copy constructor and why we need it? 5. How to achieve Encapsulation in C? 6. define function pointer returing char* and takes two int arguments 7. Define and declaration of a HW Register of type integer to be placed at 0x41038000; volatile int *HW_Register; HW_Register = (uint32_t *)0x41038000 8. Any error in below code? #include <stdio.h> int main () { char a [] = {'h','e','l','l', 'o'}; char * b = "Hello"; printf("%d %d", sizeof (a), sizeof(b)); strcat (a, "world"); strcat (b, "world"); } 9. Difference between Thread & Process? RTOS 10. What are the various IPC mechanisms available and which is the fastest? 11. what is the difference between Mutex, Semaphore, Binary semaphore? 12. Difference between blocking and non-blocking socket? What are the socket APIs used? 13. How to achieve multiplexing in sockets? Explain briefly 14. While designing a task how do you decide to go for event driven approach or polling? Can you give an example for each scenario? 15. How to fast Producer and slow consumer problem in flow control context in high speed ethernet connection? 16. Explain SOLID principles with an example for each? 17. Write a program to generate a hex-coded string of a given integer Ex: Input: 100 Output: 0x64 18. Remove all special characters from a given string buffer without using additional buffer Eg.: Input: “12?45*AB-“ Output: “1245AB” 19. Reverse the bit sequence in the given integer Eg.: 10110110 (or) 0xB6 01101101 (or) 0x6B 20. Write a class for implements stack with push, pop, length, isempty, isfull methods
Asked about Aligned malloc problem.
Print smallest of three numbers
How do you go about learning a new skill
Talk about your relevant projects
Viewing 2341 - 2350 interview questions