Apply Now Student Hub Feedback
Computer question from Jr. Assistant exam, 2026 by JKSSB

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? 

Last updated Jun 24, 2026
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

Details

Exam JKSSB
Recruitment Jr. Assistant
Year 2026
Subject Computer
View all questions from this paper

More Computer questions

From across UPSC, JKPSC, and JKSSB papers — same subject, different years.

Practice 1,596+ more PYQs interactively

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

Open practice portal