All Exams Test series for 1 year @ ₹349 only
Question

Seven persons P, Q, R, S, T, U and W live on different floors in a building having seven floors (first floor is the lowermost floor, then second floor is above it and then so on). Only one person lives on one floor. P lives on one of the floor above S and S does not live on an odd numbered floor. Only two persons live between S and T. U lives immediately above W. Only four persons live between T and P.
Who are the neighbours of P?

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper (8-Mar-2021) (Shift 2)
The correct answer is
Q and R

Problem Analysis: Seven Floor Building

The task is to determine the floor arrangement of seven people (P, Q, R, S, T, U, W) in a 7-floor building based on given clues and identify the neighbours of person P.

Clue Interpretation

  • P lives above S.
  • S does not live on an odd-numbered floor (S lives on 2, 4, or 6).
  • Exactly two persons live between S and T.
  • U lives immediately above W (forming a UW block).
  • Exactly four persons live between T and P.

Step-by-Step Deduction

Consider the possible positions for S (floors 2, 4, 6):

  1. Case 1: S is on floor 2. T must be 3 floors away (2 persons between). T could be on floor 5 (2+3). P is above S. The distance between T (floor 5) and P must be 5 floors (4 persons between). This would place P on floor 10 (5+5) or floor 0 (5-5), both impossible.
  2. Case 2: S is on floor 6. T must be 3 floors away. T could be on floor 3 (6-3). P must be above S (floor 7). The distance between T (floor 3) and P (floor 7) is 4 floors, not 5. This case is invalid.
  3. Case 3: S is on floor 4.
    • Subcase 3a: T is 3 floors below S. T is on floor 1 (4-3). P must be above S (floor 5, 6, or 7). The distance between T (floor 1) and P must be 5 floors. P = 1+5 = 6. This places P on floor 6, which is above S (floor 4). This arrangement is possible: T=1, S=4, P=6.
    • Subcase 3b: T is 3 floors above S. T is on floor 7 (4+3). P must be above S (floor 5, 6, or 7). The distance between T (floor 7) and P must be 5 floors. P = 7-5 = 2. This places P on floor 2, which is below S (floor 4). This contradicts P living above S.

The only valid positioning for T, S, and P is: T on floor 1, S on floor 4, and P on floor 6.

Placing U and W

The UW block requires two adjacent floors. The remaining floors are 2, 3, 5, and 7.

The only consecutive pair available is floors 2 and 3. Since U is immediately above W, U lives on floor 3 and W lives on floor 2.

Final Floor Occupancy

  • Floor 7: Q or R
  • Floor 6: P
  • Floor 5: Q or R
  • Floor 4: S
  • Floor 3: U
  • Floor 2: W
  • Floor 1: T

Identifying P's Neighbours

P resides on floor 6. The floors immediately below and above floor 6 are floor 5 and floor 7, respectively.

The persons occupying floors 5 and 7 are Q and R.

Therefore, P's neighbours are Q and R.

Was this answer helpful?

