(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:
| Process | Burst time (ms) | Priority |
| P₁ | 10 | 3 |
| P₂ | 5 | 3 |
| P₃ | 3 | 4 |
| P₄ | 2 | 1 |
| P₅ | 1 | 2 |
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
- Previous: (a) Analyze the time and space complexity of the following code snippet: for i in N: for j in M: print (i,j) (b) What are the required…
- Next: (a) What is a DBMS? Explain the advantages and disadvantages of DBMS. (b) Why do we use a trigger? Write a trigger that inserts the…
- All questions in BCS Technical Cadre (CSE) October 2025 – 49th BCS Written (Special) (BPSC)