JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II OPERATING SYSTEMS Previous Question Paper (March - 2022 - R16)

B.Tech | II | II | R16 | March - 2022

Answer PaperPaper Code: 134BUMaximum Marks: 75Time: 3 Hours

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

Explain the Operating System services.

8 marks

Answer

Operating System services provide an environment for the execution of programs and the services to the programs and users. Key services include:

  • Program Execution: The system must be able to load a program into memory and run it, including handling program termination.
  • I/O Operations: Since user programs cannot execute I/O operations directly, the OS provides a means to perform these operations on behalf of the user.
  • File-System Manipulation: The OS manages the creation, deletion, reading, writing, and directory management of files.
  • Communications: Processes may need to exchange information, either on the same computer or via a network, using shared memory or message passing.
  • Error Detection: The OS constantly monitors for errors in the CPU, memory, I/O devices, or user programs to ensure consistent computing.
  • Resource Allocation: The OS manages resources like CPU cycles, main memory, and file storage for multiple users or jobs.
  • Accounting: The system tracks which users use how many and what kinds of resources for billing or usage statistics.
b

Discuss the Protection and Security.

7 marks

Answer

Protection and security are essential for multi-user and networked systems to ensure integrity and confidentiality.

Protection refers to a mechanism for controlling the access of programs, processes, or users to the resources defined by the computer system. It provides a means for the system to distinguish between authorized and unauthorized usage, ensuring that processes operate within their assigned memory spaces and access only the files they are permitted to use. This is enforced through mechanisms like access control lists and user authentication.

Security refers to measures taken to defend the system against internal and external attacks. These include threats such as viruses, worms, denial-of-service attacks, and unauthorized data breaches. Security involves authentication (verifying the identity of a user via passwords or biometrics), encryption (protecting data during transmission or storage), and firewalls to monitor and control network traffic. While protection is internal to the system's resource management, security is a broader defense against malicious intent.

2

List and explain the various types of system calls.

15 marks

Answer

Sign in to view the complete answer paper.

3

Consider the following process table:

PIDATBT
P101
P212
P323

With CPU bursts and IO bursts defined as:

PIDCPUIOCPU
P1122
P2124
P3236

What are the completion times of processes P1, P2 and P3 using SRTF (Shortest Remaining Time First)?

15 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Draw and explain the process state diagram with two suspend states.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain the Classic Problems of Synchronization.

7 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

In a paged memory, the page hit ratio is 0.35. The time required to access a page in secondary memory is equal to 100nS. The time required to access a page in physical memory is 10nS. What is the average time required to access a page?

8 marks

Answer

Sign in to view the complete answer paper.

b

Discuss the hardware support required to support demand paging.

7 marks

Answer

Sign in to view the complete answer paper.

6

Explain about FIFO, LRU page replacement algorithms with example.

15 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Discuss the Directory and Disk Structure.

8 marks

Answer

Sign in to view the complete answer paper.

b

Give a brief note on File System Structure.

7 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Define deadlock. Explain the necessary conditions for a deadlock to occur.

7 marks

Answer

Sign in to view the complete answer paper.

b

Is it possible to apply the Resource allocation graph algorithm to avoid deadlock? Explain.

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 B.Tech ITE II II, March - 2022, R16.

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