Q21. Arrangements
MCQ · +3 / −1
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?
- A) 8
- B) 5
- C) 7
- D) 6
Correct Answer
C) 7
Step-by-step solution
📌 Core Concept
Simulate the row slot by slot, using the first-fit rule: each car takes the first place from the left where it fits. An SUV needs two adjacent vacant slots.
🔢 Step-by-Step Solution
1
Initial arrivals: car 1 (SUV) takes slots 1-2, car 2 takes slot 3, car 3 takes slot 4, car 4 (SUV) takes slots 5-6. Row: 1,1,2,3,4,4.
2
Car 1 leaves, so slots 1-2 are vacant.
3
Car 5 (compact) takes slot 1. Only slot 2 is now vacant in the front part, so car 6 (an SUV) cannot use it. Car 6 goes to the first pair of adjacent vacant slots, slots 7-8. Row: 5,V,2,3,4,4,6,6.
4
Car 4 leaves, so slots 5-6 are vacant.
5
Car 7 (SUV) needs two adjacent vacant slots. Slot 2 is a single gap, so car 7 takes slots 5-6.
6
Car 8 (compact) takes the first vacant slot, slot 2. Row: 5,8,2,3,7,7,6,6.
7
Car 3 is in slot 4. Its neighbours are car 2 (slot 3) and car 7 (slot 5). Car 7 is the only neighbour among the options.
Why Not the Others
8: car 8 is in slot 2, next to cars 5 and 2.
5: car 5 is in slot 1, which is not adjacent to slot 4.
6: car 6 is in slots 7-8, far from car 3.
Correct Answer: C