Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad MCA III OPERATING SYSTEMS Previous Question Paper (January – 2018 - R15)

MCA | III | III | R15 | January – 2018

Answer PaperPaper Code: 823AAMaximum Marks: 75Time: 3hrs

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.

Part A

125 marks
a

What are the different types of System Calls.

5 marks

Answer

System calls provide an interface between a process and the operating system. They are generally categorized into five types:

  • Process Control: Manage process creation, termination, execution, and attributes (e.g., fork, exit, wait).
  • File Management: Handle file operations such as create, delete, open, close, read, and write.
  • Device Management: Request and release devices, read/write device status, and attach/detach devices.
  • Information Maintenance: Transfer information between the user program and the OS, such as getting time, date, or system data.
  • Communications: Facilitate inter-process communication (IPC) through message passing or shared memory mechanisms.
b

Discuss about the activities that happen during context switching?

5 marks

Answer

Context switching is the process of storing the state of a running process and restoring the state of another process to allow the CPU to switch tasks. The activities include:

  1. Saving the current process's state (CPU registers, program counter, and stack pointer) into its Process Control Block (PCB).
  2. Updating the PCB of the current process to reflect its new state (e.g., from Running to Ready or Waiting).
  3. Moving the PCB to the appropriate queue (Ready or Waiting).
  4. Selecting the next process to execute using the CPU scheduler.
  5. Loading the saved state (registers, program counter) from the selected process's PCB into the CPU hardware.
c

What is thrashing?

5 marks

Answer

Sign in to view the complete answer paper.

d

Explain about swap space management.

5 marks

Answer

Sign in to view the complete answer paper.

e

Discuss about access control.

5 marks

Answer

Sign in to view the complete answer paper.

Part B

2

What is the need of operating system? Explain its functionalities.

10 marks

Answer

Sign in to view the complete answer paper.

OR
3

Explain about operating system design and implementation.

10 marks

Answer

Sign in to view the complete answer paper.

4

What is Critical Section Problem? Discuss about Peterson’s solution.

10 marks

Answer

Sign in to view the complete answer paper.

OR
5

What is Process? Explain about process control block.

10 marks

Answer

Sign in to view the complete answer paper.

6

Explain first fit, worst fit and best fit allocation algorithms with examples.

10 marks

Answer

Sign in to view the complete answer paper.

OR
7

Explain about MFT and MVT.

10 marks

Answer

Sign in to view the complete answer paper.

8

What is a Directory? Write short note on Directory implementation.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

Suppose the head of a moving head disk with 200 tracks, numbered 0 to 199, is currently serving a request at track 123 and has just finished a request at track 125.If the queue of Requests is kept in FIFO order: 126, 17, 91, 107, 194, 150, 102, 105, 130, 12. What is the total head movement to satisfy these requests for the following disk scheduling algorithms? (a) FCFS b) SSTF c) SCAN

10 marks

Answer

Sign in to view the complete answer paper.

10

Explain about capability based system.

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

Write and explain deadlock avoidance algorithm.

10 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 III III, January – 2018, R15.

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

Other papers in OPERATING SYSTEMS

Loading Question Papers

Fetching data from database...