Answer to Question #292036 in C++ for eahva

Question #292036

situation: computer science laboratory. On an average day, about 10 students are working in the lab at any given hour.

shared a printer.

The time taken for printing tasks varies from one another depending on the pages volumes printed by students. Students can send printing instructions from any terminals attached to the same network of the printer. Hence, many students can do so at once. Below is the six printing job

Task ID T1 T2 T3 T4 T5 T6

Table 1

Execution Time 3 unit time 5 unit time 2 unit time 4 unit time 6 unit time 1 unit time

Arrival Time to t1 t3 t6 t10 t14

Explain how can the printer handle the many instructions. Show your solution in terms of flowchart and full program. Make sure your program uses dynamic queue as the data structure and simulates the whole executions till completion. Your program should print the time when the print job from each student started and their waiting time. It also needs to calculate the time needed to complete all printing jobs and the average waiting time.


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. 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
New on Blog