∑GateAndNet
PlannerSign Up

Operating Systems — Solved PYQ & Mock Arena

Topic-wise Operating Systems previous-year GATE & UGC NET questions with step-by-step LaTeX solutions

Showing 14 questions in Operating SystemsClick A / B / C / D for instant verification
Q1GATE CS 2026–27 Expected MSQOperating SystemsMSQHARD
+2M • 0 Neg

Which of the following statements about Multi-Core Process Synchronization are CORRECT?

☑️ Multiple Select Question — pick one or more options, then click Check Answer.
Q2GATE CS 2027 Expected NATOperating SystemsNATMEDIUM
+2M • 0 Neg

A process owns 2020 virtual memory pages in RAM (1212 Read-Only code pages and 88 Read-Write data pages) and calls fork() on an OS with Copy-on-Write (COW) paging. Before exec(), the parent writes to 33 distinct data pages and the child writes to 22 data pages (11 of which is the same page written by the parent). How many total physical page frames are occupied by parent and child combined?

Q3GATE CS 2016Operating SystemsMCQMEDIUM
+2M • -0.67

Consider Peterson’s two-process software synchronization solution using shared flag[0..1] and turn. Which of the three Critical Section requirements (Mutual Exclusion, Progress, Bounded Waiting) does it satisfy on a sequentially consistent processor?

⚡ Click an option above to verify instantly
Q4GATE CS 2020Operating SystemsNATMEDIUM
+2M • 0 Neg

A Unix inode has 1212 direct block pointers, 11 single-indirect, 11 double-indirect, and 11 triple-indirect pointer. Disk block size is 4 KB4\text{ KB} and each block address is 4 bytes4\text{ bytes}. Approximately what is the maximum file size contributed by the double-indirect block alone (in GB)?

Q5GATE CS 2022Operating SystemsNATMEDIUM
+2M • 0 Neg

Consider a system with 33 initially empty page frames and page reference string 1, 2, 3, 4, 2, 1, 5, 3, 2, 4, 6. How many page faults occur under Optimal (MIN) page replacement?

Q6GATE CS 2023Operating SystemsNATMEDIUM
+2M • 0 Neg

A system uses a 2-level hierarchical page table with a TLB. TLB access takes 10 ns10\text{ ns}, main memory access takes 100 ns100\text{ ns}, and the TLB hit ratio is 90%90\%. Assuming zero page faults, what is the Effective Memory Access Time (EMAT) in nanoseconds?

Q7GATE CS 2024 Set-1Operating SystemsNATMEDIUM
+2M • 0 Neg

Four processes P1,P2,P3,P4P_1, P_2, P_3, P_4 arrive at times 0,1,2,40, 1, 2, 4 with CPU burst times 5,3,3,15, 3, 3, 1 respectively. Under SRTF (Shortest Remaining Time First) preemptive scheduling, what is the average turnaround time?

Q8GATE CS OSOperating SystemsMCQMEDIUM
+2M • -0.67

A disk head is currently at cylinder 5050 and pending requests are at cylinders {82,170,43,140,24,16}\{82, 170, 43, 140, 24, 16\}. Under SSTF (Shortest Seek Time First), which cylinder is serviced first and second?

⚡ Click an option above to verify instantly
Q9UGC NET / GATE OSOperating SystemsMCQMEDIUM
+2M • -0.67

A system has 33 processes, each requiring at most 44 identical units of resource RR. What is the minimum number of units of RR that guarantees the system is always deadlock-free?

⚡ Click an option above to verify instantly
Q10GATE CS OSOperating SystemsMCQMEDIUM
+2M • -0.67

A counting semaphore SS is initialized to 1010. Subsequently, 66 wait(P) operations and 44 signal(V) operations are completed on SS. What is the current value of SS?

⚡ Click an option above to verify instantly
Q11GATE CS OSOperating SystemsMCQEASY
+1M • -0.33

Which of the following page replacement algorithms can suffer from Belady’s Anomaly (more page faults when allocated more physical page frames)?

⚡ Click an option above to verify instantly
Q12GATE CS OSOperating SystemsMCQMEDIUM
+2M • -0.67

A C program executes fork(); fork(); fork(); sequentially without any conditional branching. Including the initial parent process, how many child processes are newly created?

⚡ Click an option above to verify instantly
Q13GATE CS OS TLBOperating SystemsNATMEDIUM
+2M • 0 Neg

A paging system uses a single-level page table in main memory (100 ns100\text{ ns} access time) and a TLB (20 ns20\text{ ns} lookup time) with a TLB hit ratio of 80%80\%. Assuming sequential TLB-then-memory lookup, what is the Effective Memory Access Time (EMAT) in nanoseconds?

Q14GATE CS OS NATOperating SystemsNATEASY
+2M • 0 Neg

A system has 55 processes, and each process requires a maximum of 44 instances of resource RR to complete execution. What is the minimum number of instances of RR that guarantees the system will NEVER enter deadlock?