0% found this document useful (0 votes)
4 views

2022 Mid

The document outlines the internal examination details for the Operating Systems course at A D Patel Institute of Technology, including the date, time, and maximum marks. It contains a series of questions covering various topics such as scheduling, semaphores, system calls, process management, and operating system structures. Students are instructed to make suitable assumptions where necessary and to provide specific answers to the questions posed.

Uploaded by

htrththakkar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

2022 Mid

The document outlines the internal examination details for the Operating Systems course at A D Patel Institute of Technology, including the date, time, and maximum marks. It contains a series of questions covering various topics such as scheduling, semaphores, system calls, process management, and operating system structures. Students are instructed to make suitable assumptions where necessary and to provide specific answers to the questions posed.

Uploaded by

htrththakkar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Enrollment No.

____________________
A D PATEL INSTITUTE OF TECHNOLOGY
(CONSTITUENT INSTITUTION OF CVMU)
BE – SEMESTER - 4 INTERNAL EXAMINATION – March 2022
102040402: Operating Systems
Date: 31/03/2022 Time: 11:15 AM to 12:30 PM Maximum Marks: 40
Instructions:
1. Figures on the right indicate full marks.
2. Make the suitable assumption if required, do specify the same.
Q:1 [A] 1. Define: (i) Response Time (ii) Throughput [8]
2. What do you mean by Preemptive Scheduling and Non-preemptive Scheduling?
3. A counting semaphore was initialized to 10. Then 6P (wait) operations and 4V
(signal) operations were completed on this semaphore. The resulting value of the
semaphore is ________________. (fill in the blank)
4. What is Race Condition?
5. Define Hard and Soft Real Time Systems.
6. What is Monitor?
7. _______________ System call is used to create a child process.
8. What is Exokernel?
Q:2 [A] What do you mean by system calls? Explain with suitable example the steps [5]
performed by operating system to serve system call.
Q:2 [B] Explain what semaphores are, their usage, implementation given to avoid busy [5]
waiting.
Q:2 [C] Define turnaround time and waiting time. Consider the system with following detail. [6]

Find out average waiting time for the system using


a) First Come First Serve
b) Round Robin Scheduling (quantum=3, ignore context switching overhead)
OR
Q:2 [C] Define turnaround time and waiting time. Consider the system with following detail. [6]

Find out average waiting time for the system using


a) Shortest Job First
b) Preemptive Priority Scheduling (consider 1 as the highest priority)
Q:3 [A] Explain any five commands with suitable example: [5]
a.) grep b.) sort c.) kill d.) cat e.) whoami f.) ln
Q:3 [B] (i) What is a Process? Explain the Process Control Block. [2]
(ii) Explain various Process States with all possible transitions. [3]
Q:3 [C] (i) Explain monolithic operating system structure. [3]
(ii) List the four events that cause processes to be created. Explain each in brief. [3]
OR
Q:3 [C] (i) Explain user level thread implementation with advantages and disadvantages. [3]
(ii) Differentiate long-term, short-term and medium-term scheduler. [3]
*****All the Best*****

You might also like