Question
PLEASE MAKE THS ON EXCEL import java.io.File; import java.io.FileNotFoundException; import java.util.*; public class ProcessSchedulingEngine { static Process[] processArr; static int quantum; public static void main(String[]
PLEASE MAKE THS ON EXCEL
import java.io.File; import java.io.FileNotFoundException; import java.util.*; public class ProcessSchedulingEngine { static Process[] processArr; static int quantum; public static void main(String[] args) throws FileNotFoundException, InterruptedException { Thread initializerThread = new Thread(new Runnable() { @Override public void run() { System.out.println("Running the initializer thread."); try { // initializer(processArr, quantum); initializer(); } catch (FileNotFoundException e) { e.printStackTrace(); } } }); initializerThread.start(); initializerThread.join(); Thread schedulerThread = new Thread(new Runnable() { @Override public void run() { System.out.println("Running the scheduler thread."); schedulerThread(processArr, quantum); } }); schedulerThread.start(); } private static void schedulerThread(Process[] processArr, int quantum) { System.out.println("Running the scheduler thread."); System.out.println("Process Arr : " + processArr.length); // this creates a priority queue(order) of the processes to be run // create custom scheduler as per the given condition Queue
Explanation
Please refer to solution in this step.
CHEGG LNK ;
https://www.chegg.com/homework-help/questions-and-answers/term-project-2-details-scope-term-project-aims-combine-knowledge-quin-theory-analysis-deve-q90870037?trackid=HiHbksWP
Term Project-2 Details Scope: This term project aims to combine your knowledge on Queuing Theory together with your analysis and development skills. You will be working as a team and are asked to provide a decision support tool (DST) to perform various Queuing Theory Queuing Models analysis. Details and deliverible requirements are provided in the requirements section. Requirements: Input requirements: This part is explaining the items related to the user inputs of the DST. List of inputs expected from the user are: - The queuing model (QM) to be analysed. This should be a drop down menu that the user can select from. It can be one of the following: 9 M/M/1:GD/v/p OM/MI:GD/N/ OM/M/c:GD/ OM/M/c:GD/N/ M/MGD/ (self-service model) M/M/R:GD/K/K (repair-shop model) MG/1:GD60/(P-K formula) - Parameters of the QM depending on the selected queuing model. The following matrix provides the necessary input for each QM: Quering Model MMIGD MMIGDN LAN MMCGDN LAN MMG elf service model M/MR:GDKK (repair shop model LARK MGGD (PK formula) LEM. Vart Functionality Requirements. This part of the project describes what kind of calculations and operations your DST must be providing: - Checking if the the user selected a QM from the drop down menu. If not warn the user. -Depending on the menu selected display the required parameter input fields and check for the validity of all required parameters - Calculate the following steady-state measures of performance: OP.P. (for n upto 20). o for limited N QMsp..L.L o L.L.W.W MMEGD Output Requirements: This part of the project describes what outputs your DST should be delivering to users. You are supposed to provide the steady-state measures of performance described previously. Namely, you should display the results for: OP. p. (for n upto 20). o for limited N QMs: P. LL o L.L.W.W Other Details: - You can use any programming language to develop your DST. Excel VB is recommended but not mandatory. Submission deadline: January 7th, Friday, 23:59 - All team members are expected to contribute - An oral presentation and demonstration will be done randomly on the group members, explaining all the details of the project. - You will be delivering all of your source code, project files and related items - You will also deliver a small report/manual on how your DST is used by providing screen shots on a sample data (at most 5 pages) Term Project-2 Details Scope: This term project aims to combine your knowledge on Queuing Theory together with your analysis and development skills. You will be working as a team and are asked to provide a decision support tool (DST) to perform various Queuing Theory Queuing Models analysis. Details and deliverible requirements are provided in the requirements section. Requirements: Input requirements: This part is explaining the items related to the user inputs of the DST. List of inputs expected from the user are: - The queuing model (QM) to be analysed. This should be a drop down menu that the user can select from. It can be one of the following: 9 M/M/1:GD/v/p OM/MI:GD/N/ OM/M/c:GD/ OM/M/c:GD/N/ M/MGD/ (self-service model) M/M/R:GD/K/K (repair-shop model) MG/1:GD60/(P-K formula) - Parameters of the QM depending on the selected queuing model. The following matrix provides the necessary input for each QM: Quering Model MMIGD MMIGDN LAN MMCGDN LAN MMG elf service model M/MR:GDKK (repair shop model LARK MGGD (PK formula) LEM. Vart Functionality Requirements. This part of the project describes what kind of calculations and operations your DST must be providing: - Checking if the the user selected a QM from the drop down menu. If not warn the user. -Depending on the menu selected display the required parameter input fields and check for the validity of all required parameters - Calculate the following steady-state measures of performance: OP.P. (for n upto 20). o for limited N QMsp..L.L o L.L.W.W MMEGD Output Requirements: This part of the project describes what outputs your DST should be delivering to users. You are supposed to provide the steady-state measures of performance described previously. Namely, you should display the results for: OP. p. (for n upto 20). o for limited N QMs: P. LL o L.L.W.W Other Details: - You can use any programming language to develop your DST. Excel VB is recommended but not mandatory. Submission deadline: January 7th, Friday, 23:59 - All team members are expected to contribute - An oral presentation and demonstration will be done randomly on the group members, explaining all the details of the project. - You will be delivering all of your source code, project files and related items - You will also deliver a small report/manual on how your DST is used by providing screen shots on a sample data (at most 5 pages)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started