Question
Who lives in Flat β Z of floor β
2? 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:
Which of the following is a property of a relational database?
What is a table joined with itself called?
Which debugging tool allows a developer to pause program execution at specific lines, inspect variable values, and execute code step-by-step?Β
Which normal form eliminates transitive dependency?
Which SQL clause is used to group rows based on one or more columns?
Β What is the primary purpose of a "Trigger" in a database?
In DBMS, which scheduling method ensures serializability of transactions?
Consider a scenario in an OOP application where a `NullPointerException` (or equivalent) occurs when trying to access a member of an object. What is the...
Which system call is used to create a new process in UNIX/Linux?
The command to test reachability of a host in Linux is: