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+++