PREVIOUS YEAR QUESTION PAPER

CS9252 – Operating Systems

Anna University

Regulation 2008 Semester 4 2012

Question Paper Details

University Anna University
Degree B.E. Computer Science and Engineering
Department Computer Science and Engineering
Regulation Regulation 2008
Semester 4
Subject Code CS9252
Subject Name Operating Systems
Exam Session April / May 2012
Duration 3 Hrs
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

13Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
0Choice candidates

Part-wise extracted questions

Part A10
Part B3

Question type candidates

Definition6
Short Description4
Other Or Unclassified3

Section marks — arithmetic candidates

Part A20 marks
Part B80 marks

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51680

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B144.0 min

Question navigator

Extracted questions

Part A — 1

Mention one essential feature each of a Tifne- sharing operating system and a Real-time operating system.

Short Description
Part A — 2

List the various components of an operating system.

Short Description
Part A — 3

Define a thread. Give one example where multithreading provides better performance than single-threaded solution.

Definition
Part A — 4

List two circumstances under which CPU scheduling takes place.

Short Description
Part A — 5

What is a semaphore? What are the operations that can be done on it?

Definition
Part A — 6

What are the necessary conditions for a deadlock 16 occur [ர்‌ a system?

Definition

Source quality review required

Part A — 7

What is meant by external fragrnentation? How can that be overcome?

Definition
Part A — 8

What is the working-set model?

Definition
Part A — 9

List thé attributes ofa 116.

Short Description

Source quality review required

Part A — 10

What are the data structures that can be used to implement a directory?

Definition
Part B — 11

(i) Suppose that the following processes arrive for execution at the times indicated. Each process will run the listed amount of time. in answering the questions, use non-preemptive scheduling and base all decisions on the information you have at the time the decision must be made. Process Arrival Burst Tifhe Time PT 00 18 P2 04 14 P3 10 11 What is the average turnaround time and waiting time for these processes with the FCFS scheduling algorithm and with the SJF scheduling algorithn? Also, compute what the average turnaround time and waiting time will be, if the CPU is left idle for the first 1 unit and then SJF scheduling is used. (8) (ii) What is a critical section? What are the requirements that a solution to a critical section problemi should satisfy? Give and explain a two process solution that satisfies all the above requirements. (8)

Other Or Unclassified

Source quality review required

Part B — 12a

(a) (i) What is a process? How does the OS maintain information about a process. Explain the various states in which a process can be using a process state transitién diagram. (8) (ii) Describe the actions taken by a kernel to switch context between processes. (8) [OR] ஆ ௯ ம்‌) (i) Write down the Banker's algorithm. What is its objective? (8) ன்‌ ்‌ ்‌ ்‌ 14.(a) (i) List any three common file Operations and show how these can be (ii) Consider the following snapshot of a system: (8) implemented in an operating system. (8) Allocation Max Available ்‌ (ij) Compare and contrast the sequential access method with the direct ABCD ABCD ABCD access method of a file. (8) Py 0012 0012 1520 ; ன ச P, 1000 1750 P, 1354 2356 (OR) Ps 0632 0652 Pa 0014 0656 (b) (i) Explain any one method by which files can be allocated space in Using the banker's algorithm, find out if the above system is ina safe the disks. What are its advantages and disadvantages’ (8) state? (4) Suppose that a disk drive has 5000 cylinders, nuribered 0 to 4999.

Other Or Unclassified

Source quality review required

Part B — 13a

(a) (i) Explain the segmerited memory management system. Show The drive is currently serving a request at cylinder 143, and the clearly how the address translatién is done in it? What is the mai previous request was at cylinder 125. The queue of pending early now tne aadress translation 6 Gone In ite What is the main requests, in FIFO order, is 86, 1470, 913, 1774, 948, 1509, 1022, advantage of this system? (10) 1750, 130. Starting frorh the current head position, what is the total distance if cylinders that the disk arm moves to satisfy all the (ii) Consider the following segment table: (6) pending requests, for each of the following disk-scheduling ; ae க ; algorithms? FCFS, SSTF and. SCAN. (8) Segment|Q. 1... 12 ன்‌ 4 Base 219 2300 90 1327 | 1952 15. (a) Explain, in detail , the desigh of the Linux system (16) Length | 600 14 190: 560 96 [OR] What are the physical addresses for the following logical addresses? (b) Explain, in detail, the design of Windows 2000. (16) 0,430 1,10 - 2500 3,400 4,112 [OR] . (b) (i) What is meant by demand paging? What are the steps taken by the _OS when it handles a page fault? ; (10) (1) Consider the following page-reference string: 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6. How many page faults would occur for the following replacement algorithrns assuming three fratnes? Remember that all frames are initially empty: LRU replacement FIFO replacement (6)

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.