Question: Write a program to simulate the processing of batch jobs by a computer system. The scheduling of jobs should be handled via a queue (or
Write a program to simulate the processing of batch jobs by a computer system. The scheduling of jobs should be handled via a queue (or priority queue for more of a challenge). Examples of commands that your program should be able to process are .
add - to add an entry to the queue
delete - to take an item out of the queue
status - to report on items currently in queue
Step by Step Solution
3.31 Rating (142 Votes )
There are 3 Steps involved in it
Python from queue import PriorityQueue class BatchJobProcessor def initsel... View full answer
Get step-by-step solutions from verified subject matter experts
