Students applying for hostel rooms are allotted rooms in order of seniority. Students already staying in a room will move if they get a room in their preferred list. Preferences of lower ranked applicants are ignored during allocation. Given the data below, which room will Ajit stay in? Names Student seniority Current Room preference list Amar 1 P R, S, Q Akbar 2 None R, S Anthony 3 Q P Ajit 4 S Q, P, R
Students applying for hostel rooms are allotted rooms in order of seniority. Students already staying in a room will move if they get a room in their preferred list. Preferences of lower ranked applicants are ignored during allocation. Given the data below, which room will Ajit stay in? Names Student seniority Current Room preference list Amar 1 P R, S, Q Akbar 2 None R, S Anthony 3 Q P Ajit 4 S Q, P, R Correct Answer Q
Amar is senior most guy and prefers room ‘R’ and hence R is allotted to him. Akbar is second most senior student and prefers room ‘R’ and ‘S’ only. Since, room ‘R’ is already allotted to Amar, room ‘S’ is provided to Akbar.
Anthony prefers room ‘P’, so it is allocated to him. Remaining only room ‘Q’ is allocated to Ajit.
|
Persons |
Rooms to be alloted |
|
Amar |
R |
|
Akbar |
S |
|
Anthony |
P |
|
Ajit |
Q |