Question: You should have three different functions that: Populate an input queue from a sequential text file Move jobs from the input queue to job class

You should have three different functions that:
Populate an input queue from a sequential text file
Move jobs from the input queue to job class queues, demonstrating correct priority
"dispatch jobs": populate jobs into processors for a duration of time, and then move them to an output queue when completed, after their 'runtime' expires. You should be able to see jobs in the output queue (using Debug, for example) and see startTime, endTime and elapsedTime as properties of the job.
These functions are sequential, and will each only work once.
You'll also need to consider jobClasses from A-Z, and not just the 3 classes A,C and L as discussed for Phase 1. The number of processors can also vary. I should be able to ask you to have 2"A" class processors, for example: both capable of running jobClass "A" jobs.

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 Programming Questions!