Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Consider a system with: five processes, PO P4, three resource types, A, B, C. Type A has 10 instances, B has 5 instances, C
1. Consider a system with: five processes, PO P4, three resource types, A, B, C. Type A has 10 instances, B has 5 instances, C has 7 instances. At time TO the following snapshot of the system is taken. Is the system in a safe state? Max Need Allocated Available A B A B PO 7 3 1 3 3 2 P1 2 P2 C 2 0 ONWNOD Lolololo 0-00-00 Oo oo 9 2 P3 2 2 3 P4 4 Is the system in a safe state? Write the steps, that leads to your conclusion. [3 Marks] 2. Explain the differences between Internal and External fragmentation in Memory Management in Operating System, Suggest a method to solve this problem. With an example (2 Marks) 3. Apply Round Robin Scheduling algorithm to find out the Average Waiting Time, Average Turnaround time using the information given below. Time slice 24 msecs. (2 Marks) Process CPU burst time (msec) A 106 B 122 000 66 98 4. Discuss various ways to Prevent Deadlocks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started