Program: Consider two jobs JOB1 and JOB2.
Part 1: JOB1 runs in a loop for 100 iterations that requires 1 second of cpu time, followed by 10 seconds of I/O to disk, followed by 3 seconds of cpu time.
Part 2: JOB2: runs in a loop for 100 iterations that requires 3 seconds of cpu time followed by one second of disk I/O.
Question 1: How long would it take to run the jobs consecutively in batch mode?
Question 2: How would this improve if multiprogramming was allowed?
This one is complex and I don't know how long it would take to run the jobs in OS.