Beruflich Dokumente
Kultur Dokumente
Full Marks: 70
GROUP-A
(Multiple Choice Type Questions)
i.
ii.
iii.
iv.
v.
Which one of the following process states is not a valid process state?
(A) Blocked
(B) Load ***************
(C) Running
(D) None of these
vii.
A process is
(A) A program
(B) A job
(C) Execution state of a program *****************
(D) None of these
viii.
cipher text is
(A) Normal text
(B) Encrypted text
(C) Plain text
(D) None of these
****************
ix.
x.
GROUP-B
(Short Answer Type Questions)
2. What are the necessary and sufficient conditions for deadlock to occur?
4+1
What is thrashing?
3. Explain PCB with a neat diagram. Write down different process states.
3+2
5. Suppose that the following processes arrive for execution at the time indicated:
Process
P1
P2
P3
P4
Arrival Time
0
1
2
3
Burst Time
8
4
9
5
GROUP-C
(Long Answer Type Questions)
Allocated Resources
4
5
3
5
5
5
Max Need
14
8
7
The total maximum needs (i.e. 29) of the processes cannot be met at one time. Process A could use the 10
available resources and finish its execution. This would release 14 resources, which could be taken up by
process B. This would produce 8 resources, which would enable C to finish. So the state is safe and
sequence of the safe state is <A B C>.
15
4+3+4+4
10. (a) Consider the following resource allocation state involving processes P0,
P1, P2, P3, P4 and resources A, B, C:
Total instances of these resource types are: 10, 5 and 7
Process
i.
ii.
P0
A
0
Allocation
B
1
C
0
MAX
B
5
C
3
P1
P2
P3
P4
10
Digital Signature
Virtual Memory
Priority scheduling
Distributed systems
Context Switch
3X5