Code No: 843AC
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
--- Content provided by FirstRanker.com ---
R17
MCA III Semester Examinations, April/May - 2019
OPERATING SYSTEMS
Time: 3hrs Max.Marks:75
--- Content provided by FirstRanker.com ---
Note: This question contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.
PART - A 5 x 5 Marks =25
- What are the characteristics and advantages of Real time operating system? [5]
- Define the terms: Scheduler, Dispatcher, context switch, preemptive scheduler, non preemptive scheduler. [5]
- How are named pipes differ from unnamed pipes? List out their merits and demerits. [5]
- What is the “Locality of Reference” concept and why it is important? [5]
- Give the syntax of lseek( ) system call and explain its functionality. [5]
--- Content provided by FirstRanker.com ---
PART -B 5 x 10 Marks =50
- What is an operating system? Explain the objectives and functions of an operating system. Differentiate between parallel system and distributed system. [5+5]
OR--- Content provided by FirstRanker.com ---
List and explain various disk utilities, process utilities and filters in Linux with clear syntax, options and example. [10] - Compare and contrast the SJF and SRTF scheduling.
Following is the snapshot of a CPU:
Process CPU Burst Arrival Time Priority
P1 12 0 1--- Content provided by FirstRanker.com ---
P2 09 1 3
P3 18 2 5
P4 05 3 2
P5 20 4 4
Draw the Gantt chart and calculate the turnaround time and waiting time of the jobs for FCFS (First Come First Served), SJF (Shortest Job First), SRTF (Shortest Remaining Time First) and RR (Round Robin with time quantum 5) and priority scheduling algorithms. [5+5]--- Content provided by FirstRanker.com ---
OR
- a) Discuss briefly about Resource-allocation graph.
b) Consider the following snapshot of a system:
Processes Allocation Max Available--- Content provided by FirstRanker.com ---
ABCD ABCD ABCD
P0 0012 0012 1520
P1 1000 1750
P2 1354 2356
P3 0632 0652--- Content provided by FirstRanker.com ---
P4 0014 0656
Answer the following questions using the banker’s algorithm:
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? [5+5] - What is producer-consumer problem? Explain how semaphores are to implement producer-consumer problem and address the issues raises due to lack of synchronization. [10]
OR
List and explain various APIs available to implement inter process communication using message queues. [10] - a) Explain the segmentation memory management scheme with relevant diagrams. [10]
OR--- Content provided by FirstRanker.com ---
How many page faults occur for the following reference string with three and four page frames using FIFO, LRU and OPTIMAL page replacements algorithms? Assume that initially frames are ‘empty.
3,2,4,3,4,2,2,3,4,5,6,7,7,6,5,4,5,6,7,2,1 [10] - a) Give the detailed description of DAG structure.
b) Explain various techniques implemented for free space management with suitable examples. [5+5]
OR--- Content provided by FirstRanker.com ---
What are the advantages and disadvantages of pile file organization over hash file organization?
Explain briefly about directory management and directory implementation. [5+5]
--- Content provided by FirstRanker.com ---
---00000---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 3rd Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university