Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE COMPLETE FULL QUESTION.! ANSWER ALL THE PARTS OF THE QUESTION IN TEXT FORM.! IF YOU CAN'T ANSWER FULL THAN DON'T ANSWER.! CPU Scheduling Algorithms

PLEASE COMPLETE FULL QUESTION.! ANSWER ALL THE PARTS OF THE QUESTION IN TEXT FORM.! IF YOU CAN'T ANSWER FULL THAN DON'T ANSWER.!
image text in transcribed
image text in transcribed
CPU Scheduling Algorithms Duc Date: Sat 12/16/23 @ 11:59pm Project Overview: CPU Scheduling Algorithms are essential components of modern operating systems that manage the allocation of the central processing unit (CPU) resources to various processes running on a computer system. As multiple processes compete for the CPU's attention, these algorithms play a critical role in determining the order and duration in which processes are executed, aiming to maximize system performance and efficiency. Some of the commonly used algorithms include: - First-Come, First-Served (FCFS) - Shortest Job Next (SJN) - Round Robin (RR) - Priority Scheduling (PS) - Multilevel Queue Scheduling (MQS) In this assignment, you will use any modern programming language of your choice to implement One (1) of the above CPU scheduling algorithms to measure its effectiveness. Program Requirements Your program should have the following functionalities: Input: - Allow the user to enter a Total Number of Processes to analyze - Allow the user to enter Arrival Time of each process - Allow the user to enter Burst Time of each process - If Priority Scheduling (PS) is used, allow the user to enter the Priority of each process - If Round Robin (RR) is used, allow the user to enter the Time Quantum or Time Slice - If Multilevel Queue Scheduling (MQS) is used, allow the user to enter the assigned Queue number of each process Process and Output: - Calculate and display the following for each process: Completion Time Turn Around Time Waiting Time - Calculate and display the following averages: Average Turn Around Time Average Wait Time - Generate the Gantt chart - Allow the user to enter Burst Time of each process - If Priority Scheduling (PS) is used, allow the user to enter the Priority of each process - If Round Robin (RR) is used, allow the user to enter the Time Quantum or Time Slice - If Multilevel Queue Scheduling (MQS) is used, allow the user to enter the assigned Queue number of each process Process and Output: - Calculate and display the following for each process: - Completion Time - Turn Around Time - Waiting Time - Calculate and display the following averages: Average Turn Around Time - Average Wait Time - Generate the Gantt chart Project Report Complete a project report using MS Word or similar. Your project report should include the following: 1. Cover Page 2. Table of Content 3. Introduction 4. Problem Description 5. System Design - Description of Program/Modules - Algorithm 6. Implementation - Software Requirements - Hardware Requirements - Source Code - Execution Screenshots 7. Conclusion 8. References Submission Requirements Submit the following in Canvas by the specified due date: 1. your completed Project Report 2. a zipped folder containing your source code No late submission will be accepted

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions