(a) Differentiate between process and thread. (b) Draw and explain the process state transition diagram of an operating system. (c) What is deadlock…

(a) Differentiate between process and thread.

(b) Draw and explain the process state transition diagram of an operating system.

(c) What is deadlock in an operating system? What are the four necessary and sufficient conditions behind a deadlock?

(d) Consider that the following processes appeared according to the table below:

ProcessBurst time (ms)Priority
P₁103
P₂53
P₃34
P₄21
P₅12

Considering the given information, produce Gantt charts for the following schedules –

(i) FCFS (ii) Non-preemptive (low value means higher priority) (iii) RR (Quantum value = 1)

From the BCS Technical Cadre (CSE) October 2025 – 49th BCS Written (Special) (BPSC) exam, question 101 of 123.

More from this paper