Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad B.Tech II OPERATING SYSTEMS Previous Question Paper (December - 2018 - R16)

B.Tech | II | II | R16 | December - 2018

Answer PaperPaper Code: 134BUMaximum Marks: 75Time: 3 Hours

Note: This question paper 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

125 marks
a

Explain the functions of operating system.

2 marks

Answer

  • Process Management: Creating, deleting, suspending, and resuming processes, and managing 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.
  • Security and Protection: Controlling access to system resources and protecting data from unauthorized users.
b

Explain about the abstract view of the components of a computer system.

3 marks

Answer

The computer system is viewed as a layered hierarchy:
  • Hardware: The physical components (CPU, memory, I/O devices) that provide basic computing resources.
  • Operating System: The software layer that controls and coordinates the use of hardware among various applications and users.
  • Application Programs: Software (compilers, databases, browsers) that defines the ways in which system resources are used to solve computing problems.
  • Users: The people, machines, or other computers that interact with the system via application programs.
c

Distinguish between I/O bound process and CPU bound process.

2 marks

Answer

Sign in to view the complete answer paper.

d

What are the requirements of Critical section problem?

3 marks

Answer

Sign in to view the complete answer paper.

e

What is Demand Paging?

2 marks

Answer

Sign in to view the complete answer paper.

f

Distinguish between logical and physical address space.

3 marks

Answer

Sign in to view the complete answer paper.

g

Explain about the Acyclic graph directory.

2 marks

Answer

Sign in to view the complete answer paper.

h

Explain about the Solid state disk.

3 marks

Answer

Sign in to view the complete answer paper.

i

What is Access Control?

2 marks

Answer

Sign in to view the complete answer paper.

j

Explain how to eliminate the deadlocks using resource preemption.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

2

Explain how operating systems are used in a variety of computing environments.

10 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What is operating system? Explain multiprogramming and time sharing systems.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the dual mode operation in OS with a neat block diagram.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Explain about the Process Control Block.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is Semaphore? How can we achieve the synchronization using semaphore for producer consumer problem?

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Discuss the Peterson’s solution for the race condition with algorithm.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is the average waiting time and average turn around times of all processes for FCFS, SJF algorithm?

Processes Burst Time Priority P1 10 3 P2 1 1 P3 2 3 P4 1 4 P5 5 2
5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Consider the following page reference string 1,2,3,4,5,3,4,1,6,7,8,7,8,9,7,8,9,5,4,5,4,2. With four Frames. How many page faults would occur for the FIFO, Optimal page replacement algorithms? Which algorithm is efficient? (Assume all frame are initially empty)

5 marks

Answer

Sign in to view the complete answer paper.

b

What is Thrashing? Explain the Causes of Thrashing.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Consider the following reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1. Assume there are three frames. Apply LRU replacement algorithm to the reference sting above and find out how many page faults are produced. Illustrate the LRU page replacement algorithm in detail and also two feasible implementation of the LRU algorithm.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about Swapping.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

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. What is the total distance that disk arm moves to satisfy all the pending request for FCFS and SSTF disk scheduling algorithm.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the system call for File operations.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

Explain the following disk scheduling algorithm with proper diagram: a) FCFS b) SSTF c) SCAN d) LOOK e) C-SCAN.

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Explain about the Language based Protection.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the bankers algorithm for deadlock avoidance.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Explain the protection mechanism illustrating the use of protection domain and access control list.

5 marks

Answer

Sign in to view the complete answer paper.

b

What is deadlock? Explain the conditions that lead to deadlock.

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 CSE II II, December - 2018, 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...