JNTU

JNTU MCA OPERATING SYSTEMS Previous Question Paper (October/ November - 2020 - R15)

MCA | III | R15 | October/ November - 2020

Answer PaperPaper Code: 823AAMaximum Marks: 75Time: 2Hours

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

What is an operating system? Discuss the goals and functions of an operating system.

7 marks

Answer

An operating system is a system software that acts as an intermediary between the computer hardware and the user, managing hardware resources and providing a platform for application programs to execute.

The primary goals of an operating system are:

  • Convenience: Making the computer system easier and more efficient to use.
  • Efficiency: Allowing the computer system resources to be used in an efficient manner.
  • Evolution: Designed to permit effective development, testing, and introduction of new system functions without interfering with service.

The core functions include:

  • Process Management: Creating, scheduling, and terminating processes, and managing inter-process communication.
  • Memory Management: Tracking memory usage, allocating and deallocating memory space for processes.
  • File Management: Managing file creation, deletion, directory structures, and file access permissions.
  • I/O Management: Managing device drivers and buffering, caching, and spooling for hardware devices.
  • Security and Protection: Ensuring controlled access to system resources and protecting data from unauthorized users.
b

Distinguish between client-server and peer-to-peer models of a distributed system.

8 marks

Answer

FeatureClient-Server ModelPeer-to-Peer Model
ArchitectureCentralized; clients request services from a dedicated server.Decentralized; all nodes act as both clients and servers.
Resource ControlServer maintains control over shared resources.Resources are distributed across all participating nodes.
ScalabilityLimited by server capacity; adding clients increases server load.Highly scalable; adding nodes increases total system capacity.
ReliabilitySingle point of failure at the server.High fault tolerance; no single point of failure.
ComplexityEasier to manage and secure due to centralization.Complex to manage, secure, and maintain consistency.
2

How does a micro kernel differ from a monolithic kernel? Explain the advantages and disadvantages of system calls over library functions.

15 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What is the difference between a process, a program and a thread?

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain SJF and SRTF Scheduling algorithms with an illustrative example.

8 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Compare preemptive and non-preemptive scheduling methods.

7 marks

Answer

Sign in to view the complete answer paper.

b

Describe how semaphore can be used for block wake up synchronization between processes.

8 marks

Answer

Sign in to view the complete answer paper.

5

How many page faults occur for the following reference string with three and four page frames using FIFO, LRU and OPTIMAL page replacements algorithms? Assume that initially frames are empty.

1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2
15 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Explain about the structure of page table.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain about virtual memory.

8 marks

Answer

Sign in to view the complete answer paper.

7

Suppose the head of a moving-head disk with 200 tracks, numbered 0 to 199, is currently serving a request at track 143 and has just finished a request at track 25. If the queue of requests is kept in FIFO order: 86, 147, 91, 177, 94, 150, 102, 175, 130. What is the total head movement to satisfy these requests for the following disk scheduling algorithms: FIFO, SSTF, SCAN, LOOK.

15 marks

Answer

Sign in to view the complete answer paper.

8

Consider a system with five processes P0 through P4 and three resource types A, B, C. Resource type A has 10 instances, resource type B has 5 instances, and resource type C has 7 instances. Suppose that, at time T0, the following snapshot of the system has been taken:

ProcessesAllocation (A B C)Max (A B C)Available (A B C)
P00 1 07 5 33 3 2
P12 0 03 2 2
P23 0 29 0 2
P32 1 12 2 2
P40 0 24 3 3
15 marks
a

What is the content of the matrix Need?

7 marks

Answer

Sign in to view the complete answer paper.

b

Is the system in a safe state?

8 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of OPERATING SYSTEMS from JNTU for MCA III, October/ November - 2020, R15.

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