Apply Now Student Hub Feedback
JKSSB · Written · 2026
Question from JKSSB Jr. Assistant 2026 Written
Computer Jammu & Kashmir Services Selection Board Last updated May 9, 2026
JKSSB Written 2026

Consider a system using preemptive priority scheduling with multiple real-time and user-level processes. Priority inheritance protocol is implemented.

 I. Priority inversion can occur when a low-priority process holds a resource that a high-priority process needs.
 II. Under priority inheritance, the low-priority process temporarily inherits the higher priority to avoid blocking. 
III. Priority inversion can be completely avoided if all processes are scheduled in a round-robin fashion. 
IV. Starvation may still occur for low-priority processes even with priority inheritance. 

Which of the statements are correct? 

Answer & Explanation

Click "Check Answer" to reveal
Correct Answer: Option D — I, II and IV only
Understanding Priority Inversion
Imagine three processes: High (H), Medium (M), and Low (L).

L acquires a lock on a shared resource (e.g., a printer).

H arrives and needs that resource, so it must wait for L.

M arrives. Since M has a higher priority than L, it preempts L and starts running.

H is now waiting for L, but L cannot finish because M is running. Effectively, a Medium-priority task is blocking a High-priority task. This is the "Inversion."

The Priority Inheritance Solution
Under PIP, as soon as H starts waiting for the resource held by L, the system boosts L's priority to match H. This prevents M from preempting L, allowing L to finish its work quickly and release the resource to H.
Answer verified by Quintessence Classes faculty — Karan Nagar, Srinagar.

About this question

JKSSB Jr. Assistant 2026 Written

Details

Exam JKSSB
Recruitment Jr. Assistant
Stage Written
Year 2026
View all questions from this paper

Practice 1,142+ more PYQs interactively

Filter by subject, year, and exam in real time. Get instant feedback, detailed explanations, and track your progress.

Open practice portal