Write a C program to encode bits in a 32-bit number such that, most significant 16 bits should be reversed but lower 16 bits should be untouched. Then asked to generalize this to any number of bits.
Embedded Software Developer Interview Questions
4,379 embedded software developer interview questions shared by candidates
Datastructure that is accessed by both int handler n exception handler
These are the main technical questions that I had encountered in the two technical interviews: - Interrupt routine life time. - Pins of the SPI and its operation. - Causes of stack overflow. - Difference between memories in terms of speed/density/usage/cost/operation. -PWM operation and parameters. -Difference between startup code / boot loader. -In which memory the Interrupt vector table lies and in which position inside the memory. -Function that takes an array and eliminates any repetitive elements inside an array and returns it (find a proper way to return it). -Function that takes an array and prints another array with same size where the elements in the new array are the number of repetitive times of its indeces .in the input array. Example : Input = [1 2 4 5 6 2 4 0 2 2 3 3] output=[1 1 3 2 1 0 1 0 0 0 0 0] Explanation: 0 was repeated 1 time in the input array so we write 1 at the 0 index at the output array. 1 was repeated 1 time in the input array so we write 1 at the 1 index at the output array. 2 was repeated 3 times in the input array so we write 3 at the 2 index at the output array. 3 was repeated 2 times in the input array so we write 2 at the 3 index at the output array. 4 was repeated 1 time in the input array so we write 1 at the 4 index at the output array. 5 was repeated 0 time in the input array so we write 0 at the 5 index at the output array. ... and so on so forth
"Why are sewer caps round?"
About assembly implementation of spinlock?
How to swap 2 variables without using a third variable. And the team leader asked to write a code snippet for assigning 5 colors to the countries on the world map so that no adjacent country has same color.
Equivalent circuits(resistor, capacitor,inductor)
in written test there were 10 questions for half an hour.clear a bit ,toggle a bit,function for itoa ,insert and display linked list,assign a value to address (0x00024), in second round 1.difference between long and short de bounce period,what is background process when interrupt occurs,
How to design a memory management system
Write a program to check if the given array is palindrome or not ??
Viewing 21 - 30 interview questions