Similar Questions

  1. Read the following information carefully and answer the question that follows.
    Five coaching classes — P, Q, R, S, and T — are located on five different floors numbered 1, 2, 3, 4, and 5, but not necessarily in the same order. Each coaching class teaches only one of the following subjects: Physics, Chemistry, Mathematics, Biology, and English, but not necessarily in the same order.

    • Class S teaches Biology, while class Q does not teach English.
    • Class R is located on the third floor, and class P teaches Chemistry.
    • The class located on the fifth floor teaches Physics.
    • The class located on the third floor does not teach English or Physics.

    Based on the above information, determine on which floor Mathematics is taught.

  2. Read the given information carefully and answer the question that follows.

    Five coaching classes P,Q,R,S and $\mathrm{T}$ are located on five different floors $1, 2, 3, 4$ and $5$, not necessarily in the same order. Only one subject out of Physics, Chemistry, Mathematics, Biology and English, is taught in each coaching class, but not necessarily in the same order.

    The following information is also known:

    • Biology is taught in coaching class S, while English is not taught in coaching class Q.
    • Coaching class R is on the $3^{\text{rd}}$ floor, and Chemistry is taught in coaching class P.
    • Physics is taught in the coaching class on the $5^{\text{th}}$ floor.
    • The coaching class on the $3^{\text{rd}}$ floor does not teach either English or Physics.

    On the basis of the information given, identify the floor on which Mathematics is taught.
  3. Six companies, P, Q, R, S, T and U, are situated on different floors of a 6-floored building, but not necessarily in the same order. The lowest floor of the building is numbered 1, the floor above it is numbered as 2, and so on, up to the top floor, which is numbered as 6. Company Q is not situated at floor number 1. Company P has five companies situated below its floor. There are only two companies situated between the floors of companies T and P and also between the companies Q and U. Company S is situated on an odd numbered floor, but not on the lowest floor. Which company is situated on floor number 1?
  4. In a seven-storeyed building, having floors numbered from 1 to 7, A, B, C, D, E, and F each live on a different floor. The ground floor is numbered floor number 1, the floor above it is floor number 2 and so on. One of the floors in the building is vacant. B lives on the floor no.6. No floor below the floor no. 3 is vacant; and no odd numbered floor is vacant. Only B lives between the floors of A and F. Only one person lives between E and D. Only two people live between C and F. C lives on one of the floors below F. More than one person lives between D and B. Which of the following floor numbers is vacant?
  5. Anu lives on one floor in a seven storey building. Each floor of the building is numbered in a manner that the lowest floor is numbered as one and the highest floor is numbered as seven. She does not live on an even numbered floor. At least two floors are above and two floors are below the floor where she lives. There are at least two floors between her and her friend who lives on the topmost floor. On which floor is Anu's flat?
  6. Six friends Amit, Vinay, Rajiv, Mukul, Chetan and David are living on six different floors of the same building. The lowermost floor of the building is numbered 1, the floor above it is numbered 2, and so on till the topmost floor is numbered 6. No two friends live on the same floor. Vinay lives on the floor immediately above the floor on which Rajiv lives. Mukul lives on floor number 4. Amit lives on an even numbered floor. Chetan lives on floor number 1. Vinay does not live on floor number 6.

    On which floor number does David live?
  7. A building has seven floors numbered one to seven in such a manner that the ground floor is numbered one, the floor above it is numbered two, and so on, such that the topmost floor is numbered seven. One of the seven persons, namely T, U, V, W, X, Y, and Z, lives on each floor, but not necessarily in the same order. 

    There are only two people living between the floors of X and Z. No person lives above U's floor. T lives in one of the odd floors. The number of people living above and below Y is equal. W does not live above anyone other than V. X lives in one of the floors above Z. 

    Who lives on the $5^{\text{th}}$ floor?

  8. In a building, there were a total of seven floors. The floors were numbered 1 to 7 from bottom to top, floor 1 being the ground floor. Each of the 7 men among A, B, C, D, E, F and G, occupied a floor, not necessarily in the same order. G occupied floor number 4. Only one person lived below the floor occupied by E. B was exactly above A. C was exactly below G. F occupied the topmost floor. Which man occupied floor 1?

Important Questions from Floor Puzzle

  1. Seven employees, T, U, V, W, X, Y, and Z, reach their factory in a particular sequence. Y reaches immediately before T but does not immediately follow W. V is the last one to reach. X immediately follows T and is subsequently followed by Z. W reaches before T. Who is the second to reach the factory?

  2. Pankaj, Alpesh, Srikumar, Dinesh, Neeraj and Maninder are sitting in six different rows with one person in each row, exactly one after another. Pankaj is just before Alpesh. Dinesh is sitting in the last row. There are four persons before Alpesh. Srikumar is just after Neeraj. Maninder is not in the first row. Who is sitting just after Maninder?

  3. Seven boxes, A, B, C, D, E, F, and G, are kept one over the other but not necessarily in the same order. Only C is kept above D. Only two boxes are kept between D and F. Only G is kept below A. B is not kept immediately above F. Which box is kept fourth from the top?

  4. A, B, C, M, N, and S live on six different floors of the same building. The lowermost floor in the building is numbered 1, the floor above it is numbered 2 and so on till the topmost floor is numbered 6. Only C lives above B. N lives immediately below B. Only A lives below M. Who lives on floor number 3?

  5. G, H, J, K, L and P live on six different floors of the same building. The lowermost floor in the building is numbered 1, the floor above it is numbered 2 and so on till the topmost floor is numbered 6. Only three people live between P and J, whereas P lives below J. K lives on an odd-numbered floor and immediately above P. G lives on one of the floors below L and on one of the floors above H. Who lives on floor numbered 5?

Need Expert Advice?
Upcoming Exams
RRB ALP
July 28, 2026
RRB Group D
August 03, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1459 Tests 2 Tests Free
216 Attempts
4.3(512)
English, Hindi, Telugu +7 More

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App