Firstranker's choice
Printed Pages: 02
Paper Id: 110431
--- Content provided by FirstRanker.com ---
Sub Code: RCS401
Roll No.
Time: 3 Hours
B.TECH
--- Content provided by FirstRanker.com ---
(SEM IV) THEORY EXAMINATION 2017-18
Operating System
Total Marks: 70
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
2. Any special paper specific instruction.
--- Content provided by FirstRanker.com ---
SECTION A
2 x 7 = 14
1. Attempt all questions in brief.
- Define Operating System. List the objectives of an operating system.
- What are the various scheduling criteria for CPU scheduling?
- What is the use of inter process communication and context switching?
- Write the difference between internal and external fragmentation.
- What are the disadvantages of single contiguous memory allocation?
- Discuss the usage of wait-for graph method.
- Define Busy Waiting? How to overcome busy waiting using Semaphore operations.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION B
7 x 3 = 21
2. Attempt any three of the following:
- Explain briefly Layered Operating system structure with neat sketch. Also explain protection and security.
- What is Dining Philosophers problem? Discuss the solution to Dining philosopher's problem using monitors.
-
Consider the following snapshot of a system:
Process Allocated Maximum Available R1 R2 R3 R1 R2 R3 R1 R2 R3 P1 2 2 3 3 6 8 7 7 10 P2 2 0 3 4 3 3 P3 1 2 4 3 4 4 Answer the following questions using the banker's algorithm:
- What is the content of the matrix need?
- Is the system in a safe state?
- Consider the following page reference string:
1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6
How many page faults would occur for the optimal page replacement algorithm, assuming three frames and all frames are initially empty. - Is it possible to have a deadlock involving only a single process? Explain.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION C
--- Content provided by FirstRanker.com ---
7x1=7
3. Attempt any one part of the following:
- Enumerate various Operating System components with their functions in brief.
- Differentiate between (with one suitable example):
- Interactive and Batch processing System.
- Multiprogramming and Time Sharing System.
--- Content provided by FirstRanker.com ---
4. Attempt any one part of the following:
7x1=7
- Discuss Mutual-exclusion implementation with test and set() instruction.
- State the Critical Section problem. Illustrate the software based solution to the Critical Section problem.
--- Content provided by FirstRanker.com ---
5. Attempt any one part of the following:
7x1=7
- Consider the following process:
Process Arrival Time Burst Time P1 0 8 P2 1 4 P3 2 9 P4 3 5 Draw Gantt chart and find the average waiting time and average turnaround time:
- FCFS Scheduling
- SRTF Scheduling
--- Content provided by FirstRanker.com ---
- Consider the following process:
Process Arrival Time Burst Time Priority P1 0 6 3 P2 1 4 1 P3 2 5 2 P4 3 8 4 Draw Gantt chart and find the average waiting time and average turnaround time:
- SRTF Scheduling
- Round robin (time quantum:3)
--- Content provided by FirstRanker.com ---
6. Attempt any one part of the following:
7x1=7
- What do you mean by Belady's anomaly? Which algorithm suffers from Belady's anomaly and how can it be rectified?
- What is Thrashing? What is the cause of Thrashing? How does the system detect Thrashing? What can the system do to eliminate this problem?
7. Attempt any one part of the following:
--- Content provided by FirstRanker.com ---
7x1=7
- Discuss the Linked, Contiguous and Index and multilevel Indexing file allocation schemes. Which allocation scheme will minimize the amount of space required in directory structure and why?
- Write short notes on :
- I/O Buffering
- Disk storage and scheduling
--- Content provided by FirstRanker.com ---
This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University
--- Content provided by FirstRanker.com ---