What is page fault?
DefinitionCS7452 – OPERATING SYSTEMS
Anna University
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 PDFHow to Use This Question Paper
- Understand the examination pattern.
- Practise questions within the allotted time.
- Identify topics that require further revision.
- Compare with other previous year papers.
More Question Papers
Browse other previous year question papers for this subject.
View All Subject Question PapersQuestion Paper Intelligence
Automatically extracted historical question data. Academic accuracy and examination rules require verification.
Part-wise extracted questions
Question type candidates
Section marks require review. Marks charts are withheld.
Optional-choice evidence
Detected alternatives only. Confirm the actual choice rules in the original question paper.
Question navigator
Extracted questions
Whatis seek time in disk scheduling?
Other Or UnclassifiedWhat are the operations performed on a file?
DefinitionWhat is a daemon? How does it work in Linux operating system?
DefinitionWhatis the role of kernel?
Other Or Unclassifieda) 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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
b) i) Explain various file allocation techniques in detail with their relative advantages and disadvantages (6) ர். Explain different directory implementation methods. (7)
Other Or UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
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 UnclassifiedSource quality review required
Advanced Examination Analysis
Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.