JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2017 OPERATING SYSTEMS Previous Question Paper (August - 2017 - R13)

MCA | 2017 | II | R13 | August - 2017

Answer PaperPaper Code: 812AGMaximum Marks: 60Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 20 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 8 marks and may have a, b, c as sub questions.

Part A

120 marks
a

What is a system call? How it is executed?

4 marks

Answer

A system call is a programmatic way in which a computer program requests a service from the kernel of the operating system. It acts as an interface between a process and the OS. Execution involves the process executing a trap instruction to switch from user mode to kernel mode, allowing the CPU to jump to a specific location in the kernel to execute the requested service, after which control returns to the user process.

b

What is thread scheduling? Give an example of thread scheduling?

4 marks

Answer

Thread scheduling is the process by which the operating system's scheduler decides which thread to execute on a CPU at a given time. In systems with user-level threads, the library manages scheduling, whereas in kernel-level threads, the OS kernel manages it. An example is Round Robin scheduling, where each thread is given a small unit of time (time slice) to execute before being preempted to allow another thread to run.

c

What is thrashing? Why it occurs?

4 marks

Answer

Sign in to view the complete answer paper.

d

Discuss about directory structure?

4 marks

Answer

Sign in to view the complete answer paper.

e

How to detect whether a deadlock occurred or not?

4 marks

Answer

Sign in to view the complete answer paper.

Part B

28 marks
a

Briefly explain typical functions of an Operating-System Kernel.

4 marks

Answer

Sign in to view the complete answer paper.

b

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

4 marks

Answer

Sign in to view the complete answer paper.

OR
38 marks
a

Discuss about the Operating System components.

4 marks

Answer

Sign in to view the complete answer paper.

b

Explain about distributed systems.

4 marks

Answer

Sign in to view the complete answer paper.

4

Assume the following jobs are to be executed with one processor:

JobBurst TimeArrival Time
1103
2104
321
4112
550

Give Gantt-Chart illustrating the execution of these jobs using RR (quantum =2) and Shortest Remaining Time First (Preemptive). Compare their performance in terms of average turn-around time, and average waiting time?

8 marks

Answer

Sign in to view the complete answer paper.

OR
5

Explain about readers writers problem. Give a solution to the above problem using semaphores.

8 marks

Answer

Sign in to view the complete answer paper.

6

Five pages, A, B, C, D, and E are referred by a process in the following order- A; B; C; B; E; A; D; A; B; E; A; B; C; D; E. If the page replacement algorithm is

8 marks
a

FIFO, calculate the number of page faults with empty frames of size 3? Compare its performance with optimal page replacement?

4 marks

Answer

Sign in to view the complete answer paper.

b

LRU, calculate the number of page faults with empty frames of size 4? Compare its performance with optimal page replacement?

4 marks

Answer

Sign in to view the complete answer paper.

OR
78 marks
a

With a neat diagram explain the actions that take place when a page fault occurs?

4 marks

Answer

Sign in to view the complete answer paper.

b

Give an overview of continuous memory allocation strategies.

4 marks

Answer

Sign in to view the complete answer paper.

8

Discuss about free space management.

8 marks

Answer

Sign in to view the complete answer paper.

OR
9

Explain the three allocation methods in file system implementation Illustrate with proper diagram.

8 marks

Answer

Sign in to view the complete answer paper.

108 marks
a

Explain Banker’s algorithm for deadlock avoidance.

4 marks

Answer

Sign in to view the complete answer paper.

b

What are the goals of protection?

4 marks

Answer

Sign in to view the complete answer paper.

OR
118 marks
a

What is unsafe state? Differentiate between unsafe state and deadlock state.

4 marks

Answer

Sign in to view the complete answer paper.

b

Explain about capability based systems.

4 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 MCA 2017 II, August - 2017, R13.

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...