Embedded System-Assignment Solution
Embedded System-Assignment Solution
Ans. Embedded systems avoid lots of electronic components and they have rich
built in functionality. They reduces the cost and maintenance cost and the
probability of failure of embedded system is less so embedded system are in very
much use now a days.
Q7. What are the languages used in embedded system?
Ans. Assembly language and C are basically used for embedded system. Java and
ADA are also preferred.
Q8. How does combination of functions reduce memory requirement in embedded
system?
Ans. By using functions the amount of code that has to be dealt with is reduced thus
redundancy is eliminated for everything common in function.
Q9. What is the significance of watchdog timer in ES?
Ans. It is a timing device which is set to predefined time interval and some task is to
be performed at that time. It is used to reset original state when an inappropriate
event take place.It is usually operated by counter device.
10. What is the difference between mutexes and semaphores?
Ans. Semaphores are the synchronization tool to overcome critical section problem.
Mutex is also a tool that is used to provide deadlock free mutual exclusion. It
protects access to every critical data item, if the data is locked and is in use,it either
waits for the thread to finish or awakened to release the lock from its inactive state.