Question Bank OS
Question Bank OS
******
Page 2 of 1
R15
Code No: R15A0513
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Supplementary Examinations, February 2021
Operating Systems
(CSE&IT)
Roll No
Page 3 of 1
R17
Code No: R17A0513
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Supplementary Examinations, February 2021
Operating Systems
(CSE & IT)
Roll No
2 Define System Call? And Explain Briefly System calls with Examples. [14M]
3 Define Process? Explain about Process State Diagram with Example. [14M]
4 Define Semaphore? And Explain the Readers Writers Problem and its solution [14M]
5 Define Paging? And Consider the following reference string for a memory with [14M]
8 Briefly explain about deadlock prevention methods with examples of each [14M]
Page 4 of 1
**********
R18
Code No: R18A0504
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
II B.Tech I Semester Supplementary Examinations, July/August 2021
Operating Systems
(CSE & IT)
Roll No
4 Five batch jobs A, B, C, D and E arrive at a computer center at almost at the same [14M]
time. They have estimated running times of 10,6,2,4 and 8 minutes. Their
priorities are 3,5,2,1 and 4 respectively, with 5 being the highest priority. For each
of the following scheduling algorithm determine the turnaround time of each
process and waiting time of each process. Ignore process switching overhead.
Mention which algorithm results in minimal average waiting time.
i) Round Robin
ii) Priority scheduling
iii) First come first served
iv) Shortest job first.
For case i) Assume that system is multiprocessing, and each job gets its
fair share of the CPU. (time quantum 2 minutes0. For cases (ii), (iii) and
(iv) assume that only one job runs at a time, until it finishes. All jobs are
completely CPU bound.
5 Consider a swapping system in which memory consists of the following hole sizes [14M]
in memory order: 12 KB, 4 KB, 24 KB, 15 KB, 9 KB, 7 KB, 10 KB, and 11 KB.
Which hole is taken for successive segment requests of: (i) 14 KB (ii) 8 KB (iii)
5 KB for first fit, best fit, worst fit, and next fit approaches?
Page 5 of 1
6 a. Describe the hardware implementation of a page table with translation [7M]
Look-aside Buffer.
b. What is virtual memory? Explain Suppose we have a demand paged
memory. The page table is held in registers. it takes 8ms to service a page [7M]
fault if an empty page is available or the replaced page is not modified,
and 20ms if the replaced page is modified. memory access time is 100ns.
Assume that the page to be replaced is modified 70% of the time. what is
the maximum acceptable page fault rate for an effective access time of no
more than 200ns?
7 Explain about the linear list and hash table data structures to implement a [14M]
directory.
8 a. A system has 3 devices D1, D2 and D3 and 3 processes P1, P2, and P3. [7M]
P1 is holding D1 and waiting for D3. P2 is holding D2 and waiting for D1.
P3 is holding D3 and waiting for D2. Draw resource allocation graph and
wait-for graph. Is the system in deadlock state or not? Explain.
b. Is disk scheduling, other than FCFS scheduling, useful in a single-user [7M]
environment? Justify your answer.
Page 6 of 1
R15
Code No: R15A0513
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Supplementary Examinations, July/August 2021
Operating Systems
(CSE&IT)
Roll No
4 What are various operations performed on a process? Explain each one in detail [15M]
considering operating systems examples?
5 Illustrate the following Page Replacement algorithms with clear examples. [15M]
FIFO (b)Optimal
6 Analyze the concept of Segmentation with paging and its use in OS Memory [15M]
Management
Page 7 of 1
R17
Code No: R17A0513
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Supplementary Examinations, July/August 2021
Operating Systems
(CSE & IT)
Roll No
2 What is OS? Describe the different types of Operating Systems with the examples. [14M]
3 Define Scheduling? Explain any Two CPU Scheduling Algorithms with Examples. [14M]
7 Explain any four File access methods for information in a file with neat diagrams. [14M]
8 Define Deadlock? State and explain four conditions that are necessary for deadlocks [14M]
to occur with neat example.
Page 8 of 1
R15
Code No: R15A0513
MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY
(Autonomous Institution – UGC, Govt. of India)
III B.Tech I Semester Regular/supplementary Examinations, November
2018
Operating Systems
(CSE&IT)
Roll No
1). a Define Operating System. List out the objectives of an operating system. [2M]
b Define system calls. Explain the main purpose of an operating system [3M]
c What is semaphore? [2M]
d Describe different process states. [3M]
e Write the difference between internal and external fragmentation [2M]
f Write the first ,best fit memory allocation techniques [3M]
g Define boot block. How it initiated from disk [2M]
h What are the various attributes that are associated with an opened file [3M]
i Describe the Safe, unsafe, and deadlock state spaces [2M]
j List the goals and principles of protection [3M]
PART-B (50 MARKS)
SECTION-I
2 Discuss about the evolution of operating system [10M]
OR
3 Explain the purpose of system calls and discuss the system calls related to [10M]
process control and communication in brief
SECTION-II
4 Discuss any five process scheduling algorithms with examples [10M]
OR
5 a) Write the solution to Dining Philosophers problem using Monitors [5M]
b) Explain the Round Robin scheduling algorithm with a suitable example [5M]
SECTION-III
6 Given page reference string: 1,2,3,2,1,5,2,1,6,2,5,6,3,1,3,6,1,2,4,3. Compare the number [10M]
of page faults for LRU, FIFO and Optimal page replacement algorithm
OR
7(a) Discuss about paging with neat diagram [5M]
Page 9 of 1
SECTION-IV
8 a)Explain the three allocation methods in file system implementation. Illustrate [5M]
with proper diagram
b)How to organize the mass storage? Explain [5M]
OR
9 Discuss various disk scheduling algorithm with examples. [10M]
SECTION-V
10 Consider the table given below for a system, find the need matrix and the safety sequence, [10M]
using Banker’s algorithm.
Resource – 3 types
A – (10 instances)
B – (5 instances)
C – (7 instances)
Process Allocation Maximum Available
A B C A B C A B C
p0 0 1 0 7 5 3 3 3 2
p1 2 0 0 3 2 2
p2 3 0 2 9 0 2
p3 2 1 1 2 2 2
p4 0 0 2 4 3 3
OR
11 a)Discuss about Access Matrix [5M]
b)Write a note on domain of protection [5M]
******
Page 10 of 1