JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III OPERATING SYSTEMS Previous Question Paper (January/February - 2023 - R16)

B.Tech | III | I | R16 | January/February - 2023

Answer PaperPaper Code: 135CVMaximum Marks: 75Time: 3 Hours

Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a

Explain the functions of operating system.

2 marks

Answer

  • Process Management: Creating, deleting, suspending, and resuming processes, and providing mechanisms for process synchronization and communication.
  • Memory Management: Tracking memory usage, allocating and deallocating memory space, and managing virtual memory.
  • File Management: Creating, deleting, and manipulating files and directories, and managing secondary storage.
  • I/O System Management: Managing device drivers, buffering, caching, and spooling for hardware devices.
  • Protection and Security: Ensuring controlled access to system resources and protecting data from unauthorized users.
b

What is difference between system program and application program?

3 marks

Answer

FeatureSystem ProgramApplication Program
PurposeProvides an environment for program development and execution.Designed to perform specific tasks for the user.
InteractionInteracts directly with hardware/OS kernel.Interacts with the user via OS services.
ExamplesCompilers, linkers, loaders, shells.Web browsers, text editors, games.
c

Write about Process states.

2 marks

Answer

Sign in to view the complete answer paper.

d

Explain Process Control Block.

3 marks

Answer

Sign in to view the complete answer paper.

e

What is thrashing?

2 marks

Answer

Sign in to view the complete answer paper.

f

Illustrate the external fragmentation.

3 marks

Answer

Sign in to view the complete answer paper.

g

List out the file Access Methods.

2 marks

Answer

Sign in to view the complete answer paper.

h

Explain the File System Mounting.

3 marks

Answer

Sign in to view the complete answer paper.

i

Explain safe, unsafe and deadlock state process.

2 marks

Answer

Sign in to view the complete answer paper.

j

What are the conditions used in Banker’s algorithm?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

What is a system call? What are different types of system calls? Explain them.

5 marks

Answer

Sign in to view the complete answer paper.

b

Build the Operating System Design and Implementation.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Survey in detail about computer system architecture.

5 marks

Answer

Sign in to view the complete answer paper.

b

Identify the different types of operating systems? Explain them in detail.

5 marks

Answer

Sign in to view the complete answer paper.

4

Consider five processes P1 to P5 arrived at same time. They have estimated running time 10, 2, 6, 8 and 4 seconds respectively. Their priorities are 3, 2, 5, 4 and 1 respectively with 5 being highest priority. Compute the average turnaround time and average waiting time for Round Robin(q=3) and priority scheduling algorithm.

10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Write down the Petersons solution to critical section problem and explain it.

5 marks

Answer

Sign in to view the complete answer paper.

b

Identify the differences between pre-emptive and non-pre-emptive scheduling.

5 marks

Answer

Sign in to view the complete answer paper.

6

Consider the page reference string 1, 0, 2, 5, 3, 0, 1, 0, 2, 4, 0, 3, 0, 4, 2, 4, 3, 4, 1, 4, 0. Evaluate how many page faults occur for the Optimal and LRU Page replacement algorithms with 4 frames?

10 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain in detail about segmentation on with paging technique.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is the need of demand paging? Explain briefly.

5 marks

Answer

Sign in to view the complete answer paper.

8

Discuss in detail about file system structure and implementation.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

Suppose that a disk drive has 5000 cylinders numbered 0 to 4999. The drive is currently serving a request at cylinder 143. The queue of pending requests in FIFO order 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 starting from current head position. Estimate the total distance that disk arm moves to satisfy all the pending request for FCFS and SSTF disk scheduling algorithm.

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Identify the principles of protection? And explain the access matrix in detail.

5 marks

Answer

Sign in to view the complete answer paper.

b

Examine deadlock detection algorithm with an example.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Consider a system with three processes and four resources. Resource R1 and R3 with one instance, R2 with two instance, process P1 holding an instance of R2 and waiting for R1, process P2 is holding an instance of R1 and R2 and waiting for R3, process P3 is holding an instance of R3.

10 marks
a

Draw resource allocation graph for the given system.

5 marks

Answer

Sign in to view the complete answer paper.

b

Is it possible to apply the Resource allocation graph algorithm to avoid deadlock? Explain.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of OPERATING SYSTEMS from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech CE III I, January/February - 2023, R16.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in OPERATING SYSTEMS

Loading Question Papers

Fetching data from database...