Task Synchronization – Real-time Systems MCQs

20 min
Score: 0
Attempted: 0/20
Subscribe
1. What is the main purpose of task synchronization in real-time systems?



2. Which problem occurs when two or more tasks access a shared resource simultaneously without proper synchronization?



3. Which mechanism is commonly used for task synchronization?



4. A mutex is primarily used to:



5. Priority inversion occurs when:



6. Which protocol can prevent priority inversion in task synchronization?



7. Deadlock in task synchronization occurs when:



8. Which of the following is TRUE about semaphores?



9. A binary semaphore is equivalent to:



10. In real-time systems, task synchronization is critical to:



11. Which task may inherit priority temporarily in task synchronization?



12. Task synchronization can be implemented using:



13. What is the effect of improper task synchronization?



14. Priority Ceiling Protocol (PCP) is used in task synchronization to:



15. A counting semaphore can be used to:



16. A monitor is:



17. What is a common issue when multiple tasks share resources without proper synchronization?



18. In task synchronization, “blocking time” refers to:



19. Which of the following is used to avoid simultaneous access to critical sections?



20. Task synchronization ensures:



Contents Copyrights Reserved By T4Tutorials