Tuesday, 3 February 2015

33 TOP Embedded Systems Interview Questions and Answers for freshers and experienced pdf (Part1)

1.What is watchdog timer?
A watchdog timer (or computer operating properly timer) is a computer hardware timing device that triggers a system reset if the main program, due to some fault condition, such as a hang, neglects to regularly service the watchdog. The intention is to bring the system back from the hung state into normal operation.

2.What is semaphore?
Ans : In computer science, a semaphore is a protected variable or abstract data type which constitutes the classic method for restricting access to shared resources such as shared memory in a parallel programming environment. A counting semaphore is a counter for a set of available resources, rather than a locked/unlocked flag of a single resource.

3.What is mutex?
Mutual exclusion (often abbreviated to mutex) algorithms are used in concurrent programming to avoid the simultaneous use of a common resource, such as a global variable, by pieces of computer code called critical sections.

4.Can structures be passed to the functions by value?
yes structures can be passed by value. But unnecessary memory wastage.

5.Why cannot arrays be passed by values to functions?
Ans : When a array is passed to a function, the array is internally changed to a ‘pointer’. And pointers are always passed by reference.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6  Part7

No comments:

Post a Comment