Directions [Set of 5 questions]:
Eight persons A, B, C, D, E, F, G and H stay in an eight storeyed building where the floors are numbered 1-8 from bottom to top. Seven of them like different fruits: mango, apple, pineapple, kiwi, orange, plum and pear not necessarily in the same order. One of them does not like any fruit.
• One who likes pineapple stays at a gap of 4 floors from D.
• One who likes kiwi stays just above B who lives at a gap of 5 floors from the one who likes mango.
• One who likes mango stays at a gap of 2 floors from G.
• One who likes no fruit lives just above C who is at a gap of 2 floors from A
• The one who likes pear lives just above E
• D and the one who likes no fruit stays at a gap of three floors
• A and B stay on consecutive floors
• One who likes orange and F stays at a gap of 3 floors.
• A does not like orange and G does not like pear.
• Not more than 3 persons live below the one who likes plum.
EXPLANATION
Solution : |
We know that:
• One who likes kiwi stays just above B who lives at a gap of 5 floors from the one who likes mango
• One who likes mango stays at a gap of 2 floors from G
Hence we have 2 possibilities:
Now we know that:
• One who likes pineapple stays at a gap of 4 floors from D.
• One who likes no fruit lives just above C who is at a gap of 2 floors from A
• D and the one who likes no fruit stays at a gap of three floors
• A and B are on consecutive floors
Combining both the scenarios we get the following cases:
Case 1:
• The one who likes pear lives just above E. One who likes orange and F stays at a gap of 3 floors.
8 | A | Kiwi |
7 | B | Pineapple |
6 | | No Fruit |
5 | C | |
4 | G | |
3 | | |
2 | D | Pear |
1 | E | Mango |
The case becomes invalid as F cannot be placed in this situation.Case 2:
• The one who likes pear lives just above E. One who likes orange and F stays at a gap of 3 floors. If E is on floor 1 then F will be placed on floor 2 and A would like apple. As A does not like apple E would be on floor 5. F will be on floor 1.
• A does not like orange and G does not like pear.
• Not more than 3 persons live below the one who likes plum.
Thus the final arrangement is as follows:
8 | D | Kiwi |
7 | B | Apple |
6 | A | Pear |
5 | E | Orange |
4 | G | No Fruit |
3 | C | Pineapple |
2 | H | Plum |
1 | F | Mango |
D lives on floor 8.
|