Operating Systems – Comprehensive
Student Preparation Set
SECTION A: THEORETICAL QUESTIONS
1. Operating System Fundamentals
a) Define an Operating System and explain its role in a computer system.
b) What are the two main interfaces of an OS? Give examples
c) Describe the difference between user mode and kernel mode.
2. Functions of an Operating System
a) List and explain five key functions of an OS.
b) Explain the concept of resource management and how it applies to CPU, memory, and
I/O. (3 marks)
c) Describe file system management and why it is critical
3. Operating System Structures
a) Draw and describe the Layered Architecture of an OS.
b) Compare the following OS structures:
i. Monolithic
ii. Microkernel
iii. Layered OS
c) What is a System Call? Explain with one example.
4. Types of Operating Systems
a) Classify the following into appropriate OS types:
- Banking ATM software
- Smartwatch OS
- University shared Linux server
- Mars Rover Control
b) Describe and give real-world examples of the following OS types:
i. Batch OS
ii. Time-sharing OS
iii. Real-time OS
c) Differentiate between multi-user and multiprogramming operating systems.
5. Process Management
a) Define a process and list its components (Process Control Block). (3 marks)
b) Draw and explain the five-state process model. (3 marks)
c) Describe the concept of context switching and its overhead. (2 marks)
d) Explain the difference between I/O-bound and CPU-bound processes with examples. (2
marks)
SECTION B: PRACTICAL SCENARIO QUESTIONS
6. FCFS Scheduling with Arrival Time
Given:
Tasks:
a) Draw the Gantt Chart
b) Calculate:
- Completion Time (CT)
- Turnaround Time (TAT)
- Waiting Time (WT)
c) Compute:
- CPU Idle Time
- CPU Utilization (%)
- Throughput
7. Conceptual Question: Starvation and Fairness (4 marks)
a) What is starvation in scheduling? In which algorithms can it occur? (2 marks)
b) Why does FCFS avoid starvation but result in high average waiting time? (2 marks)
8. OS in Real World – Match Use Case to OS Type (3 marks)
Match the following systems to the most appropriate OS type:
9. OS Booting and System Calls (4 marks)
a) Briefly explain what happens during the booting process of an OS. (2 marks)
b) What is the difference between a system call and an interrupt? (2 marks)
b) Calculate Average Waiting Time and Average Turnaround Time.