Question
I lives in which direction with respect to J and on
which floor? Study the following information carefully to answer the given questions: There are ten persons i.e A, B, C, D, E, F, G, H, I and J, who lives in a building having five floors such that ground floor is numbered as 1 and above it is 2 and so on up to top floor numbered as 5. Each of the floor consist of 2 flats as flat-A, flat-B. Flat-A of floor-2 is immediately above flat-A of floor-1 and immediately below flat-A of floor-3 and in the same way flat-B of floor-2 is immediately above flat-B of floor-1 and immediately below flat-B of floor-3 and so on. Flat-B is in east of flat-A. Note: If A lives above (or below) B, then there are living in same flat unless stated otherwise. G lives to the East of the one who lives immediately above of A. I and F don’t live in same floor. A lives in an odd numbered floor. D lives west of J, who lives second to above the flat of B. C lives two flats below of H who lives on Floor-4 and in flat-A. I lives north-west of E.Solution
G lives to the East of the one who lives immediately above of A. A lives in an odd numbered floor. As per these lines two Cases will Arrive: C lives two flats below of H who lives on Floor-4 and in flat-A.
D lives west of J, who lives second to above the flat of B Note: Here we get one more sub case from case-1
I lives north-west of E Note: Case-2 rejected since I lives north-west of E is not possible.
I and F don’t live in same floor. Note: Case-2 rejected since I and F don’t live in same floor is not possible. The final table arrangement is:
Which system call is used to create a new process in UNIX/Linux?
Query optimization heuristic that “pushes selections down” improves:
In DBMS, which scheduling method ensures serializability of transactions?
Which type of DBMS model organizes data in tables with rows and columns?
Which type of join returns rows when there is a match in both tables?
Query optimization heuristics often include:
Consider the following pseudo-code:Â
 ```
  function calculate(arr):
    sum = 0
    for i from 0 to l...
Multiversion Concurrency Control (MVCC) ensures:
The "Dirty Read" problem occurs when:
Given the following Python-like code snippet:Â
  ```python
  class Counter:
    def __init__(self):
   ...