Skip to content

GATE CS Operating System questions

Practise Operating System questions for GATE CS. Explore official PYQs and original subject-wise quizzes, check answers and view available solutions. Free, no sign-in.

Trace the state changes explicitly. For scheduling, memory and synchronisation questions, record the given policy before calculating the result.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ1998Operating SystemConcurrency and SynchronizationMCQ · 1 mark
A counting semaphore was initialized to 1010. Then 6P6 P (wait) operations and 4V4V (signal) operations were completed on this semaphore. The resulting value of the semaphore is
Official PYQ1998Operating SystemConcurrency and SynchronizationMCQ · 1 mark
When the result of a computation depends on the speed of the processes involved, there is said to be
Official PYQ1998Operating SystemI/O SchedulingMCQ · 1 mark
Which of the following is an example of a spooled device?
Official PYQ1998Operating SystemSystem CallsMCQ · 1 mark
Which of the following devices should get higher priority in assigning interrupts?
Official PYQ1997Operating SystemI/O SchedulingNAT · 1 mark
A program PP reads and processes 10001000 consecutive records from a sequential file FF stored on device DD without using any file system facilities. Given the following Size of each record =3200= 3200 bytes Access time of D=10D = 10 msecs Data transfer rate of D=800×103D = 800 \times 10^3 bytes/second CPU time to process each record =3= 3 msecs What is …
Official PYQ1997Operating SystemConcurrency and SynchronizationMCQ · 1 mark
Each Process Pi,i=1…9P_i, i = 1\ldots 9 is coded as follows repeat P(mutex) {Critical section} V(mutex) forever The code for P10P_{10} is identical except it uses V(mutex) in place of P(mutex). What is the largest number of processes that can be inside the critical section at any moment?
Official PYQ1997Operating SystemDeadlockMCQ · 1 mark
An operating system contains 33 user processes each requiring 22 units of resource RR. The minimum number of units of RR such that no deadlocks will ever arise is
Official PYQ1997Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Dirty bit for a page in a page table
Official PYQ1997Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Thrashing
Official PYQ1997Operating SystemI/O SchedulingMCQ · 1 mark
The correct matching for the following pairs is: …
Official PYQ1997Operating SystemInter-process CommunicationMCQ · 1 mark
I/O redirection
Official PYQ1997Operating SystemSystem CallsMCQ · 1 mark
When an interrupt occurs, an operating system
Official PYQ1997Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
Locality of reference implies that the page reference being made by a process
Official PYQ1996Operating SystemCPU SchedulingMCQ · 1 mark
Four jobs to be executed on a single processor system arrive at time 00 in the order A,B,C,DA, B, C, D. Their burst CPU time requirements are 4,1,8,14, 1, 8, 1 time units respectively. The completion time of AA under round robin scheduling with time slice of one time unit is
Official PYQ1996Operating SystemConcurrency and SynchronizationMCQ · 1 mark
A solution to the Dining Philosophers Problem which avoids deadlock is to
Official PYQ1996Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
A 10001000 Kbyte\text{Kbyte} memory is managed using variable partitions but no compaction. It currently has two partitions of sizes 200200 Kbyte\text{Kbyte} and 260260 Kbyte\text{Kbyte} respectively. The smallest allocation request in Kbyte\text{Kbyte} that could be denied is for
Official PYQ1996Operating SystemI/O SchedulingMCQ · 1 mark
Which of the following is an example of spooled device?
Official PYQ1996Operating SystemConcurrency and SynchronizationMCQ · 1 mark
A critical section is a program segment
Official PYQ1996Operating SystemProcesses and ThreadsMCQ · 1 mark
The process state transition diagram in the below figure is representative of
Official PYQ1995Operating SystemMemory Management and Virtual MemoryMCQ · 1 mark
In a virtual memory system the address space specified by the address lines of the CPU must be _____ than the physical memory size and ____ than the secondary storage size.