Independent Preparation Bank for Pakistani Computing Graduates • 100% Free • No Signup
NSCTPrep.
Home/Subjects/Operating Systems/Operating System Structures
Operating SystemsTopic #2 of 523 MCQs Available

Operating System Structures

Comprehensive question bank, step-by-step rationales, and dedicated timed quiz for Operating System Structures.

Launch Quiz Mode ↗

Operating System Structures Question Bank

Showing 23 questions of 23 with verified answers

1Multiple Choice

(Conceptual) What is stored in the Process Control Block (PCB)? • • • •

2Multiple Choice

(Scenario-Based) Which state transition is impossible in a typical process life cycle?

3Multiple Choice

(Conceptual) What happens during a Context Switch?

4Multiple Choice

(Code/Logic) In Unix-like systems, what does the fork() system call return to the parent process? process_fork.c pid_t pid = fork(); if (pid > 0) { // Parent Process }

5Multiple Choice

(Conceptual) What is a Zombie Process?

6Multiple Choice

(Conceptual) When a child process is created, does it share the same memory space as the parent?

7Multiple Choice

(Conceptual) What is the difference between a Process and a Thread?

8Multiple Choice

(Scenario-Based) Which event would cause a process to move from Running to Waiting (Blocked)?

9Multiple Choice

(Conceptual) What is CPU Scheduling (a subset of process management)?

10Multiple Choice

(Conceptual) What is an Orphan Process?

11Multiple Choice

(Comparison) In terms of performance, why is context switching between threads faster than between processes?

12Multiple Choice

(Scenario-Based) A developer notices that their program has thousands of "Zombies." How can they fix this?

13Multiple Choice

(Conceptual) What is the Ready Queue?

14Multiple Choice

(Conceptual) What is a Short-term Scheduler vs Long-term Scheduler?

15Multiple Choice

(Scenario-Based) If a system has a high frequency of "Context Switches," what does it imply about the workload?

1Multiple Choice

(Calculation) Consider 3 processes arriving at time 0. P1 (Burst: 10), P2 (Burst: 4), P3 (Burst: 2). Using FCFS (non-preemptive), what is the average waiting time?

2Multiple Choice

(Calculation) Using the same data as above (P1=10, P2=4, P3=2) with SJF (non- preemptive), what is the average waiting time?

3Multiple Choice

(Conceptual) Which scheduling algorithm is specifically designed for Time-Sharing systems?

4Multiple Choice

(Scenario-Based) If the time quantum in Round Robin is extremely large, what does the algorithm behave like?

5Multiple Choice

(Conceptual) What is Aging in priority scheduling?

6Multiple Choice

(Code/Logic) The dispatcher is the part of the OS that:

7Multiple Choice

(Comparison) Compare Preemptive and Non-preemptive scheduling.

18Multiple Choice

What anomaly occurs when increasing the number of physical page frames allocated to a process paradoxically increases the number of page faults under FIFO page replacement?