Question: Project Details: 1. Program should have command argument options to get input data from a text file and command argument option for write output data.-f

 Project Details: 1. Program should have command argument options to get

Project Details: 1. Program should have command argument options to get input data from a text file and command argument option for write output data."-f" must be used for command argument and following text indicate input file name and "0" for output file name student@db:--/ce351 -f input.txt o output.txt 2. This file should have three columns and unlimited rows. It must be text and fields should delimit by ":" character. Below table represent structure of this file. Burst Time Arrival Time Priority 10 0 0 5 0 Some data fields may not use at decision process so you can omits the values. But every process should have three of these values. At the Appendix section input.txt file given as example. 0 3. After first time executing simulator should ask for user to choose scheduling method. Menu should have at least four options. CPU Scheduler Simulator 1) Scheduling Method (None) 2) Preemptive Mode (Off) 3) Show Result 4) End Program Option> a) Scheduling Method: In this mode program optain scheduling method from user. You should implement: None: None of scheduling method chosen First Come, First Served Scheduling Shortest-Job-First Scheduling Priority Scheduling Round-Robin Scheduling (You should also obtain time quantum value) b) Preemptive Mode: This is a clock-driven mode, in which the clock is a counter that is incremented each simulated second. The clock is Initially 0, and continues "ticking" until all the jobs in the input have been serviced and left the system. This simulation runs until a particular number of jobs have been serviced. Non-preemptive Mode: In this mode dispatcher should make decision after running process was terminated. Project Details: 1. Program should have command argument options to get input data from a text file and command argument option for write output data."-f" must be used for command argument and following text indicate input file name and "0" for output file name student@db:--/ce351 -f input.txt o output.txt 2. This file should have three columns and unlimited rows. It must be text and fields should delimit by ":" character. Below table represent structure of this file. Burst Time Arrival Time Priority 10 0 0 5 0 Some data fields may not use at decision process so you can omits the values. But every process should have three of these values. At the Appendix section input.txt file given as example. 0 3. After first time executing simulator should ask for user to choose scheduling method. Menu should have at least four options. CPU Scheduler Simulator 1) Scheduling Method (None) 2) Preemptive Mode (Off) 3) Show Result 4) End Program Option> a) Scheduling Method: In this mode program optain scheduling method from user. You should implement: None: None of scheduling method chosen First Come, First Served Scheduling Shortest-Job-First Scheduling Priority Scheduling Round-Robin Scheduling (You should also obtain time quantum value) b) Preemptive Mode: This is a clock-driven mode, in which the clock is a counter that is incremented each simulated second. The clock is Initially 0, and continues "ticking" until all the jobs in the input have been serviced and left the system. This simulation runs until a particular number of jobs have been serviced. Non-preemptive Mode: In this mode dispatcher should make decision after running process was terminated

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!