Operating SystemPU Spring
a) What is Deadlock? Consider a system with four processes PO through P3 and three resources types A, B, C. Resource type A has 10 instances, B has 6 instances and type C has 8 instances. Suppose at…
15- a) What is Deadlock? Consider a system with four processes PO through P3 and three resources types A, B, C. Resource type A has 10 instances, B has 6 instances and type C has 8 instances. Suppose at a time tO, following snapshot of system has been taken. Is the system safe? If yes, then what is the safe sequence? Allocation Matrix Maximum Need Matrix [Process] A [B [TC] ante [P2__}1_|2_|2_] [Po [4 32 ne a Ee Ee . b) Consider following set of processes along with their burst time, en arrival time and priorities. Calculate average waiting time and average turnaround time using following scheduling. Also describe which one is the best algorithm and why?
- i) SJF
- ii) Priority (preemptive) iii, __ RR (Quantum size = 2ms [Process [Burst Tine | Anal Tine” Prony LS | ees cee a eS ee | aes 7 val ss
A worked answer is on its wayMeanwhile, read the Operating System notes for this topic.
Discussion
Loading…
More Operating System questions
a) Define operating system. Discuss on different types of operating system. b) How CPU switches from one process to another? Illustrate with a diagram. What…PU Spring 202415a) Given the following set of information, calculate the average waiting time and average turn around time using SRTN, FCFS, RR (Quantum = 2). Also discuss…PU Spring 202415a) Define page fault. Consider the following page reference strings: 1,3, 4, 5,3. 1.6, 7,3, 1. 3,4, 8. 9, 4, 3, 1, 3, 4, 7. How many page faults would occur…PU Spring 202415a) Whatis internal and external fragmentation? Explain TLB in detail. b) Consider following snapshot of a system. BUBO SRE H Oa joo fs fu fa fe [fa fe fo [2…PU Spring 202415a) What'are different ways to input output? Explain Interrupt Driven “7 V/O with diagram. b) How files and directories are stored in memory such that they…PU Spring 20248a) Define bottleneck. Explain the concept of cloud OS. b) What is cloud operating system? Discuss its characteristics and = advantages.PU Spring 202415