Professional Documents
Culture Documents
Short-term scheduler (or CPU scheduler) – selects which process should be executed
next and allocates CPU.-[2M]
Long-term scheduler (or job scheduler) – selects which processes should be brought into the
ready queue.-[2M]
Medium-term scheduler - Remove process from memory, store on disk, bring back in from
disk to continue execution: swapping.-[2M]
Diagram-[2M]
Explanation-[4M]
Diagram-[3M]
Explanation-[3M]
b.Problem solving
FiFO-[3M]
Optimal-[3M]
6.Deadlock: A process requests the resources are not available at that time, so the process
enters into the waiting state. The requesting resources are held by another waiting process,
both are in waiting state, this situation is said to be deadlock-[2M]
Explaining how these conditions satisfy mutual exclusion,hold and wait,no
preemption,circular wait with respective of Dining philosopher’s problem.-[4M]
7.a.File access method
1.Sequential access
2.Direct access
3.Indexed access
4.Indexed sequential access.-[6M]
b.Any two disk scheduling algorithms
FCFS/SSTF/SCAN/C-SCAN/LOOK/C-LOOK
1.explanation –[3M]
2.example-[3M]