Embedded Systems Questions and Answers – Priority Inversion

This set of Embedded Systems Multiple Choice Questions & Answers (MCQs) focuses on “Priority Inversion”.

1. Which of the following allows a lower priority task to run despite the higher priority task is active and waiting to preempt?
a) message queue
b) message passing
c) semaphore
d) priority inversion
View Answer

Answer: d
Explanation: The priority inversion mechanism where the lower priority task can continue to run despite there being a higher priority task active and waiting to preempt.

2. What happens to the interrupts in an interrupt service routine?
a) disable interrupt
b) enable interrupts
c) remains unchanged
d) ready state
View Answer

Answer: a
Explanation: In the interrupt service routine, all the other interrupts are disabled till the routine completes which can cause a problem if another interrupt is received and held pending. This can result in priority inversion.

3. Which of the following is a part of RTOS kernel?
a) memory
b) input
c) ISR
d) register
View Answer

Answer: c
Explanation: The ISR can send the message for the tasks and it is a part of RTOS kernel.

advertisement
advertisement

4. Which of the following is an industrial interconnection bus?
a) bus interface unit
b) data bus
c) address bus
d) VMEbus
View Answer

Answer: d
Explanation: The VMEbus is an interconnection bus which is used in the industrial control and many other real-time applications.

5. Which of the following supports seven interrupt priority level?
a) kernel
b) operating system
c) VMEbus
d) data bus
View Answer

Answer: c
Explanation: The VMEbus supports seven interrupt priority level which allows the prioritisation of the resources.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. What type of interrupt handling is seen in multiprocessor applications?
a) centralised interrupt
b) handled by one MASTER
c) distributed handling
d) shared handling
View Answer

Answer: c
Explanation: The multiprocessor applications allows distributed handling in which the direct communication with the individual masters is possible.

7. Which of the following is an asynchronous bus?
a) VMEbus
b) timer
c) data bus
d) address bus
View Answer

Answer: a
Explanation: The VMEbus is based on Eurocard sizes and is asynchronous which is similar to the MC68000.

advertisement

8. Which of the following is not a priority based?
a) priority inversion
b) message passing
c) fairness system
d) message queuing
View Answer

Answer: c
Explanation: The fairness system allows the system which requires different characteristics from those originally provided and the system response that is not a priority based. The fairness system is not a priority based on where the bus access is distributed across the requesting processors.

Sanfoundry Global Education & Learning Series – Embedded System.

advertisement

To practice all areas of Embedded System, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.