Answer to Question #241232 in Algorithms for Selma

Question #241232
2. A network printer is installed in Lab1 and users sent their print jobs in the order: {Job1, Job2, Job3,
Job4, Job5, Job6, Job7, Job8}. It is a requirement that jobs be printed/served in the order they were
sent to the printer. You are required to implement a data structure that will implement
this behaviour.
a. What data structure is best suited for this scenario?
b. Write a function scheduleJob() that will get jobs and schedule them for printing.
c. Write a function serveJob() that will serve the first 4 scheduled jobs.
d. Write a function newSchedule() that displays the jobs after operation in c. above (print output) in
the format:
***************
The new Schedule
***************
List of jobs after operation in c.
++++END OF SCHEDULE+++
1
Expert's answer
2021-09-25T17:47:25-0400
Dear Selma, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS