Skip to content
Question 31 of 32
Q.

Five jobs are performed first on machine M1M_1 and then on machine M2M_2. Time taken in hours by each job on each machine is given below:

Machines \ Jobs12345
M1M_168457
M2M_2376416
Determine the optimal sequence of jobs and total elapsed time. Also find the idle time for machine M2M_2.
Maharashtra MsbshseMaharashtra HSC (MSBSHSE) Board 2020Subjective· 4mImportance★★★★★
97% · 31/32 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Johnson's rule gives the sequence 3,5,2,4,13, 5, 2, 4, 1. Tabulating in/out times, M2M_2 finishes at hour 4141 (total elapsed time), and M2M_2 is idle for 4+1=54 + 1 = 5 hours.

Apply Johnson's rule. Repeatedly pick the smallest time in the table: if it is on M1M_1, schedule that job as early as possible; if on M2M_2, as late as possible.

  • Smallest is 33 (J1J_1 on M2M_2) → place J1J_1 last.
  • Next 44: J3J_3 on M1M_1 → place first; J4J_4 on M2M_2 → place next-to-last.
  • Next 77: J5J_5 on M1M_1 → next front slot; J2J_2 on M2M_2 → next back slot.

Sequence:   3→5→2→4→1\;3 \to 5 \to 2 \to 4 \to 1.

In–out timings:

JobM1M_1 in–outM2M_2 in–out
30−40-44−104-10
54−114-1111−2711-27
211−1911-1927−3427-34
419−2419-2434−3834-38
124−3024-3038−4138-41

M2M_2 starts a job only after M1M_1 finishes it and M2M_2 is free (e.g. job 5 waits until t=11t = 11).

…

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.