Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need full project please General Requirements 1. The project accounts for 10 points of the total course grade. 2. The project can be done

image text in transcribed

image text in transcribed

i need full project please

General Requirements 1. The project accounts for 10 points of the total course grade. 2. The project can be done in groups of up to 3 . However, discussions will be individual and covering the whole project. 3. Grades may vary among the group depending on their effort, contribution and discussion. 4. Every team member should contribute to all aspects of the project and be ready to present and answer anything about any part of the project. 5. Submit the following onto e-learning: a. A fully working application zipped into the project's assignment b. Source code to be placed in the project's Turnitin-assignment. One text file containing all source codes. 6. Any violation of PSUT's ethics/honour code will have severe consequences. 7. Submission deadlines and discussion dates will be announced on e-learning Scheduling Algorithms: (Reference: OS Book - Chapter 6) Write a program in any programming language to implement the Multilevel Feedback scheduling using 3 levels/queues, each one implementing the following: 1. Level 1/Queue 1: Round Robin scheduling algorithm with quantum ( q=8). 2. Level 2/Queue 2: Round Robin scheduling algorithm with quantum ( q=16). 3. Level 3/Queue 3: First Come First Serve scheduling a) The user should be able to enter the number of processes, their arrival times and their burst times in time units. Data entry can be through console or graphical interfaces. b) Your program should find, select and display the order in which the processes are executed (it will be nice if you can draw the Gantt chart) and the start and end of each execution cycle (you can add the length of the execution cycle). c) Add an option to specify the percentage of the CPU time for each queue as follows: 1. Level 1/Queue 1: 60% 2. Level 2 Queue 2:25% 3. Level 3/Queue 3: 15% At the end, do the following calculations and display them: 1. the average waiting time 2. the average response time 3. the average turnaround time Example of Multilevel Feedback Queue Three queues: D Q0RR with time quantum 8 milliseconds D Q1 RR time quantum 16 milliseconds D Q2 - FCFS Scheduling A new job enters queue Q0 which is served RR - When it gains CPU, job receives 8 milliseconds - If it does not finish in 8 milliseconds, job is moved to queue Q1 D At Q1 job is again served RR and receives 16 additional milliseconds - If it still does not complete, it is preempted and moved to queue Q2

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

More Books

Students also viewed these Databases questions

Question

digital system design

Answered: 1 week ago