JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD MCA 2021 OPERATING SYSTEMS Previous Question Paper (July/August - 2021 - R20)

MCA | 2021 | I | R20 | July/August - 2021

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

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Write in detail on time shared and real-time operating systems.

7 marks

Answer

A Time-Shared Operating System allows multiple users to share the computer system simultaneously by switching the CPU rapidly between tasks. Each user is allocated a small time slice or quantum. Because the CPU switches between processes so quickly, each user perceives that they have the entire system to themselves, which improves interactivity and resource utilization.

A Real-Time Operating System (RTOS) is designed for environments where processors must respond to input within a strict, predefined time constraint. These systems are categorized into:

  • Hard Real-Time Systems: Guarantee that critical tasks are completed on time; failure to meet a deadline results in total system failure (e.g., medical life support or flight control systems).
  • Soft Real-Time Systems: Prioritize critical tasks over less important ones, but missing a deadline is undesirable rather than catastrophic (e.g., multimedia streaming or virtual reality).
b

What is Operating system? Explain various services of operating system.

8 marks

Answer

An Operating System (OS) is a system software that acts as an intermediary between the computer hardware and the user, managing system resources and providing common services for computer programs.

The primary services provided by an OS include:

  • Process Management: Creating, deleting, suspending, and resuming processes, and providing mechanisms for process synchronization and communication.
  • Memory Management: Keeping track of which parts of memory are currently in use and by whom, and allocating/deallocating memory space as needed.
  • File Management: Managing files and directories, including creation, deletion, reading, writing, and controlling access permissions.
  • I/O System Management: Managing device drivers to hide the peculiarities of specific hardware devices from the user.
  • Secondary Storage Management: Managing free space, storage allocation, and disk scheduling.
  • Protection and Security: Ensuring that access to system resources is controlled and that the system is protected against unauthorized access.
215 marks
a

What is CPU scheduling? Describe the difference among the short term scheduler, Medium term scheduler and Long term scheduler.

7 marks

Answer

Sign in to view the complete answer paper.

b

What is thread? Explain about user-level and kernel level threads.

8 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What is the difference between the processes and thread? Explain about process and process control block.

7 marks

Answer

Sign in to view the complete answer paper.

b

What is dead lock? Explain about the dead lock prevention conditions.

8 marks

Answer

Sign in to view the complete answer paper.

4

What is process Synchronization and critical section? Explain the Peterson solution on critical section problems.

15 marks

Answer

Sign in to view the complete answer paper.

5

What is semaphore? How it is used in solving the critical section problems?

15 marks

Answer

Sign in to view the complete answer paper.

6

Consider the following page reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1. How many page faults would occur for the following replacement algorithm assuming three frames?

15 marks
a

FIFO replacement

8 marks

Answer

Sign in to view the complete answer paper.

b

Optimal replacement.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

What is Virtual memory? Explain the demand paging and its performance.

7 marks

Answer

Sign in to view the complete answer paper.

b

Write detail on file allocation methods.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Discuss about File system structure.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain about lseek, stat and ioctl system calls.

8 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 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for MCA 2021 I, July/August - 2021, R20.

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

Other papers in OPERATING SYSTEMS

Loading Question Papers

Fetching data from database...