Question
Five persons A, B, C, D and E are standing in a
row, in which 3 persons are facing north and remaining are facing south. The persons who are facing south does not stand on the extreme end. C is standing to the immediate right of B, who is standing second to the left of A. E stands at one of the extreme end. A is facing north and his immediate neighbours are facing south whereas A does not stand at the extreme end. Who is standing in the middle of the row?Solution
E stands at one of the extreme end. There will be two cases. E stands either at right or left end of the line. E _____ _____ _____ _____ ………… (I) _____ _____ _____ _____ E ………… (II) A is facing north and his immediate neighbours are facing south whereas A does not stand at the extreme end. C is standing to the immediate right of B, who is standing second to the left of A. We know that A is facing north and also does not stand at the extreme end. Case I will get discarded as The persons who are facing south does not stand on the extreme end. E(N) B(N) C(S) A (N) D(S) ………… (I) B(N) C(S) A(N) D(S) E(N) ………… (II) 
To remove all rows from a table without logging individual row deletions and without firing triggers, which command would you typically use?
What does re.sub(r'(\w+)', r'_\1_', 'hello world') return?
In an E-R diagram, a double rectangle represents a:
Which isolation level allows dirty reads?
Examine the following Java-like code:Â
  ```java
  class Parent {
    String name = "Parent";
    p...
A `FOREIGN KEY` constraint is used to:
In paging, the page size is defined by:
Which SQL clause is used to group rows based on one or more columns?
Which aggregate function returns the number of rows that match a specified criterion?
Which of the following is a significant disadvantage of using a traditional file system compared to an RDBMS?