Question
How many boxes are kept between box W and the box which
contains Dates? Read the following information carefully and answer the questions given below it Eight boxes P, Q, R, S, T, U, V, W are placed one above the other but not necessarily in the same order. These boxes contain different fruits Apple, Banana, Mango, Guava, Pear, Grapes, Dates and Peach but not necessarily in the same order. There are two boxes between Box P and the box which contains Dates. Box S is just above the box which contain Banana. Two boxes are between boxes R and Q, which is below box R. Neither box R nor the box which contains Apple in bottom four. Box T contains Pear but is not the bottommost. Box Q does not contain Mango or Peach. Box R is just above the box which contains Guava. The bottommost box does not contain Mango or Banana. Three boxes are between the boxes which contains Apple and Dates. Box S is below Box Q but not just below. Box Q does not contain Dates. Three boxes are kept between box U and the box which contains Apple. Not more than two boxes are kept between V and W, which is below box V.Solution
There are two boxes between Box P and the box which contains Dates. Three boxes are between the boxes which contains Apple and Dates. The box which contains Apple is not in bottom four. Case1- box P is above box which contains Dates and Case2- box P is below box which contains Dates.
Two boxes are between boxes R and Q, which is below box R. Neither box R nor the box which contains Apple in bottom four. Box Q does not contain Dates. Box R is just above the box which contains Guava. We get further 2 possibilities in both the cases.
Box S is just above the box which contains Banana. Box S is below Box Q but not just below. Case1 (b) and Case2 (b) gets eliminated. The bottommost box does not contain Banana. Box T contains Pear but is not the bottommost. Box Q does not contain Mango or Peach. The bottommost box does not contain Mango. Three boxes are kept between box U and the box which contains Apple.
Not more than two boxes are kept between Box V and W, which is below box V. So, case2 (a) gets eliminated. The final arrangement is: 
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
In a virtual memory system, what is a "page fault"?
Which type of transistor is less susceptible to thermal runaway?
What is the unit of electric current?
Which transport layer protocol provides connection-oriented, reliable, and ordered delivery of data packets between applications?
The result of SQL select statement is?
What is an ER diagram used for?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
Which distribution is used to model the number of successful outcomes in a fixed number of independent Bernoulli trials?
Which component in the MVC architecture communicates directly with the database?