CAT 2020 Slot 2 DILR Q21
- Data Interpretation and Logical Reasoning
- Logical Reasoning › Arrangements
- Easy
- Multiple choice
- CAT_2020_SLOT2_DILR_Q21
Data set · questions 21–24
A shopping mall has a large basement parking lot with parking slots painted in it along a single row. These slots are quite narrow; a compact car can fit in a single slot but an SUV requires two slots. When a car arrives, the parking attendant guides the car to the first available slot from the beginning of the row into which the car can fit.
For our purpose, cars are numbered according to the order in which they arrive at the lot. For example, the first car to arrive is given a number 1, the second a number 2, and so on. This numbering does not indicate whether a car is a compact or an SUV. The configuration of a parking lot is a sequence of the car numbers in each slot. Each single vacant slot is represented by letter V.
For instance, suppose cars numbered 1 through 5 arrive and park, where cars 1, 3 and 5 are compact cars and 2 and 4 are SUVs. At this point, the parking lot would be described by the sequence 1, 2, 3, 4, 5. If cars 2 and 5 now vacate their slots, the parking lot would now be described as 1, V, V, 3, 4. If a compact car (numbered 6) arrives subsequently followed by an SUV (numbered 7), the parking lot would be described by the sequence 1, 6, V, 3, 4, 7.
Answer the following questions INDEPENDENTLY of each other.
Question 21
Initially cars numbered 1, 2, 3, and 4 arrive among which 1 and 4 are SUVs while 2 and3 are compact cars. Car 1 then leaves, followed by the arrivals of car 5 (a compact car) and car 6 (an SUV). Car 4 then leaves. Then car 7 (an SUV) and car 8 (a compact car)arrive. At this moment, which among the following numbered car is parked next to car3?
Show answer and solution
Answer: (C)
7
Solution
Concept: Greedy First-Fit Slot Allocation, Queue Evolution & Spatial State Tracking
Master State Table
| Vehicle / Slot Parameter | Dimensional Footprint | Allocation Rule | Sequence Token |
|---|---|---|---|
| Compact Car | 1 Slot | Guided to leftmost available single slot | Car index (1 slot) |
| SUV | 2 Contiguous Slots | Requires 2 adjacent slots; skips isolated single vacancies | Car index (2 slots) |
| Vacant Slot (V) | 1 Slot | Created upon car departure; available for future cars | Symbol |
| Allocation Policy | Greedy First-Fit | Leftmost valid slot from row start has strict priority | Earlier vacancies filled first |
| Arrival Index | Numbered chronologically; independent of car type | Static car identifier |
Question Deduction
• Chronological Event Tracking & Physical Slot Allocation:
• Initial Arrival Phase (Cars 1–4):
• Car 1 (SUV) occupies Slots 1–2; Car 2 (compact) occupies Slot 3; Car 3 (compact) occupies Slot 4; Car 4 (SUV) occupies Slots 5–6.
• Configuration: $1, 2, 3, 4$.
• Departure of Car 1 and Arrivals of Cars 5 and 6:
• Car 1 leaves Slots 1–2, creating vacancies at Slot 1 ($\text{V}$) and Slot 2 ($\text{V}$).
• Car 5 (compact) takes leftmost vacant Slot 1. Slot 2 remains vacant ($\text{V}$).
• Car 6 (SUV, 2 slots) cannot fit into single Slot 2 (flanked by Car 5 and Car 2); it takes Slots 7–8 at row end.
• Configuration: $5, \text{V}, 2, 3, 4, 6$.
• Departure of Car 4 and Arrivals of Cars 7 and 8:
• Car 4 leaves Slots 5–6, creating two contiguous vacant slots ($\text{V}, \text{V}$).
• Car 7 (SUV) cannot fit into single Slot 2; it takes contiguous Slots 5–6.
• Configuration: $5, \text{V}, 2, 3, 7, 6$.
• Car 8 (compact) takes leftmost vacant Slot 2.
• Final configuration: $5, 8, 2, 3, 7, 6$.
• Physical Neighborhood Analysis for Car 3:
• Slot layout: Slot 1 (Car 5) | Slot 2 (Car 8) | Slot 3 (Car 2) | Slot 4 (Car 3) | Slots 5–6 (Car 7) | Slots 7–8 (Car 6).
• Car 3 occupies Slot 4. Its direct physical neighbors are Car 2 (left, Slot 3) and Car 7 (right, Slots 5–6).
• Among the choices (), Car 7 is present, while Car 2 is not.
• Option Matching:
• Car 7 is parked next to Car 3, matching Option 3.
Topper Take
• Direct Spatial Simulation: Track physical slot numbers rather than raw tokens. When Car 4 leaves, Slots 5–6 open; Car 7 (SUV) cannot fit into single Slot 2 and immediately takes Slots 5–6, parking directly adjacent to Car 3 in Slot 4.
Other questions in this set
- Q22. Suppose eight cars have arrived, of which two have left. Also suppose that car 4 is a compact and car 7 is an SUV.…
- Q23. Suppose the sequence at some point of time is 4, 5, 6, V, 3. Which of the following is NOT necessarily true?
- Q24. Suppose that car 4 is not the first car to leave and that the sequence at a time between the arrival of the car 7 and…
Arrangements questions from other CAT papers
- CAT 2025 Slot 1 DILR Q5
- CAT 2025 Slot 1 DILR Q6
- CAT 2025 Slot 1 DILR Q7
- CAT 2025 Slot 1 DILR Q8
- CAT 2025 Slot 2 DILR Q10
Practise this question with timing, notes and your mistake notebook.
Practise in PrepSoc