Operating System Advanced Questions with Solutions
This topic covers the deeper operating system concepts tested in MCA entrance exams. It includes processes and threads, process states, CPU scheduling algorithms (FCFS, SJF, priority and round robin), and measures such as waiting time and turnaround time. It also covers process synchronisation, semaphores, deadlock (its four necessary conditions, prevention, avoidance with the banker's algorithm, and detection), and memory management techniques such as paging, segmentation, virtual memory and page replacement algorithms (FIFO, LRU and optimal). Numerical questions on scheduling and page replacement appear regularly. Drawing a Gantt chart for scheduling questions and a frame table for page replacement questions makes them straightforward. Remember that the four necessary conditions for deadlock are mutual exclusion, hold and wait, no preemption, and circular wait. Practise the advanced operating system questions below, each with a step-by-step solution.
- Q1.
A computer has 16 GB of RAM. It typically needs to support 100 processes, each of which requires an average of 100 MB. Will this computer benefit from a virtual memory system? Choose the correct option and reasoning below.
A. Yes, since virtual memory is faster than RAMB. No, since the total memory requirement is less than the total RAM availableC. Yes, since virtual memory provides protection across different processesD. No, since virtual memory makes the system vulnerable to security attacksmediumAsked in NIMCET 2026View solution › - Q2.
________ is a technique of improving the priority of process waiting in Queue for CPU.
A. StarvationB. AgeingC. RevocationD. RelocationmediumAsked in MAH MCA CET 2025View solution › - Q3.
Cancellation of thread occurs only when it reaches a :
A. Cancellation pointB. Error pointC. Virtual pointD. Target pointmediumAsked in TCS ExamView solution › - Q4.
In IT terminology, a failure in the kernel is called a
A. CrashB. Crash dumpC. DumpD. Kernel errormediumAsked in TCS ExamView solution › - Q5.
In computer processing _______selects processes from the pool and loads them into memory for execution.
A. Job SchedulerB. Resource SchedulerC. CPU SchedulerD. Process SchedulermediumAsked in TCS ExamView solution › - Q6.
________ involves traversing the entire file system, marking everything that can be accessed.
A. Index pointerB. Garbage collectionC. File systemD. Stack pointermediumAsked in TCS ExamView solution › - Q7.
Constantly running system program processes are known as
A. DaemonsB. ProcessesC. Process BlockD. Process Control BlockmediumAsked in TCS ExamView solution › - Q8.
_________is having more memory addresses than are physically available.
A. Virtual memoryB. System softwareC. Application softwareD. RAMmediumAsked in TCS ExamView solution › - Q9.
In the 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.
A. smaller, smallerB. smaller, largerC. larger, smallerD. larger, largermediumAsked in NIMCET 2009View solution ›