Categories

Operating system

CSE - Operating system - Questions and solutions
Question:-
Option (A)
time sharing
Option (B)
time out
Option (C)
time domain
Option (D)
FIFO
Correct Option:
A
Question Solution:




Question:-
Option (A)
P1 P2 P0 P3 P4
Option (B)
P2 P0 P1 P3 P4
Option (C)
P0 P3 P1 P2 P4
Option (D)
P0 P3 P2 P1 P4
Correct Option:
C
Question Solution:
The content of matrix need is
Need = Matrix - Allocation
Need
ABCD
P00000
P10750
P21002
P30020
P40642
the current snapshot of matrix.


AllocationAvailableNeed
A B C DA B C DA B C D
P00 0 1 21 5 2 00 0 0 0
P11 0 0 01 5 3 00 7 5 0
P21 3 5 41 11 6 21 0 0 2
P30 6 3 22 11 6 20 0 2 0
P40 0 1 44 14 11 60 6 4 2
4 14 12 10
One of the safe sequence = {P0, P3, P1, P2, P4}.

Question:-
Option (A)
spooling
Option (B)
swapping
Option (C)
thrashing
Option (D)
all of the above
Correct Option:
B
Question Solution: