This is in C programming. Please help change the program from round robin to shortest remaining time
Fantastic news! We've Found the answer you've been seeking!
Question:
This is in C programming. Please help change the program from round robin to shortest remaining time next. Link for google drive: https://drive.google.com/drive/folders/1w3AhgXWQYWrkVjHMEE587-3_9HymqNIt?usp=sharing
Transcribed Image Text:
LINK FOR GOOGLE DRIVE. https://drive.google.com/drive/folders/1w3AhgXWQYWrkVjHMEE587-3_9HymqNlt?usp=sharing THE google drive link above contains the codes, make file and header files. I need help in creating a pre-emptive scheduling for Shortest Remaining Time Next. However the problem now is that the main c code which is task-2-30067863.c is a pre-emptive scheduling for round robin with a quantum of 2 but I would like the code to be for Shortest Remaining Time Next (SRTN) pre-emptive Scheduling. Please help change the code from task-2-30067863.c so that it is for SRTN. How the program works. You firstly create a txt file which in this case is the process-data.txt which contains the values of the arrival time and service time. From there using the make file created you can compile into an executable where after running the executable it will create a result.txt file which contains the answers as seen in the code. Everything should be correct and should run round robin perfectly fine however, this isn't what I want instead I would like it to run SRTN. Please kindly help me change the code. LINK FOR GOOGLE DRIVE. https://drive.google.com/drive/folders/1w3AhgXWQYWrkVjHMEE587-3_9HymqNlt?usp=sharing THE google drive link above contains the codes, make file and header files. I need help in creating a pre-emptive scheduling for Shortest Remaining Time Next. However the problem now is that the main c code which is task-2-30067863.c is a pre-emptive scheduling for round robin with a quantum of 2 but I would like the code to be for Shortest Remaining Time Next (SRTN) pre-emptive Scheduling. Please help change the code from task-2-30067863.c so that it is for SRTN. How the program works. You firstly create a txt file which in this case is the process-data.txt which contains the values of the arrival time and service time. From there using the make file created you can compile into an executable where after running the executable it will create a result.txt file which contains the answers as seen in the code. Everything should be correct and should run round robin perfectly fine however, this isn't what I want instead I would like it to run SRTN. Please kindly help me change the code.
Expert Answer:
Answer rating: 100% (QA)
What is Round Robin Scheduling Round Robin Scheduling is a scheduling ... View the full answer
Posted Date:
Students also viewed these programming questions
-
Please refer to the following short case as you answer these questions: After earning both her accounting degree and her CPA license, Barb opened her own public accounting practice. One of her...
-
Please refer to the Vivaldi Company (1) review exercise above. Required 1 Show the impact of each event on the accounting equation (recording the purchases of merchandise first in inventory in the...
-
Please refer to the Green and Ampt Infiltration and Runoff Example posted on the textbook website along with the associated Excel Spreadsheet. Complete the problem in the example, and then repeat the...
-
1. The operations manager for a well-drilling company must recommend whether to build a new facility, expand his existing one, or do nothing. He estimates that long-run profits (in $000) will vary...
-
George Hathaway, an electrician, entered into an agreement with a real estate management company to perform all maintenance of basic electrical systems and air-conditioning equipment in the apartment...
-
Show that the SI unit of capacitive reactance Xc is the ohm.
-
During the Covid19 pandemic, some people wondered why biologists seemed unable to answer many questions about the virus, including why children rarely became seriously ill, why men were more likely...
-
Rice Inc. manufactures lawn mowers and garden tractors. Lawn mowers are relatively simple to produce and are made in large quantities. Garden tractors are customized to individual wholesale customer...
-
(a) Equity of KGF Ltd. (KGFL) is Rs. 410 Crores, its debt, is worth Rs. 170 Crores. Printer Division segments value is attributable to 74%, which has an Asset Beta (p) of 1.45, balance value is...
-
Richard Gray presented his resignation letter to his manager on 11 June 2018. Information extracted from his employment contract states that he started working for Debt Administration Pty Ltd on 13...
-
You have been requested by a team of project managers to explain the factors that are considered influential when conducting project procurement. Your response should make use of relevant examples.
-
What is a stack?
-
What is the advantage of the heap over a stack?
-
Differentiate between the void pointer, NULL pointer and an uninitialized pointer.
-
How to avoid dangling pointer issues and memory leakage problem?
-
Write an algorithm and C code for deleting any node from the singly linear linked list.
-
The debit side of an account is used to increase all assets and expense accounts (excluding contra accounts). Select answer from the options below True False
-
Which of the following streaming TV devices does not involve use of a remote controller? A) Google Chromecast B) Apple TV C) Amazon Fire TV D) Roku
-
Meet local small business owners or representatives of as profit organizations. Find a company or organization that will host your team to produce a web site for them (nonmonetary, of course). Find...
-
More often than not, database environments in in organization reflect data structures that have been developed over a period of years, sometimes haphazardly, and that often reflect a variety of...
-
Although database systems have become the systems of choice for new and reengineered systems, are there any situations where a relational file-based system might be chosen instead? Explain your answer
Study smarter with the SolutionInn App