Directions for question:
Two friends Moloy and Niloy passed out from the Purulia Institute of Science and Technology with B.Tech degrees in Mechanical Engineering, but even after a year placement was hard to find. So they decided to take the challenge head-on, came down to Kolkata, rented a garage space on Park Street, and having an affinity towards making people enjoy good food, started their firm named 'B.Tech Bread-Omlette Wala'.
They started with three items on the menu. One was the French Toast which could be prepared in 3 minutes. The second was the Egg Tortillas which took 15 minutes to prepare. Any one of Moloy and Niloy could prepare any one of them at a time. The third was the Egg Bhurji with French Fries. This however was prepared on an automated fryer which could prepare 3 servings at a time and took 5 minutes irrespective of the number of servings equal to or below 3. The fryer did not need anyone to attend to it, and the time to put in the raw ingredients could be neglected. So one could tend to the preparation of other items while the Egg Bhurji with French Fries were being prepared.
They wanted to serve the orders as early as possible after the order was given. The individual items in any order were served as and when all the items were ready, and the order was then considered closed. None of the items on the menu were prepared in advance in anticipation of future orders.
On the first day, 3 groups of customers came in and ordered at 6.00 pm, 6.10 pm, and 6.13 pm. The first order was for a plate of Egg Tortillas, two plates of French Toast, and three plates of Egg Bhurji with French Fries. The second order was for a plate of French Toast and two plates of Egg Bhurji with French Fries. The third order was for a plate of Egg Tortilla and a plate of Egg Bhurji with French Fries.
On the backdrop of the above information answer the questions given :
Question:
A fourth customer comes in and orders two plates of French Toast at 6.24 pm. Suppose Moloy and Niloy had decided to process multiple orders at the same time, however strictly prioritising a first come first serve basis. For exactly how many minutes would one of the friends be idle from 6.00 pm till serving the last customer, assuming that the four customers were the only ones to have come in within the period being discussed ?
9
13
18
21
The reasoning for all the situations is as below :
a) The French Toast which could be prepared in 3 minutes.
b) The Egg Tortilla took 15 minutes to prepare.
c) Any one of Moloy and Niloy could prepare any one of them at a time.
d) 3 servings of the Egg Bhurji with French Fries could be prepared at a time and took 5 minutes irrespective of the number of servings equal to or below 3.
e) Since the fryer did not need anyone to attend to it, and the time to put in the raw ingredients could be neglected, one could tend to the preparation of other items while the Egg Bhurji with French Fries were being prepared.
Hence,
Multiple orders can be processed at the same time with priority to first comers |
|||||||||
Cust No |
Order |
Starting time |
Serving time |
Preparation of order ensuring minimum time |
Idle time |
||||
Moloy |
Time ended |
Niloy |
Time ended |
Moloy |
Niloy |
||||
1 |
a) 1 Tortilla, b) 2 F Toast, c) 3 EB+FF at 6.00 pm |
6.00 pm |
6.15 pm |
a) 1 Tortilla |
6.15 pm |
a) 2 F Toast b) 3 EB+FF |
6.06 pm |
0 mins |
4 mins |
2 |
a) 1 F Toast, b) 2 EB+FF at 6.10 pm |
6.10 pm |
6.15 pm |
|
|
a) 1 F Toast b) 2 EB+FF |
6.15 pm |
0 mins |
0 mins |
3 |
a) 1 Tortilla, b) 1 EB+FF at 6.13 pm |
6.15 pm |
6.30 pm |
a) 1 Tortilla b) 1 EB+FF |
6.30 pm |
|
|
0 mins |
9 mins |
4 |
a) 2 F Toast at 6.24 pm |
6.24 pm |
6.30 pm |
|
|
a) 2 F Toast |
6.30 pm |
0 mins |
0 mins |
Hence, if Moloy and Niloy had decided to process multiple orders at the same time, however strictly prioritising a first come first serve basis, from the chart, we can observe that while Moloy had never been idle for a moment, Niloy had been idle for 4+9 = 13 mins.