edited by
2,662 views

3 Answers

2 votes
2 votes

n processes each requiring 2 tape drives

total no of tape drives = 6 

       Process                          Process1       Process2     Process3     Process4      Process5     Process6

No. of Tape Drives                     1                       1                 1                 1                   1                  1                   

This is a deadlock Situation. So anything less than 6 process will be free from Deadlock because at least 1 tape drive will be in hand which can be used for completion of a  running process.

Here asked for maximum process with deadlock free Hence 5 only.

Option 1) is correct answer.

 

 

1 votes
1 votes

We have $6$ drives and we have to find the number of processes.

It is given in question that

Each process may need two drives

So I have $1$ Drive free and alloted all the remaining drives each to one process to maximize number of processes present in the system.

Why keep $1$ Drive free ?

Because in case if a process needs $2$ drives i can allot the drive which is free to that process.

$\therefore$ Option $A.$ is the correct choice.

edited by
0 votes
0 votes
Option(A): 5

If there will be 6 processes then let each process have 1 drive then this will create a deadlock situation

To avoid this situation,we need a maximum of 5 processes
Answer:

Related questions

1.3k
views
1 answers
1 votes
Arjun asked Jul 2, 2019
1,266 views
For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance due tonon-uniform distribution of ... of tracks on the periphery of the platteruse of uniform arm scheduling policies
2.4k
views
5 answers
2 votes
Arjun asked Jul 2, 2019
2,376 views
Consider a disk system with $100$ cylinders. The requests to access the cylinders occur in the following sequences:$4, 34, 10, 7, 19, 73, 2, 15, 6, 20$Assuming ... shortest seek time first policy is used?$357$ ms$238$ ms$276$ ms$119$ ms
2.1k
views
3 answers
3 votes
Arjun asked Jul 2, 2019
2,089 views
Match List-I with List-II: ... -iva-iii; b-i; c-iv; d-iia-ii; b-i; c-iv; d-iiia-ii; b-iv; c-iii; d-i
4.6k
views
4 answers
1 votes
Arjun asked Jul 2, 2019
4,617 views
Consider that a process has been allocated $3$ frames and has a sequence of page referencing as $1, 2, 1, 3, 7, 4, 5, 6, 3, 1$. What shall be ... $0$1$3$