Skip to main content

GATE CSE 2019Analytical Aptitude › Puzzles, Coding & RelationsVerified

GATE CSE 2019 PYQ: Three of the five students are allocated to a hostel put in special requests to the warden, Given the floor…

Three of the five students are allocated to a hostel put in special requests to the warden, Given the floor plan of the vacant rooms, select the allocation plan that will accommodate all their requests.

Request by X: Due to pollen allergy, I want to avoid a wing next to the garden.

Request by Y: I want to live as far from the washrooms as possible, since I am very much sensitive to smell.

Request by Z: I believe in Vaastu and so I want to stay in South-West wing.

The shaded rooms are already occupied. WR is washroom

  1. A
    GATE CSE 2019 Puzzles, Coding & Relations diagram: Three of the five students are allocated to a hostel put in
  2. B
    GATE CSE 2019 Puzzles, Coding & Relations diagram: Three of the five students are allocated to a hostel put in
  3. C
    GATE CSE 2019 Puzzles, Coding & Relations diagram: Three of the five students are allocated to a hostel put in
  4. D
    GATE CSE 2019 Puzzles, Coding & Relations diagram: Three of the five students are allocated to a hostel put in
    Correct answer

Answer

(D)

Approach

Treat each request as a hard constraint on the floor plan. Z's request is the most restrictive because it names one exact wing (South-West), whereas X's and Y's requests are relative ("not next to the garden", "far from the washroom"). So first check which candidate plan places Z in the South-West wing; among those, verify that X is not in a wing adjacent to the garden and that Y's room is the farthest feasible one from the washroom (WR).

Z's Vaastu request fixes the South-West wing, which is the strongest discriminator among the four plans. The single plan that satisfies it also keeps X away from the garden and puts Y farthest from the washroom, so all three requests are honoured only in option D.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.