PREVIOUS YEAR QUESTION PAPER

CS7452 – OPERATING SYSTEMS

Anna University

Regulation 2015 Semester 4 2019

Question Paper Details

University Anna University
Degree B.E. Computer Science and Engineering
Department Computer Science and Engineering
Regulation Regulation 2015
Semester 4
Subject Code CS7452
Subject Name OPERATING SYSTEMS
Exam Session April / May 2019
Duration 3 Hours
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.

15Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
4Choice candidates

Part-wise extracted questions

Part A5
Part B9
Part C1

Question type candidates

Other Or Unclassified12
Definition3

Section marks require review. Marks charts are withheld.

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 11: Option a · Option b
Part B — Question 12: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 6

What is page fault?

Definition
Part A — 7

Whatis seek time in disk scheduling?

Other Or Unclassified
Part A — 8

What are the operations performed on a file?

Definition
Part A — 9

What is a daemon? How does it work in Linux operating system?

Definition
Part A — 10

Whatis the role of kernel?

Other Or Unclassified
Part B — 11a

a) i) What are the various computing environments available in the modern computers? (4) ii) Explain how operating systems are used in these different computing environments. (9)

Other Or Unclassified

Source quality review required

Part B — 11b

b) i) Briefly describe the purpose and need of interprocess communication in a multiprogramming environment. ர ரோ. ர) “Operating systems typically utilize the kernel mode and user mode functions as இ rudimentary forms of protection.” Explain the two modes and justify this statement. (6)

Other Or Unclassified

Source quality review required

Part B — 12a

a) i) Draw a resource-allocation-graph for the scenario given below: (6) Set of resources: {R1, R2, R3, R4, R5} Set of processes: {P1, P2, P3, P4, P5} ௩1 is allotted to P2 and requested by. P1; R2 is allotted to P1 and requested by P4; R3 is allotted to P5 and requested by P2; R4 is allotted to P3 and requested by P2; Provide the corresponding wait-for-graph and comment on the presence of deadlock. ii) Consider the following snapshot of a system: (7) Maximum Allocation Available A -B Cc —1D A B C D A B C D Pages 3 2 2 1 2 2 1 3 q 1 2 P2 | 1 2 3 a 1 0 3 3 rel 1 5 0 1 1 1 0 i. Provide the content of the matrix Need. ii. Is the system in a safe state? Provide all the necessary calculations to support your answer. ii. If the maximum request of process P1 changes to (3, 4, 3, 2), will the state of the system change? Provide all the necessary calculations to support your answer.

Other Or Unclassified

Source quality review required

Part B — 12b

b) A barbershop consists of a waiting room with a chair for the barber and n chairs for waiting customers. If there are no customers to be served, the barber goes to sleep in his chair. If a customer enters the barbershop, he wakes up the barber, if sleeping. If there are many customers and the barber is busy, then a customer has to either wait, if there is a free chair or, if all chairs are occupied, the customer leaves the shop. If the barber is busy but chairs are available, then the customer sits in one of the free chairs. i) What problem does this scenario address? (2) ii) Draw a flowchart for this scenario. (4) ili) Write a program using semaphore to coordinate the barber and the customer. (7)

Other Or Unclassified

Source quality review required

Part B — 13a

a) i) Consider a paging system with the page table stored in memory. Ifa memory reference takes 200 nanoseconds, how long does a paged memory reference take? If we add TLBs, and 75 percent of all page table references are found in the TLBs, what is the effective memory reference time? (Make and state any necessary assumptions required) (7) ii) Describe the following allocation algorithms: (6) a. First fit ம. Best fit c. Worst fit , OR b) i) Consider the following page-reference string: (9) 1224216242 146)38,2; 1,2,0/0: How many page faults would occur for the FIFO, OPT and LRU page replacement algorithms assuming five frames? Which algorithm performs better for the given page-reference string? Justify your answer. ii. Explain segmentation in detail. (4)

Other Or Unclassified

Source quality review required

Part B — 14a

a) Suppose a disk drive has 10000 cylinders, numbered 0 to 9999. The drive is currently serving a request at cylinder 1142. The previous request was at cylinder 1125. The queue of pending requests in FIFO order is 185, 4169, 3912, 2773, 4947, 5508, 8021, 4749, 9129. Calculate the total distance that the disk arm moves to satisfy all the pending requests, for each of the following disk scheduling algorithms. (13) i) FCFS ii) SSTF ரி) SCAN iv) C - SCAN

Other Or Unclassified

Source quality review required

Part B — 14b

b) i) Explain various file allocation techniques in detail with their relative advantages and disadvantages (6) ர்‌. Explain different directory implementation methods. (7)

Other Or Unclassified

Source quality review required

Part B — 15a

a) i) Explain the process management mechanisms in Linux system. (6) ii) What kind of scheduling takes place in Linux environment? Discuss in details. (7)

Other Or Unclassified

Source quality review required

Part B — 15b

b) i) Describe the architecture of the Windows 7 operating system. (6) ii) What are the various services provided by the Windows operating system? Describe in details. (7)

Other Or Unclassified

Source quality review required

Part C — 16

i) Suppose a new process arrives in a system at an average of six processes per minute and each such process requires an average of 8 seconds of service time. Calculate the fraction of time the CPU will be busy in a system with a single processor. (4) ii) Consider the following table showing a set of processes with arrival time (in milliseconds), CPU burst time (in milliseconds) and priority (consider 0 as the highest priority). Assume that none of the processes have |/O burst time. (4) Process |Arrivaltime {Burst Time _ [Priority P4 0 11 2 P2 2 10 i P3 5 28 0 P4 9 16 it PS 12 2 3 Calculate the average waiting time (in milliseconds) of all the processes using preemptive priority scheduling algorithm. ர்‌) Under what circumstances do page fault occur in a demand paging environment? Describe the actions taken by the operating system on the occurrence of a page fault. (7) = ரன

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.