Skip to content
Previous Year Question Paper

AL-501 - Operating Systems

November 2022•AIML•SEMESTER-5
November 2022
Max Marks: 70
Duration: 3 Hours
Instructions:

• Attempt any five questions.

• All questions carry equal marks.

Q.1
a)Unit 1

Describe the evolution of the operating system in detail.

b)Unit 1

What are the major services of an operating system with regard to process management? Explain.

Q.2
Unit 2

Explain different disk allocation methods in detail.

Q.3
Unit 3

Following is the snapshot of a CPU:

ProcessCPU BurstArrival Time
P1100
P2291
P3032
P4073
Draw the Gantt chart and calculate the turnaround time and waiting time of the jobs for

i) FCFS (First Come First Served)

ii) SJF (Shortest Job First)

iii) SRTF (Shortest Remaining Time First)

iv) RR (Round Robin with time quantum 10) scheduling algorithms

Q.4
Unit 3

Consider the following snapshot of a system:

ProcessesAllocationMaxAvailable
A B C DA B C DA B C D
P00 0 1 20 0 1 21 5 2 0
P11 0 0 01 7 5 0
P21 3 5 42 3 5 6
P30 6 3 20 6 5 2
P40 0 1 40 6 5 6

i) What is the content of the matrix Need?

ii) Is the system in a safe state?

iii) If a request from process P1 arrives for (0, 4, 2, 0) can the request be granted immediately?

Q.5
a)Unit 4

What is Demand paging? Explain.

b)Unit 4

Discuss about segmentation with an example.

Q.6
a)Unit 5

Differentiate Synchronous and Asynchronous I/O operations

b)Unit 5

How I/O request are transferred to hardware devices?

Q.7
a)Unit 4

Consider the page reference string 1, 0, 2, 5, 3, 0, 1, 0, 2, 4, 0, 3, 0, 4, 2, 4, 3, 4, 1, 4, 0. How many page faults occur for the Optimal and LRU Page replacement algorithms with 4 frames each?

b)Unit 3

Describe the actions taken by a thread library to context-switch between user level threads.

Q.8
a)Unit 3

Mutual Exclusion

b)Unit 2

Disk Mounting

c)Unit 2

Virtual File Systems

d)Unit 3

User level and Kernel level threads