The first was something like: You get a string of 'a' and 'b', and you need to find how many ways you can split it into three groups, so there will be same amount of 'a' in every group. For example: 'ababa' there are 4 ways to split the string: ab ab a ; a bab a; ab a ba; a ba ba. Or for 'bbbbb' there are 6 ways to split the string.
Junior Embedded Software Engineer Interview Questions
156 junior embedded software engineer interview questions shared by candidates
How can you swap 2 variables?
UART communication protocol?
7- what happens when an interrupt takes place?
What does malloc and calloc do in C programming
How set an arduino to build an ir sensing bot
Started with asking me to reverse a string in C, followed up by asking me to rewrite with pointer arithmetic only.
How would you count the number of set bits in the binary representation of a number?
Most of the questions was about C; difference between Macros and Functions, write a sorting program. The rest of the interview was about interrupts and embedded systems architecture.
C function to swap to integers, directly and swapping two pointers that points to integers. C function dealing with bit by bit, but i don't really remember the application. sych and asych. interrupts and ISR, asked to write ISR and draw what will happen on the memory A lot of Questions on memory and what will happen if any of those functions were executed CAN, LIN, UART, SPI and I2C.. how they work macros and functions #if rentrant functions
Viewing 21 - 30 interview questions