Os Question Bank New
Os Question Bank New
Os Question Bank New
4/5 Marks important questions from Each unit appeared in previous year question paper
selected from question bank
UNIT I
1. Explain Batch Processing System.
2. Write a note on multi-programmed systems.
3. Explain Multiprocessor System with diagram
4. Write a note on following. I) Real Time System.
ii) Time Sharing System
5. Explain any three Operating System Resource Management.
i)File system Management?
ii) Process Management
iii)Memory Management
6. Explain any 5 operating system Services
7. Explain Layered Approach operating system structure with a neat diagram.
8. Explain any 5 File operations.
9. Explain various File Attributes.
10.Explain any two directory structures.
UNIT II
1. Explain first-fit, best-fit, and worst-fit Memory Allocation with example.
2. Explain paging memory management with an example.
3. Explain external fragmentation.
4. Explain Contiguous Memory Allocation
5. Write short notes on fragmentation.
6. Explain swapping with diagram
7. Explain segmentation with a neat diagram.
8. Write short notes on demand paging.
9. Explain FIFO page replacement policy.
10.Explain LRU page replacement algorithm with an example.
11.Consider the following page reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1
How many page faults would occur for the following replacement algorithm
assuming three frames?
i) LRU algorithm ii) Optimal replacement algorithm.
12.Explain optimal page replacement algorithm
13.Write a note on Thrashing.
14.Given the following reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 with 3 frames
of memory. Write the steps of FIFO algorithm which shows the occurrence of page fault.
15.Consider the following page reference string: 7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2,
3, 0, 1.
Assuming demand paging with three frames, how many page faults would occur for
the following replacement algorithms?
a) LRU replacement b ) FIFO replacement c) Optimal replacement
16.Explain First Come First Serve (FCFS) disk scheduling with example
17.Explain Shortest Seek Time First (SSTF) disk scheduling with example.
18.SSTF (Shortest Seek Time First) algorithm
19.Explain SCAN disk scheduling with example.
20.Explain CSCAN disk scheduling with example
21.Explain LOOK disk scheduling with example.
22.Explain CLOOK disk scheduling with example
23.Consider a disk with 200 tracks and the queue has random requests from different
processes in the order:55, 58, 39, 18, 90, 160, 150, 38, 184 Initially arm is at 100. Find
the Average Seek length using FIFO, SSTF, SCAN and C-SCAN algorithm.
24.Consider a disk with 200 tracks and the queue has random requests from different
processes in the order: 98, 183, 37, 122, 14, 124, 65, 67
Initially arm is at 55. Find the Average Seek length using FIFO, SSTF,
LOOK and C-LOOK algorithm.
25. Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1,
2, 3, 7, 6, 3, 2, 1, 2, 3, 6. How many page faults would occur for the
following replacement algorithms, assuming four frames?
Remember that all frames are initially empty, so your first unique pages
will cost one fault each.
i) LRU replacement ii) FIFO replacement iii) Optimal replacement
UNIT III
1. Explain process state transition neat diagram.
2. What is PCB? Explain with diagram
3. With diagram explain queuing diagram representation of
process scheduling.
4. Write a note on schedulers.
5. Explain Context switch with diagram
6. Write a note on Inter Process Communication (IPC).
7. Explain IPC in Message-Passing System.
8. Explain Preemptive and Non preemptive Scheduling.
9. List and explain various Scheduling Criteria.
10.Explain FCFS scheduling with an example.
11.Explain Shortest-Job-First Scheduling with an example.
12.Explain round robin scheduling algorithm with an example.
13.Explain Priority Scheduling with an example.
14. Consider the following set of processes, with length of the CPU-
burst time given in milliseconds.
Process Burst time
P1 15
P2 4
P3 10
P4 8
P5 5
Draw Gantt chart using round robin with time quantum of 5
milliseconds and find average waiting time