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

OS S2020 2140702 APY Material

This document appears to be an exam for an operating systems course, consisting of 5 questions covering various topics related to operating systems. Some of the key topics covered include: 1) Definitions of terms like starvation, process, and mutual exclusion. 2) Types of operating systems and explaining process control blocks. 3) Services provided by operating systems, differences between processes and threads, and interprocess communication problems. 4) Types of schedulers, what deadlock is and necessary conditions for it, applying scheduling algorithms to example processes. 5) Differences between preemptive and non-preemptive scheduling, deadlock prevention, RAID levels, file attributes, and paging mechanisms.

Uploaded by

Prince Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views

OS S2020 2140702 APY Material

This document appears to be an exam for an operating systems course, consisting of 5 questions covering various topics related to operating systems. Some of the key topics covered include: 1) Definitions of terms like starvation, process, and mutual exclusion. 2) Types of operating systems and explaining process control blocks. 3) Services provided by operating systems, differences between processes and threads, and interprocess communication problems. 4) Types of schedulers, what deadlock is and necessary conditions for it, applying scheduling algorithms to example processes. 5) Differences between preemptive and non-preemptive scheduling, deadlock prevention, RAID levels, file attributes, and paging mechanisms.

Uploaded by

Prince Patel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER– IV EXAMINATION – SUMMER 2020
Subject Code: 2140702 Date:26/10/2020
Subject Name: Operating System
Time: 10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
MARKS
Q.1 (a) Define following terms: 03
1) Starvation
2) Process
3) Mutual Exclusion
(b) Explain the different types of operating system. 04
(c) Explain PCB with all parameters in details. 07

Q.2 (a) Explain different services provided by operating system. 03


(b) Differentiate between process and thread. 04
(c) Explain the IPC Problem known as Dining Philosopher Problem. 07
OR
(c) Explain IPC Problem – Readers & Writers Problem. 07

Q.3 (a) Discuss in brief different types of scheduler. 03


(b) What is deadlock? Define necessary conditions that lead to 04
deadlock.
(c) Assume you have following jobs to execute with one processor. 07
Apply shortest job first with preemptive scheduling algorithm.

Process Burst time Arrival Time


0 8 0
1 4 1
2 9 2
3 5 3

a. Draw Gantt chart for process execution.


b. What is the average turnaround time?
c. What is the average wait time?
OR
Q.3 (a) List parameters to be considered while selecting scheduling 03
algorithms.
(b) What is semaphore? Describe types of semaphore. 04
(c) Explain the use of Banker’s algorithm for multiple resources for 07
deadlock avoidance with illustration.

Q.4 (a) Differentiate between preemptive and non preemptive 03


scheduling algorithm.
(b) Define deadlock. Describe deadlock prevention in detail. 04
(c) Write short note: RAID levels. 07

1
OR
Q.4 (a) Explain file attributes in detail. 03
(b) Explain the following UNIX commands 04
1. Grep
2. Chmod
(c) What is Paging? Explain paging mechanism in MMU with 07
example.

Q.5 (a) What is thrashing? Explain it with respect to degree of 03


multiprogramming.
(b) Define fragmentation. Describe types of fragmentation. 04
(c) Explain continuous memory allocation algorithms: 07
1) First-fit 2) Best-fit 3) Worst-fit
OR
Q.5 (a) Describe any one page replacement algorithm. 03
(b) Explain working set model. 04
(c) Explain any two File Allocation Methods from the following: (i) 07
Contiguous Allocation (ii) Linked Allocation (iii) Indexed
Allocation

*************

You might also like