Operating Systems
Operating Systems
R22
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
II B.Tech I Semester Supplementary Examinations, June/July 2024
Operating Systems
(CS&IT, CSE-CS, CSE-AIML, CSE-DS, CSE-IOT & B.Tech-AIML)
Roll No
Page 1 of 3
Process Burst Time
P1 8
P2 4
P3 4
P4 5
Find the average waiting time and average turnaround time using Round
Robin Scheduling with a time quantum of 2 nsec.
OR
5 A What is a process? Explain the operations on processes. [5M]
B Why do operating system uses a PCB? Describe the various fields of [5M]
PCB.
SECTION-III
6 A What is the purpose of resource allocation graph? [3M]
B Explain the solution for Dining Philosopher’s using semaphores and [7M]
write the pseudo code for it.
OR
7 A Consider the following snapshot of a system: [7M]
Page 2 of 3
OR
11 A Describe with a neat diagram following approaches [3M]
i) Linked File Allocation
ii) Indexed File Allocation
B Suppose that a disk drive has 2000 cylinders, numbered 0 to 1999. The [7M]
drive is currently serving a request at cylinder 143, and the previous
request was at cylinder 105. The queue of pending requests in FIFO
order is: 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130. Starting from
the current head position, what is the total distance that the disk arm
moves to satisfy all the pending requests for FCFS and SCAN
scheduling.
***
Page 3 of 3