Question
Who lives in flat 1 of the bottommost
floor? Answer the questions based on the information given below. 12 persons O-Z live in a building, which consists of four floors such that the bottommost floor is numbered 1 and the topmost floor is numbered 4. Each floor has three types of flats (Flat 1, flat 2 and flat 3) such that flat 1 is to the west of flat 2, which is to the west of flat 3. Flat 3 of floor 4 is immediately above flat 3 of floor 3, Similarly, flat 2 of floor 4 is immediately above flat 2 of floor 3 and so on. Only one person lives in each flat. Each of the flat is of equal dimension. O lives in flat 2 on an odd numbered floor. S lives above O in the same type of flat and to the east of T. T doesn’t live on floor 3. Q and V live in the same type of flat such that Q lives immediately above V but below floor 3. Q lives in south east of T. X lives to the west of Q. X and U live in the same type of flat and X lives immediately above U. U doesn’t live in flat 1. P and W live in the same type of flat such that P lives immediately above W but not in flat 1. Floor number on which Z lives is higher than R, whose floor number is higher than Y.Solution
O lives in flat 2 on odd numbered floor S lives above O in the same type of flat and to the east of T. 3. T doesn’t live on floor 3. So, O lives on flat 2 of floor 3 or flat 2 of floor 1. Case W: O lives on flat 2 of floor 3: Case II: O lives on flat 2 of floor 2: Case II(a):
Q and V live in the same type of flat such that Q lives immediately above V but below floor 3. Q lives in southeast of T. X lives to the west of Q. X and U live in the same type of flat and X lives immediately above U, this is not possible in case II(b), so case II(b) is rejected. . U doesn’t live in flat 1, so case II(a) is rejected. So, X lives in flat 2 of floor 2 and U lives in flat 2 of floor 1. Q and V lives in flat 3.
Which tree structure is commonly used in file systems to organize and manage disk blocks efficiently?
What is the goal of instruction pipelining in a CPU?
In a CSS file, there is a CSS rule for paragraphs tags – what does p can be called?
Cardinality related to ————–
What does a diamond shape represent in an ER diagram?
SELECT E.EmpFname, E.EmpLname, P.EmpPosition FROM EmployeeInfo E INNER JOIN EmployeePosition P ON E.EmpID = P.EmpID AND P.EmpPosition IN ('Manager'); <...
What is the concept of "paging" in memory management?
What is the purpose of the "Attention" mechanism in deep learning models?
Which of the following is the primary fuel used in natural gas power plants?
Arrange the following memory components in the memory hierarchy from the fastest to the slowest: Cache memory, Main memory (RAM), Hard disk.