CAT 2019 Slot 2 DILR Q19

  • Data Interpretation and Logical Reasoning
  • Logical Reasoning › Optimization
  • Medium
  • Multiple choice
  • CAT_2019_SLOT2_DILR_Q19

Data set · questions 17–20

Three doctors, Dr. Ben, Dr. Kane and Dr. Wayne visit a particular clinic Monday to Saturday to see patients. Dr. Ben sees each patient for 10 minutes and charges Rs. 100/-. Dr. Kane sees each patient for 15 minutes and charges Rs. 200/-, while Dr. Wayne sees each patient for 25 minutes and charges Rs. 300/-.

The clinic has three rooms numbered 1, 2 and 3 which are assigned to the three doctors as per the following table.

Room No.Monday & TuesdayWednesday & ThursdayFriday & Saturday
1BenWayneKane
2KaneBenWayne
3WayneKaneBen

The clinic is open from 9 a.m. to 11.30 a.m. every Monday to Saturday.

On arrival each patient is handed a numbered token indicating their position in the queue, starting with token number 1 every day. As soon as any doctor becomes free, the next patient in the queue enters that emptied room for consultation. If at any time, more than one room is free then the waiting patient enters the room with the smallest number. For example, if the next two patients in the queue have token numbers 7 and 8 and if rooms numbered 1 and 3 are free, then patient with token number 7 enters room number 1 and patient with token number 8 enters room number 3.

Question 19

Mr. Singh visited the clinic on Monday, Wednesday, and Friday of a particular week, arriving at 8:50 a.m. on each of the three days. His token number was 13 on all three days. On which day was he at the clinic for the maximum duration?

  1. A

    Monday

    Answer A in PrepSoc practice
  2. B

    Wednesday

    Answer B in PrepSoc practice
  3. C

    Same duration on all three days

    Answer C in PrepSoc practice
  4. D

    Friday

    Answer D in PrepSoc practice

Answer this questionOr tap an option. Opens in practice mode, free, no sign-in.

Show answer and solution

Answer: (A)

Monday

Solution

Concept: Deterministic Event-Driven Simulation, Multi-Server Priority Queues & Room Rotation Analysis

Master State Table

DoctorConsultation Duration (min)Consultation Fee (Rs.)Max Patients (150 min)Max Revenue (Rs.)Room (Mon & Tue)Room (Wed & Thu)Room (Fri & Sat)
Dr. Ben10100151,500Room 1Room 2Room 3
Dr. Kane15200102,000Room 2Room 3Room 1
Dr. Wayne2530061,800Room 3Room 1Room 2
Total / Clinic Capacity——315,300Rooms 1, 2, 3Rooms 1, 2, 3Rooms 1, 2, 3

Question Deduction

• Arrival Invariants & Event Timeline:

• Mr. Singh arrives at 8:50 a.m. with Token 13 on Monday, Wednesday, and Friday. Consultations begin at 9:00 a.m. (t=0 mint = 0\text{ min}).

• Consultation times: Ben (10 min10\text{ min}), Kane (15 min15\text{ min}), Wayne (25 min25\text{ min}).

• Priority tie-breaker: Lowest-numbered room is chosen when multiple rooms are free.

• Maximum stay corresponds to the day consultation finishes latest.

• Queue State at Critical Junction (t=50 mint = 50\text{ min}):

• Clearances up to t=50t = 50 are identical across days: Ben completes 5, Kane completes 3, and Wayne completes 2.

• Tokens 1 to 3 enter at t=0t = 0; Tokens 4 to 11 enter upon successive clearances.

• At t=45t = 45, Kane admits Token 11 (busy until t=60t = 60).

• At t=50t = 50, Ben and Wayne finish simultaneously, freeing two rooms for Tokens 12 and 13.

• Room Tie-Breaker Resolution Across Days:

• Token 12 takes the lower-numbered room; Token 13 (Mr. Singh) takes the higher-numbered room:

• Monday (Room 1: Ben, Room 2: Kane, Room 3: Wayne):

• Free rooms: 1 and 3. Token 12 enters Room 1 (Ben); Token 13 enters Room 3 (Wayne, $25\text{ min}$).

• Consultation ends at 10:15 a.m., giving an $85\text{-minute}$ stay (8:50 to 10:15 a.m.).

• Wednesday & Friday:

• Free rooms: 1 & 2 on Wed, and 2 & 3 on Fri. Wayne takes Token 12 in the lower room; Ben takes Token 13 in the higher room ($10\text{ min}$).

• Consultation ends at 10:00 a.m., giving a $70\text{-minute}$ stay (8:50 to 10:00 a.m.).

• Option Matching:

• Total stay was 85 minutes85\text{ minutes} on Monday versus 70 minutes70\text{ minutes} on Wednesday and Friday.

• Matches Option 1 (Monday).

Topper Take

• Critical Junction at t=50t = 50: Kane is busy with Token 11 until t=60t = 60, while Ben and Wayne finish simultaneously, forcing Tokens 12 and 13 to split between them.

• Room Priority Shortcut: Token 12 takes the smaller room, leaving Token 13 with the larger room. Only on Monday is Wayne in the larger room (Room 3), giving Mr. Singh a 25-minute consultation instead of 10 minutes.

Other questions in this set

  1. Q17. What is the maximum number of patients that the clinic can cater to on any single day?
  2. Q18. The queue is never empty on one particular Saturday. Which of the three doctors would earn the maximum amount in…
  3. Q20. On a slow Thursday, only two patients are waiting at 9 a.m. After that two patients keep arriving at exact 15 minute…

Optimization questions from other CAT papers

  1. CAT 2024 Slot 1 DILR Q18
    If both of them run staid campaigns attacking the other, then what percentage of students will vote in the…
  2. CAT 2024 Slot 1 DILR Q19
    What is the minimum percentage of students who will vote in the election?
  3. CAT 2024 Slot 1 DILR Q20
    If Amiya runs a campaign focusing on issues, then what is the maximum percentage of votes that she can get?
  4. CAT 2024 Slot 1 DILR Q21
    If Ramya runs a campaign attacking Amiya, then what is the minimum percentage of votes that she is…
  5. CAT 2024 Slot 1 DILR Q22
    What is the maximum possible voting margin with which one of the candidates can win?

Practise this question with timing, notes and your mistake notebook.

Practise in PrepSoc