Learning Goal: I’m working on a c++ multi-part question and need an explanation

Place your order now for a similar assignment and have exceptional work written by our team of experts, At affordable rates

For This or a Similar Paper Click To Order Now

Learning Goal: I’m working on a c++ multi-part question and need an explanation and answer to help me learn.Please make sure the work is original. The CPU scheduler is an important component of the operating system. Processes must be properly scheduled, or else the system will make inefficient use of its resources. Different operating systems have different scheduling requirements, for example, a supercomputer aims to finish as many jobs as it can in the minimum amount of time, but an interactive multi-user system such as a Windows terminal server aims to rapidly switch the CPU between each user in order to give users the “illusion” that they each have their own dedicated CPU.Which is the best CPU scheduling algorithm? There is no hard-and-fast answer, but one way to find out is to simulate different scheduling algorithms with the type of jobs your system is going to be getting, and see which one is the best. This is what you will be doing for this assignment.There are two parts to this assignment:1. Implementation of a CPU scheduler simulation to compare two schedules described in Chapter 5 (use any programming language that you like); and2. Create a 1-2 page report describing your evaluation of these different scheduling algorithms. Did one work better then the other? Which algorithm might be better then another for a given purpose?The SimulatorA job can be defined by an arrival time and a burst time. For example, here’s a sequence of jobs:<0, 100>, <2, 55>, <2, 45>, <5, 10>…The first job arrives at time 0 and requires 100ms of CPU time to complete; the second job arrives at time 2 and requires 55ms of CPU time; the third job arrives at time 2 and requires 45ms; and so on. You can assume that time is divided into millisecond units.Your simulator should first generate a sequence of jobs. The burst lengths can be determined by selecting a random number from an exponential distribution. There should also be a minimum job length of 2ms, so that the total burst duration for a job is 2ms plus the value selected from the exponential distribution (which should be between 0 and 40). So the shortest job will require for 2ms of CPU time and the longest, 42ms.Your program should simulate the arrival of jobs for up to n milliseconds and then stop.Once the jobs have been generated, you will need to compare the performance of different scheduling algorithms on the same set of jobs. You can write one program that runs both algorithms or write two separate programs.For each scheduling algorithm, your program should measure at least (1) the CPU utilization, (2) the average job throughput per second, and (3) the average job turnaround time.


For This or a Similar Paper Click To Order Now

Our Features

— 01

Papers Free of Plagiarism

We do not tolerate plagiarism on Eduessaywritingservice. Every paper is written from scratch, so we guarantee 100% original content to our clients. Authenticity is our priority.

— 02

Team of Professionals

Our big team of writers and editors consists of more than 500 talented individuals who love their job and enjoy helping students around the globe. All our specialists have Masters or Ph.D. degrees along with vast experience and brilliant writing skills.

— 03

Free Features

You will get a title page and reference page absolutely for free. Formatting is also free of charge. Besides, if you think that your paper needs revision, you have an option to request it for free.

— 04


We guarantee complete confidentiality and safety to every client. On our website, we use encryption as a security method for all orders. Third parties won’t have access to your personal data or bank details.

— 05


We strive to make our service affordable for everyone, so our prices are really low even without discounts. But if you are a loyal customer, we will gladly provide special offers for you.

— 06

Affordable Prices

Affordability is our credo. On our website, you can order a paper for 10$ per page. This is the lowest price available on the market.