Consider an art gallery whose walkways are shown as lines in the diagram. A black dot represents a junction of two walkways. A guard may be placed at a junction to watch over the walkways that join at that junction. The minimum number of guards needed to watch all the walkways is ________.

To determine the minimum number of guards needed to watch all the walkways in the art gallery, we must consider the coverage provided by placing a guard at each junction (black dot).
The key is to ensure that every walkway is under surveillance without unnecessary overlap. This requires smart placement of guards at strategic junctions.
The correct answer is 3, as it ensures all junctions are covered with the least number of guards.
In the 4 x 4 array shown below, each cell of the first three rows has either a cross (X) or a number.
| 1 | X | 4 | 3 |
| X | 5 | 5 | 4 |
| 3 | X | 6 | X |
The number in a cell represents the count of the immediate neighboring cells (left, right, top, bottom, diagonals) NOT having a cross (X). Given that the last row has no crosses (X), the sum of the four numbers to be filled in the last row is
| TEAM 1 | TEAM 2 | |
| MATCH 1 | P and X | Q and R |
| MATCH 2 | P and R | X and Y |
| MATCH 3 | R and X | Q and Y |
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 | Room preference list |
| Amar | 1 | P | R, S, Q |
| Akbar | 2 | None | R, S |
| Anthony | 3 | Q | P |
| Ajit | 4 | S | Q, P, R |