Priority Inheritance Protocol – Real-time Systems MCQs 20 min Score: 0 Attempted: 0/20 Subscribe 1. What is the main purpose of the Priority Inheritance Protocol (PIP)? (A) To prevent task starvation (B) To reduce execution time (C) To improve CPU utilization (D) To prevent priority inversion 2. Priority inversion occurs when: (A) A low-priority task executes first (B) A high-priority task waits for a lower-priority task (C) Tasks have the same priority (D) CPU is idle 3. In PIP, a lower-priority task holding a resource: (A) Keeps its original priority (B) Is suspended (C) Gets demoted (D) Temporarily inherits the higher priority of waiting tasks 4. PIP is used in: (A) Real-time systems with shared resources (B) Non-preemptive scheduling (C) Batch processing systems (D) General-purpose operating systems 5. Which problem does PIP directly solve? (A) Deadlines missed due to long execution (B) Task starvation due to low CPU (C) Priority inversion (D) High memory usage 6. Under PIP, after releasing the shared resource, a task: (A) Keeps the inherited priority permanently (B) Reverts to its original priority (C) Gets the lowest system priority (D) Is suspended indefinitely 7. PIP is applicable for: (A) Aperiodic tasks only (B) Tasks sharing resources (C) Independent periodic tasks (D) Background tasks 8. Which is a disadvantage of PIP? (A) High preemption overhead (B) Can cause unbounded priority inversion (C) Memory intensive (D) Reduces CPU utilization 9. PIP prevents which scenario? (A) Low-priority task blocking high-priority tasks (B) Deadlines always missed (C) Task starvation (D) CPU underutilization 10. Which protocol is an alternative to PIP? (A) Priority Ceiling Protocol (PCP) (B) Rate Monotonic Scheduling (C) Earliest Deadline First (D) Round Robin 11. When a low-priority task inherits a higher priority: (A) It can preempt tasks of the higher priority (B) Its original priority is lost (C) It executes at the inherited priority until releasing the resource (D) System halts 12. PIP helps in improving: (A) Disk I/O (B) System memory usage (C) CPU speed (D) Predictability in real-time systems 13. Which real-time issue does PIP address in shared resource environments? (A) Jitter (B) Deadlines missed (C) Execution time variation (D) Priority inversion 14. In PIP, the inheritance is: (A) Permanent (B) Only for periodic tasks (C) Random (D) Temporary until resource release 15. Which scenario benefits most from PIP? (A) Single-task systems (B) Multi-task systems with shared critical sections (C) Non-preemptive tasks (D) Batch processing systems 16. PIP ensures that: (A) CPU utilization is maximized (B) Low-priority tasks always execute first (C) High-priority tasks are never blocked indefinitely (D) Tasks run non-preemptively 17. PIP is usually implemented in: (A) Batch operating systems (B) General-purpose desktop OS (C) Real-time operating systems (D) Cloud systems only 18. Priority inheritance is triggered when: (A) A high-priority task waits for a locked resource (B) A high-priority task preempts another (C) A task completes execution (D) CPU is idle 19. Which problem can still occur under PIP? (A) Infinite priority inversion (B) Execution time exceeding WCET (C) CPU starvation (D) Deadlocks if not combined with other protocols 20. After releasing the resource in PIP, the task: (A) Continues at inherited priority (B) Loses all scheduling rights (C) Returns to original priority (D) Is immediately preempted Related Posts:Priority Ceiling Protocol - Real-time Systems MCQsFixed vs Dynamic Priority Scheduling - Real-time Systems MCQsDHCP (Dynamic Host Configuration Protocol) MCQsPriority Based Process Scheduling in operating systemsPROTOCOL OFFICERS Past Paper PPSCSimple queue, circular queue, priority queue, deque MCQs