edited by
347 views
0 votes
0 votes

Whenever Questions like:- (Example is shown below) is given and asked that say what is the turnaround time for $6k$ Process then we will always assume memory to have fixed length partition right??? cuz they have given different partition sizes in $KB$ so say if a process allocates $2k$ from $4k$ partition then the remaining $2k$ cant be allocated right?

Partitions size in $KB$ $9K\hspace{0.1cm} 8K\hspace{0.1cm} 20K\hspace{0.1cm} 2K\hspace{0.1cm} 7k$
Job sizes in $KB$ $1K \hspace{0.1cm}14K\hspace{0.1cm} 3K\hspace{0.1cm} 6K\hspace{0.1cm} 3K\hspace{0.1cm} 10K\hspace{0.1cm} 20K \hspace{0.1cm}2K$
Time for execution $4\hspace{0.1cm} 10\hspace{0.1cm} 2\hspace{0.1cm} 1\hspace{0.1cm} 4\hspace{0.1cm} 1\hspace{0.1cm} 8\hspace{0.1cm} 6$
edited by

1 Answer

0 votes
0 votes
Yes , you are, right,the main restrictions of  contagious allocation is that one process or job is allocted to one partitions only

so even if your are left with 2k and process request is 2k ,we can allocate the process that partition

Related questions

0 votes
0 votes
0 answers
2
Overflow04 asked Sep 1, 2022
323 views
How to solve this question.
2 votes
2 votes
0 answers
4