FCFS (First Come First Serve): Executes in the order processes arrive, no burst-time consideration.
SJF (Shortest Job First): Picks the process with the least CPU burst time → minimizes average waiting time.
Round Robin: Allocates equal time slices (quantum) cyclically, ignoring burst length.
Priority Scheduling: Selects based on priority value, not burst time (though burst time can be used as a priority heuristic).
For a deadlock to occur in a system, the following Coffman’s conditions must all hold together:
Mutual Exclusion – At least one resource must be held in a non-shareable mode.
Hold and Wait – A process holding resources is waiting for additional resources.
No Preemption – Resources cannot be forcibly taken away; they are released only voluntarily.
Circular Wait – A closed chain of processes exists, each waiting for a resource held by the next process in the chain.
If even one of these is not satisfied, deadlock cannot occur.
Use of semaphores ✅
Because the Dining Philosopher problem is a classical synchronization problem, and it is solved using semaphores / monitors / mutex locks.
Overlays → related to memory management, not correct.
Mutual exclusion → is a requirement, but the standard answer in MCQs is semaphores.
Bounded waiting → is a condition, not the actual solution technique.
So the correct choice from the given options is "Use of semaphores."
| List-I | List-II |
| (A). Seek Time | (I). Total number of bytes transferred, divided by the total time between the first request for service and the completion of the last transfer |
| (B). Access Time | (II). Time taken for the disk to rotate the desired sector to the disk head |
| (C). Rotational Latency | (III). Seek Time + Rotational Latency |
| (D). Disk Bandwidth | (IV). Time taken for the disk arm to move the heads to the cylinder containing the desired sector |
(A) Seek Time → Time taken for the disk arm to move the heads to the cylinder containing the desired sector.
Matches (IV)
(B) Access Time → Total time to access data = Seek Time + Rotational Latency.
Matches (III)
(C) Rotational Latency → Time taken for the disk to rotate the desired sector under the head.
Matches (II)
(D) Disk Bandwidth → Total number of bytes transferred / total time taken.
Matches (I)
(A) → (IV)
(B) → (III)
(C) → (II)
(D) → (I)
Let’s analyze the options:
Process termination ✅
This is indeed a way to recover from a deadlock after it has already occurred (kill one or more processes to break the cycle).
Non-preemption of resources ❌
This is a deadlock prevention method, not recovery.
Banker’s algorithm ❌
This is a deadlock avoidance technique, not recovery.
Circular wait ❌
This is one of the necessary conditions for deadlock, not a recovery method.
Using LRU with 3 frames on the string
7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2
gives page faults at: 7, 0, 1, 2, 3, 4, 2, 3, 0 → 9 faults.
Number of pages = Logical address space / Page size = 32 / 4 = 8
So, there are 8 pages.
Number of frames = Physical memory size / Page size = 64 / 4 = 16
So, there are 16 frames.
Answer: (8, 16) → Option 3
Explanation:
SSTF (Shortest Seek Time First): Always serves the request that requires the minimum head movement from the current head position.
LOOK/SCAN: Move in one direction (like elevators), serving requests along the way.
FCFS: Serve requests in the order they arrive.
✅ Hence, SSTF is the correct choice.
The general structure of a process with critical section is:
Entry section → request entry into the critical section.
Critical section → perform the critical task.
Exit section → leave and update status.
Remainder section → execute non-critical code.
In MS-DOS, the layering from innermost to outermost is:
ROM BIOS Device Drivers (lowest-level hardware interaction)
MS-DOS Device Drivers (software drivers loaded by OS)
Resident System Program (command.com, kernel parts)
Application Program (user programs)
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.