Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part I SHORT ANSWER (10marks) Direction: Read the question carefully and answer accordingly 1 Discuss role of operating systems in main memory management and secondary

image text in transcribed

Part I SHORT ANSWER (10marks) Direction: Read the question carefully and answer accordingly 1 Discuss role of operating systems in main memory management and secondary storage management? (5marks) 2 Explain the CPU Scheduling criteria and their optimization. (5marks) Part II APPLICATION (20marks) Direction: Consider the following set of processes and answer the given questions. (Assume length of the CPU-burst time is given in milliseconds) Process Arrival Time Burst Time P1 0 6 P2 2 2 P3 3 7 P4 4 5 P5 5 3 1 ii. Draw Gantt charts illustrating the execution of these processes using following scheduling algorithms i SJF non-preemptive SJF pre-emptive iii. Round Robin (Quantum = 5) (Rubric: 12 marks=4 marks for each algorithm) 2. What is the average waiting time of each process of the scheduling algorithms in Question 1. (5marks) 3. Evaluate the performance of algorithms used for RR, pre-emptive and non-pre-emptive SJF approaches in operating systems based on the average waiting time. (3marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

Students also viewed these Databases questions

Question

What is an organizational feasibility analysis?

Answered: 1 week ago

Question

Which file type cannot be uploaded using the image widget?

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago