JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2022 OPERATING SYSTEMS Previous Question Paper (October/November - 2022 - R20)

MCA | 2022 | I | R20 | October/November - 2022

Answer PaperPaper Code: 871ADMaximum Marks: 75Time: 3 Hours

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Distinguish between parallel and distributed systems.

7 marks

Answer

A parallel system is a tightly coupled system where multiple processors share a common physical memory and a single clock, managed by a single operating system. Its primary goal is to increase computational speed by executing tasks simultaneously on shared data.

A distributed system is a loosely coupled system where processors do not share memory or a clock. Each node has its own local memory and operating system, communicating via a network. Its primary goal is resource sharing, scalability, and fault tolerance.

FeatureParallel SystemDistributed System
MemoryShared MemoryDistributed/Private Memory
CouplingTightly CoupledLoosely Coupled
CommunicationShared variablesMessage passing
ScalabilityLimited by bus/memory contentionHighly scalable
ControlSingle OS manages allEach node has independent OS
b

What are the services provided by operating systems?

8 marks

Answer

Operating systems provide a set of services to ensure the efficient operation of computer systems and to facilitate the development and execution of user programs:

  • Program Execution: The system loads programs into memory and manages their execution, providing mechanisms for process creation, scheduling, and termination.
  • I/O Operations: Since users cannot access hardware directly, the OS provides a uniform interface to manage various input and output devices.
  • File System Manipulation: The OS provides services for creating, deleting, reading, writing, and managing access permissions for files and directories.
  • Communications: It facilitates data exchange between processes, whether they are on the same computer (via shared memory or message passing) or across a network.
  • Error Detection: The OS constantly monitors the system for potential errors in CPU, memory, I/O devices, or user programs to ensure consistent computing.
  • Resource Allocation: It manages system resources like CPU cycles, main memory, and file storage among multiple users or jobs.
  • Accounting: The OS tracks which users use how much and what kind of resources, which is useful for performance tuning and billing.
  • Protection and Security: It ensures that access to system resources is controlled, preventing unauthorized users from interfering with system integrity or other users' data.
2

What are real time systems? What are different types of real time systems? Explain.

15 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

List and explain various scheduling criteria.

7 marks

Answer

Sign in to view the complete answer paper.

b

What is multiple processor scheduling?

8 marks

Answer

Sign in to view the complete answer paper.

4

Explain various system calls for process management.

15 marks

Answer

Sign in to view the complete answer paper.

5

Explain how synchronization is achieved through monitors.

15 marks

Answer

Sign in to view the complete answer paper.

6

What is a deadlock? How can it be prevented?

15 marks

Answer

Sign in to view the complete answer paper.

7

Simulate page replacement algorithms on following reference string:

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

Answer

Sign in to view the complete answer paper.

8

Explain write, close, lseek, stat and ioctl system calls.

15 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 2022 I, October/November - 2022, R20.

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