2021 22 Os Mid Paper
2021 22 Os Mid Paper
2021 22 Os Mid Paper
OR
B Consider the following five processes with the length of the CPU burst CO2 L3: Apply [04]
time in milliseconds.
Processes are Assumed to have arrived at time 0. For the below set of
processes find the average waiting time and average turnaround time for
Priority Scheduling using Gantt chart. Consider 1 is highest priority.
Process Burst Time Priority
P1 10 3
P2 5 1
P3 2 3
P4 6 4
P5 4 2
Q-3 Answer Any Three of the Following Questions.
A Explain The Following terms. CO3 L2: [03]
1. Mutual Exclusion 2. Critical Section 3. Race Condition Understand
B Discuss the use of TSL instruction for Mutual Exclusion. CO3 L2: [03]
Understand
Page 1 of 2
L D College of Engineering
Department of Computer Engineering
Subject: Operating System (3140702)
CONTINUOUS EVALUATION EXAM
Total Marks: 30 B.E. IV Duration: 1.5 Hours
Date: 10/05/2022 Time: 12:30 PM to 02:00 PM
OR
A Consider the page reference string: CO4 L3: Apply [04]
9,0,1,2,0,5,3,2,5,9,0,1,2,4,3,6. With four Frames How many page faults
would occur for the LRU page replacement algorithms? (assume all frames
are initially empty)
B Discuss the need of Virtual Memory. Discuss Paging Technique for Virtual CO4 L2: [04]
Memory with Example. Understand
***************
Page 2 of 2