Priority Ceiling Protocol – Real-time Systems MCQs 20 min Score: 0 Attempted: 0/20 Subscribe 1. What is the main purpose of the Priority Ceiling Protocol (PCP)? (A) To improve CPU utilization (B) To reduce execution time (C) To prevent priority inversion and deadlocks (D) To maximize task throughput 2. In PCP, each shared resource is assigned a: (A) Execution time (B) Deadline (C) Period (D) Priority ceiling 3. Priority ceiling of a resource is defined as: (A) Lowest priority task (B) Highest priority of all tasks that may access it (C) Average priority of all tasks (D) Current priority of the CPU 4. PCP prevents: (A) Deadlocks caused by resource sharing (B) Deadlines being missed (C) Task starvation (D) CPU underutilization 5. When can a task access a resource in PCP? (A) Only if CPU is idle (B) Any time (C) Only after execution completes (D) Only if its priority is higher than the system ceiling 6. The system ceiling in PCP is: (A) Average priority of all tasks (B) Minimum execution time (C) Task period (D) Maximum of priority ceilings of all currently locked resources 7. PCP reduces the effects of: (A) Task preemption (B) Memory overhead (C) Execution time variation (D) Priority inversion 8. If a task tries to access a resource and its priority is lower than the system ceiling: (A) It preempts other tasks (B) It is blocked (C) It executes anyway (D) CPU is idle 9. Which of the following is TRUE about PCP? (A) Tasks never get blocked (B) Inheritance of priority occurs temporarily (C) Deadlines are ignored (D) CPU utilization is always 100% 10. PCP is primarily used in: (A) Real-time systems with shared resources (B) Batch systems (C) General-purpose operating systems (D) Non-preemptive systems 11. PCP ensures that: (A) Tasks do not deadlock due to resource sharing (B) Tasks never miss deadlines under all conditions (C) Execution time is minimized (D) CPU utilization is maximized 12. When a high-priority task requests a resource under PCP: (A) It always preempts the running task (B) It is immediately aborted (C) It inherits the priority ceiling if blocked (D) Nothing changes 13. PCP combines concepts of: (A) Priority inheritance and system ceiling (B) Rate-monotonic scheduling and EDF (C) Round-robin and FCFS (D) LLF and DMS 14. Which is a key advantage of PCP over basic priority inheritance? (A) Eliminates all task preemption (B) Reduces execution time to zero (C) Prevents deadlocks as well as priority inversion (D) Requires no scheduling overhead 15. The “ceiling” in PCP is: (A) The maximum number of tasks allowed (B) Memory limit (C) CPU speed limit (D) Highest priority of tasks that may use the resource 16. PCP is considered: (A) Non-preemptive (B) Dynamic-priority protocol (C) Fixed-priority protocol (D) Background scheduling 17. In PCP, a blocked task may: (A) Be aborted (B) Inherit the priority of the task holding the resource (C) Execute immediately (D) Reduce CPU utilization 18. Which real-time issue does PCP address effectively? (A) CPU starvation (B) Priority inversion and deadlocks (C) Low memory (D) Task period variations 19. PCP guarantees that: (A) Deadlines are always met (B) No two tasks deadlock due to shared resources (C) Tasks execute non-preemptively (D) CPU utilization is always 100% 20. PCP is most useful in: (A) Single-task systems (B) Multi-tasking systems with resource conflicts (C) Batch systems (D) Aperiodic tasks only Related Posts:Priority Inheritance 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