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

1 Expert Approved Answer
Step: 1 Unlock

Python from queue import PriorityQueue class BatchJobProcessor def initsel... View full answer

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 Operating System Questions!