Explain a way by which CPU and I/O processors <;an be kept busy. (-2)
ExplanationSource quality review required
Anna University
| 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 | November / December 2012 |
| Duration | 3 Hrs |
| Maximum Marks | 100 |
Access the previous year question paper for your examination preparation.
View / Download PDFBrowse other previous year question papers for this subject.
View All Subject Question PapersAutomatically extracted historical question data. Academic accuracy and examination rules require verification.
| Part | Required answers | Marks per answer | Section total |
|---|---|---|---|
| A | 10 | 2 | 20 |
| B | 5 | 16 | 80 |
Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.
Explain a way by which CPU and I/O processors <;an be kept busy. (-2)
ExplanationSource quality review required
Differentiate light weight and heavy weight process. (2)
ComparisonSource quality review required
State 4 situations which lead to preemption. (2)
Short DescriptionSource quality review required
Suggest a solution for dining philosopher's problem using semaphores. (2)
Other Or UnclassifiedSource quality review required
Differentiate logical and physical address. (2)
ComparisonSource quality review required
Differentiate external and internal fragmentation.(2)
ComparisonSource quality review required
Explain any 4 file operations.
ExplanationSource quality review required
What is sequential access and give one use of sequential access?
DefinitionWhat is a kernel?
DefinitionWhat is the use of fork system call?
DefinitionExplain how process management and scheduling is implemented in Linux. 12a.Explain the following operating system structure. (i) DOS operating system (ii) Linux / Unix operating system (iii) Layered operating system
ExplanationSource quality review required
b i.Explain how hardware protection can be achieved. (5) ii. Explain how parameters can be passed to system call. (6) iii. Explain dual mode of operation. (5)
Other Or UnclassifiedSource quality review required
a .i.Apply FCFS, SJF, RR (time quantum = 3) and priority (low value implies high priority) scheduling. Find waiting and turn around time of the process. (10) process Arrival time Burst time priority PI .5 3 1 P2 .9 2 3 P3 1.2 1 2 P4 1.3 1.5 1 P5 1-.8 1.7 1 ii. Write an algorithm4o solve critical section problem and explain the working of the algorithm. (6)
Other Or UnclassifiedSource quality review required
b i.Apply Banker's algorithm. Is the system safe? (7) Allocation Maximum process Rl R2 R3 R4 Rl R2 R3 R4 PI 0 0 1 2 0 0 1 2 P2 2 0 0 0 2 7 5 0 P3 0 0 3 4 6 6 5 6 P4 2 3 5 4 4 3 5 6 P5 0 3 3 2 0 6 5 2 Available Rl R2 R3 R4 2 1 0 0 (ii) . If a request from p3 arrives for (0,1,0,0), can the request be immediately granted? (3) (iii) . Explain wait-for-graph. (6)
Other Or UnclassifiedSource quality review required
a.i. Explain the basic paging hardware and how sharing can be achieved in a segmentation environment. (8+4) (ii) Apply LRU page replacement algorithm. Find the number of page faults. Consider 3 frames (4) 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 [OR] M.b.i. ) Apply optimal page replacement algorithm. Find the number of page faults. Consider 3 frames (4) 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 (ii) Explain inverted page table (8) (iii) Explain thrashing. (4) rS.a. ExplainIhe various algorithms for implementing disk scheduling.
Other Or UnclassifiedSource quality review required
b. Explain the various methods for allocating disk space. (16)
Other Or UnclassifiedSource quality review required
Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.