Tuesday 3 February 2015

Most recent Embedded Systems Interview Questions and Answers

31.What is the use of having the const qualifier?
The const qualifier identifies a specific parameter or variable as read-only attribute to the function or to the entire program. This can come in handy when we are dealing with static data inside function and in a program.

32. Why do we need a infinite loop in embedded systems development? What are the different ways by which you can code in a infinite loop?
The infinite loops are coded in to give a delay or sleep to the program execution for a specific amount of clock ticks. They can be implemented as:
while(;;);
for();
(or)
Loop:
goto Loop;

33. What is the difference between embedded systems and the system in which rtos is running?
Embedded system is just combination of s/w and h/w that is some embedded sys may have os some may not and rtos is an os.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6  Part7

No comments:

Post a Comment