Assignments
Assignments
7. Apply the SJF CPU scheduling algorithm to find out the average waiting time for
the given processes:
- Process Id: P1, Arrival time: 3, Burst time: 4
- Process Id: P2, Arrival time: 5, Burst time: 3
- Process Id: P3, Arrival time: 0, Burst time: 2
- Process Id: P4, Arrival time: 5, Burst time: 1
- Process Id: P5, Arrival time: 4, Burst time: 3 (5 marks)
8. Explain the process of system booting and the different types of booting. (5
marks)
9. Describe the differences between user mode and kernel mode in operating
systems. (5 marks)
10. Define and explain the concept of process synchronization. What are the
different types of processes? (5 marks)
11. What is virtual memory? How is it implemented? (5 marks)
12. Discuss the following storage media, detailing their uses and features:
- Magnetic disks, CDs, DVDs (5 marks)
13. Explain how to recover in a file system. What tools and processes are involved?
(5 marks)
14. Define the dining philosophers problem and explain how it can be solved using
semaphores. (5 marks)
15. Differentiate between time-sharing and real-time operating systems. Provide
examples of where each might be used effectively. (5 marks)