Operating System GATE previous year questions with answer
Ques 40 Gate 2016 Set-2
In which one of the following page replacement algorithms it is possible for the page fault rate to increase even when the number of allocated frames increases?
Ques 41 Gate 2016 Set-1
Consider a computer system with ten physical page frames. The system is provided with an access sequence a1, a2, ..., a20, a1, a2, ..., a20), where each ai number. The difference in the number of page faults between the last-in-first-out page replacement policy and the optimal page replacement policy is __________
Ques 42 Gate 2016 Set-1
Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121, 191, 87, 11, 92, 10. The C-LOOK scheduling algorithm is used. The head is initially at cylinder number 63, moving towards larger cylinder numbers on its servicing pass. The cylinders are numbered from 0 to 199. The total head movement (in number of cylinders) incurred while servicing these requests is______
Ques 43 Gate 2016 Set-1
Consider a computer system with 40-bit virtual addressing and page size of sixteen kilobytes. If the computer system has a one-level page table per process and each page table entry requires 48 bits, then the size of the per-process page table is _________megabytes.
Ques 44 Gate 2016 Set-1
Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
Ques 45 Gate 2015 Set-3
The maximum number of processes that can be in Ready state for a computer system with n CPUs is
Ques 46 Gate 2015 Set-1
Suppose the following disk request sequence (track numbers) for a disk with 100 tracks is given: 45, 20, 90, 10, 50, 60, 80, 25, 70. Assume that the initial position of the R/W head is on track 50. The additional distance that will be traversed by the R/W head when the Shortest Seek Time First (SSTF) algorithm is used compared to the SCAN (Elevator) algorithm (assuming that SCAN algorithm moves towards 100 when it starts execution) is _________ tracks
Ques 47 Gate 2015 Set-1
The following two functions P1 and P2 that share a variable B with an initial value of 2 execute concurrently.
{
C = B β 1;
B = 2*C;
}
P2()
{
D = 2 * B;
B = D - 1;
}
Ques 48 Gate 2014 Set-1
Which one of the following statements is FALSE?
Total Unique Visitors