1, 2, 4, 5, 2, 1, 2, 4.
Assume that the main memory can accommodate 3 pages and the main memory already has the pages 1 and 2, with page 1 having been brought earlier than page 2.(assume LRU algorithm is used)
(A:4), (B:10), (C:35), (D:62), (E:69), (F:95)
Using the Shortest Seek Time First disk scheduling algorithm to schedule these operations, find the total seek time (in ms).





int A[4000];
int main()
{
for(i=0;i<4000;i++){ //Row major order access
A[i] = A[i]+1;
}
return 0;
}
|

Which of the following are correct ? [MSQ]
int count = 0, n=10; //Shared among all processes
|
int main()
{ int i; // local to each process
for(i=1;i<=n;i++){
count=count+1;
}
return 0;
}
|
The minimum value of count after completion of execution is