You are on page 1of 2

Embedded Questions

Can we put breakpoint inside ISR?


What are inline functions?
What is Top half & bottom half of a kernel?
Difference between RISC and CISC processor.
What type of scheduling is there in RTOS?
What is priority inversion?
What is priority inheritance?
How many types of IPC mechanism you know?
What is semaphore?
What is spin lock?
What is difference between binary semaphore and mutex?
where do we use mutex and where semaphore?
how semaphore and mutex works?
what is paging?
what is memory mapping?
what is process context switching and explain its attributes?
difference between threads and process?
why address bus is unidirectional?
which one is faster thread or process and why?
what is process synchronization
what is critical section?
how you will debug .out file?
what is there in .out file?
why we use function pointers and where?
what is the difference betwen low and high level driver?
difference between RTOS and general OS?
explain different mode of processor?
explain different profile of ARM processor?
What is the difference between FIQ and IRQ?
What is the difference between interrupt and exception?
what is clock gating?
explain power management mechanism on any embedded based device?
how will you access register in driver?
what is race condition and how to solve it?
What is virtual memory?
How to decide whether given processor is using little endian format or big endian
format ?
How can you define a structure with bit field members?
How do you write a function which takes 2 arguments - a byte and a field in the
byte and returns the value of the field in that byte?
What is job of preprocessor, compiler, assembler and linker ?
When should we use register modifier?
What are volatile variables? Where we should use?
Can a parameter be both const and volatile ? Explain.
What are Dangling pointers and Wild Pointers
When should unions be used? Why do we need them in Embedded Systems programming?
why n++ executes faster than n+1?
Can a pointer be volatile?
What is return type of ISR?
How to reduce interrupt latency?
What is interrupt latency?

Advance level C questions


Which is better #define or enum?
How to prevent same header file getting included multiple times?
What is rvalue and lvalue?
How to call a function before main()?
What is use of %n in printf()?
How can you print a string containing '%' in printf?
How to free a block of memory previously allocated without using free?
What will be the output of printf(“%d”)?
What is the return values of printf and scanf?
Declare a function pointer that points to a function which returns a function
pointer ?
What is indirection?
How can you determine the size of an allocated portion of memory?
What is the difference between void foo(void) and void foo()?

Communication interface questions

What is the maximum distance of the I2C bus?


How can I generate a repeated start condition in I2C?
Can I abort an ongoing I2C bus transmission?
Why does the SCL line have to be bi-directional in multi master and unidirectional
in single master mode?
What bus speeds are available with I2C?
Where do we use I2C Bus?
Advantages of SPI over I2C and disadvantage also.
difference between rs232 and rs485 in uart
expalian the interface between microprocessor/microcontroller with i2c,spi and
uart
difference between synchronous and asynchronous communication and which one is
better?

You might also like