JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2021 OPERATING SYSTEMS Previous Question Paper (February - 2021 - R17)

MCA | 2021 | III | R17 | February - 2021

Answer PaperPaper Code: 843ACMaximum Marks: 75Time: 2 hours

Answer any five questions. All questions carry equal marks.

Main

1

What are the different services offered by the operating system? Explain in detail.

15 marks

Answer

An operating system provides an environment for the execution of programs and offers a variety of services to both users and system processes. These services are designed to make the programming task easier and to ensure efficient system operation.

The primary services include:

  • Program Execution: The system must be able to load a program into memory and run it. The OS handles the allocation of resources and the termination of the process, whether normal or abnormal.
  • I/O Operations: Since user programs cannot directly access I/O devices, the OS provides a uniform interface to handle device-specific drivers, buffering, and caching to manage input and output operations efficiently.
  • File System Manipulation: The OS manages the creation, deletion, reading, writing, and searching of files and directories. It also enforces permissions to control access to these files.
  • Communications: Processes often need to exchange information. This can occur between processes on the same computer via shared memory or message passing, or between processes on different computer systems via a network.
  • Error Detection: The OS constantly monitors the system for potential errors in the CPU, memory, I/O devices, or user programs. It takes appropriate action to ensure consistent and correct computing.
  • Resource Allocation: When multiple users or jobs run concurrently, the OS must allocate resources such as CPU cycles, main memory, and file storage to each process to ensure optimal system performance.
  • Accounting: The OS keeps track of which users use how much and what kinds of computer resources. This data is useful for performance tuning and billing purposes.
  • Protection and Security: The OS ensures that all access to system resources is controlled. Protection involves ensuring that all access to system resources is controlled, while security involves defending the system against internal and external threats like unauthorized access or malware.
215 marks
a

Briefly explain typical functions of an Operating-System Kernel.

7 marks

Answer

The Kernel is the core component of an operating system that resides in memory at all times and acts as the bridge between software applications and hardware. Its primary functions include:

  • Process Management: The kernel creates, schedules, and terminates processes, manages context switching, and handles inter-process communication (IPC) and synchronization.
  • Memory Management: It tracks which parts of memory are in use and by whom, allocates memory when requested, and manages virtual memory and swapping between RAM and secondary storage.
  • Device Management: The kernel manages hardware devices through device drivers, handling interrupts and providing a uniform interface for applications to interact with hardware.
  • File System Management: It organizes data into files and directories, manages disk space allocation, and enforces access control permissions.
  • System Call Interface: It provides a set of system calls that allow user-level applications to request services from the kernel in a secure and controlled manner.
b

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

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

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

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain recovery procedures from deadlocks.

8 marks

Answer

Sign in to view the complete answer paper.

4

Explain the following:

15 marks
a

Scheduling Criteria.

7 marks

Answer

Sign in to view the complete answer paper.

b

Cooperating Processes.

8 marks

Answer

Sign in to view the complete answer paper.

5

Explain about message queues and shared memory.

15 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Explain about demand paging.

7 marks

Answer

Sign in to view the complete answer paper.

b

Differentiate between paging and segmentation.

8 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Describe file system mounting.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain the concept and techniques of free space management.

8 marks

Answer

Sign in to view the complete answer paper.

8

Write short notes on:

15 marks
a

unix file structure

7 marks

Answer

Sign in to view the complete answer paper.

b

system calls in unix.

8 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 2021 III, February - 2021, R17.

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