Answer ALL Questions: Part A - (10 X 2 20)
Answer ALL Questions: Part A - (10 X 2 20)
Fourth Semester
Computer Science and Engineering
(Common to Information Technology)
CS2254 OPERATING SYSTEMS
Time : Three hours
1. Why is the Operating System viewed as a resource allocator & control program?
2. How is the protection for memory provided?
3. What are the benefits of multithreaded programming?
4. What is Dispatcher and dispatch latency?
5. What is semaphores?
6. What are overlays?
7. Define lazy swapper.
8. What is the basic approach of page replacement?
9. What are the various layers of a file system?
10. Define seek time and latency time.
Part B (5*16= 80 Marks)
11. a) i)Explain how protection is provided for the hardware resources by the operating system.(10)
ii) Write about the various system calls. (6)
(or)
b) Explain in detail about different types of computer system in detail. (16)
12) a) Assume the following processes arrive for execution at the time indicated and also the
length of the CPU burst time given in ms. (16)
Job
A
B
C
D
E
Priority
5
2
4
1
3
a) Give a Gantt chart illustrating the execution of these processes using FCFS, Round Robin
(Q=5) and Priority (preemptive and Non-Preemptive) scheduling.
b) Calculate the average waiting time and average turnaround time for each of the above
scheduling algorithm.
(or)
14. a) i) Explain the schemes for defining the logical structure of a directory. (8)
ii) Write notes about the protection strategies provided for files. (8)
(or)
b) i) .Explain the allocation methods for disk space. (8)
ii) What are the various methods for free space management? (8)