21CS56 - Model Question Paper
21CS56 - Model Question Paper
USN 1 B Y
OPERATING SYSTEMS
Time: 3 hrs. Max. Marks: 100
Note:
1. Part A carries 20 marks. Answer all TWENTY full questions, by choosing ONE Correct option.
2. The correct option is to be shaded in the OMR sheet provided within the Booklet.
3. There is no Negative Marking, but Shading more than 1 option, will lead to rejection of the particular
question for scoring.
4. Part B carries 80 Marks. Answer FIVE full questions, choosing ONE full question from each module.
PART B
Descriptive Questions
1b. Explain the Operating System Structure in Layered approach with a neat 8 CO1, K2
diagram.
OR
2a. Define System call. List the types of System Call in detail. 8 CO1, K2
2b. Define the essential properties of the following operating systems: i) 8 CO1, K2
Time sharing operating system
ii) Batch operating system
iii) Real time operating system
iv) Distributed operating system.
21CS56
Module – 2
3a. Consider the following set of processes with a length of the CPU burst 8 CO2, K3
time given in milliseconds
i.Draw the Gantt charts illustrating the execution of these processes using
SRTF and Preemptive Priority scheduling.
ii.Compute the waiting times in each of the two scheduling
iii) Find which of them provides results in the minimal average waiting
time and turnaround time.
3b. State in your own words, the use of semaphores in solving the 8 CO2, K2
synchronization problem – Readers writers problem.
OR
4a. Consider the Dining Philosophers problem. If we arbitrarily decide that if 8 CO2, K2
a philosopher who has their left fork waits a random amount of time after
failing to acquire the right-hand fork before attempting to acquire it again,
will this remove the ability for the system to reach deadlock? Why or why
not.
4b. Differentiate between starvation and deadlock. Does Peterson’s Solution 8 CO2, K3
to critical section problem prevents starvation? Justify your answer
Module – 3
5a. Consider the following snapshot of a system. 8 CO3, K2
Module – 4
7a. Consider the following page reference string: 7, 6, 8, 6, 7, 9, 6, 7, 5, 6, 9, CO4, K2
5, 8, 7, 8, 5, 7, 6, 4, 8. How many page faults would occur for the following 8
replacement algorithms, assuming, three and five frames:
a. LRU replacement
b. FIFO replacement
c. Optimal replacement
7b. With the help of supporting hardware diagram show how the TLB 8 CO4, K2
improves the performance of demand paging
OR
8a. Explain the following: i) File types ii) File operation. iii) File attributes 8 CO4, K2
8b. Compare the working of the following disk scheduling algorithms: i) 8 CO4, K2
SSTF ii) SCAN iii) LOOK
Module – 5
9a. Describe the benefits of virtualization. 8 CO5, K2
9b. Compare the features of Android and iOS 8 CO5, K2
OR
10a. Explain the different types of Virtual Machine with implementation 8 CO5, K2
10b. Explain the structure of Android and iOS System Architecture. 8 CO5, K2
“Satisfaction lies in the effort, not in the attainment, full effort is full victory”