JNTU

JNTU MCA 2019 OPERATING SYSTEMS Previous Question Paper (December - 2019 - R17)

MCA | 2019 | III | R17 | December - 2019

Answer PaperPaper Code: 843ACMaximum Marks: 75Time: 3hrs

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

Compare parallel and distributed systems.

5 marks

Answer

Parallel systems consist of multiple processors sharing a common memory and clock, tightly coupled to perform tasks simultaneously, typically within a single machine. In contrast, distributed systems consist of autonomous, loosely coupled computers connected via a network, each with its own local memory and operating system, working together to achieve a common goal.

b

Where and how data of a process is stored?

5 marks

Answer

Process data is stored in the process address space, which is divided into segments: the Text segment stores the executable code, the Data segment holds global and static variables, the Heap provides memory for dynamic allocation, and the Stack manages local variables and function call frames. This data is managed by the operating system in physical memory (RAM) and swapped to disk (virtual memory) when necessary.

c

Differentiate between IPC on single computer system and Multiple computer system.

5 marks

Answer

Sign in to view the complete answer paper.

d

Define thrashing. Give reasons for its occurrence.

5 marks

Answer

Sign in to view the complete answer paper.

e

Discuss about directory structure.

5 marks

Answer

Sign in to view the complete answer paper.

PART - B

210 marks
a

Briefly explain typical functions of an Operating-System Kernel.

5 marks

Answer

Sign in to view the complete answer paper.

b

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

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

What is the purpose of an operating system?

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain various networking commands.

5 marks

Answer

Sign in to view the complete answer paper.

4

Compare the performance of the Round Robin (quantum =3) and Shortest remaining time First (Preemptive) scheduling algorithms in terms of average turn-around time, and average waiting time for the following jobs? Illustrate the execution by using Gantt Chart.

JobBurst TimeArrival Time
1103
2104
321
4112
550
10 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

A system has 3 devices D1, D2 and D3 & 3 processes P1, P2 , and P3. 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.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain Banker’s algorithm for deadlock avoidance.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Discuss producer - consumer problem?

5 marks

Answer

Sign in to view the complete answer paper.

b

Give solution to producer - consumer problem using semaphores?

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Describe dining-philosophers problem? Derive an algorithm to solve the problem using semaphores?

5 marks

Answer

Sign in to view the complete answer paper.

b

State the requirements that a solution to the critical section problem must satisfy?

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

With a neat diagram explain the steps in handling page fault?

5 marks

Answer

Sign in to view the complete answer paper.

b

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

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Explain Paging model of Logical and Physical memory with a neat diagram.

5 marks

Answer

Sign in to view the complete answer paper.

b

Differentiate between internal fragmentation and external fragmentation.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Explain about the implementation of Directory.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain about linked allocation of a file.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Write short notes on:

  • Lseek
  • stat
  • ioctl
10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of OPERATING SYSTEMS from JNTU for MCA 2019 III, December - 2019, R17.

For the question paper without answers, switch to the Question Paper tab.

Other papers in OPERATING SYSTEMS

Loading Question Papers

Fetching data from database...