Question
What is the direction of Aβs flat with respect to
Dβs flat? Answer the questions based on the information given below. Eight persons A, B, G, C, D, E, F and H are living in a building having four floors where ground floor is numbered as 1, the floor above it is numbered as 2 and so on till the topmost floor which is numbered as 4. Each floor is having two types of flats i.e. Flat β Y and Flat β Z such that flat β Y of floor β 2 is exactly above the flat β Y of floor β 1 and exactly below the flat β Y of floor β 3 and so on. Similarly, flat β Z of floor β 2 is exactly above the flat β Z of floor β 1 and exactly below the flat β Z of floor β 3 and so on. Also, Flat β Z is to the east of Flat β Y. There is one floor between Bβs and Cβs floor. G lives just below Eβs flat such that both live in the same type of flat. F and H live in the same type of flat such that F lives just above Hβs floor and lives immediate west of B. D does not live in flat which is adjacent to Fβs flat. C lives on a floor above B. B and C live in different types of flats.Solution
G lives just below Eβs flat such that both live in the same type of flat. F and H live in the same type of flat such that F lives just above Hβs floor and lives immediate west of B. D does not live in flat which is adjacent to Fβs flat. 4. C lives on a floor above B. So, B must live in flat β Z of floor β 2 as F lives immediate west of B and F lives above the floor on which H lives, which means C lives on topmost floor in flat β Y. Now, E and G lives in same flat and G live below E which means G must live on floor β 3 in flat β Z and E lives on 4th floor in flat β Z. Now, D and F do not live in same flat which means D must live on ground floor in flat βZ so, H must live on ground floor in flat β Y. The final arrangement is as follows:
What is the role of the Transaction Manager in RDBMS architecture?
Which of the operation is used to see the top element of stack?
Which scheduling policy dynamically adjusts the priority of a job based on its behavior?
Β Which of following is /are for strict evaluation?
- If a recursive function calling itself and that recursive call is the last statement in the function then itβs known asΒ ___________
- Which one of the following algorithm design techniques is used in finding all pairs of shortest distances in a graph?
Which cryptographic process involves applying a mathematical function to generate a fixed-size output from variable-size input?
A device that helps to prevent congestion and data collision?
Which of the following is not a valid keyword in C++ language?
MPLS primarily uses: