Question
Who among the following person lives South west of N and
North west of Q? Answer the questions based on the information given below. Eight persons M, N, O, P, Q, R, S and T are living on four different floors of a building. Ground floor is numbered 1 and top floor is numbered four. There are two flats on each floor- flat-1 and flat-2 from west to east such that flat 1 is west of flat 2. Flat-1 of second floor is exactly above flat-1 of first floor and other flats are placed in the same way. All of them likes different colours brands i.e. Pink, Green, Yellow, Red, Blue, WHITE, Black and Brown but not necessary in same order. M likes Red and lives in even number flat. P lives North West of Q’s flat. O lives one of the floor below P’s floor. One floor is between T and R, who likes Brown. T and R lives in same flat number. Q does not live on second floor. Only one floor gap between the one who likes Black and the one who likes Pink. The one who likes Green does not live in even number flat. N lives east of T who lives south of P. S does not live in the same flat number in which Q lives. S lives above Q. the one who likes Blue lives west of the one who likes Yellow. The one who likes Pink lives above the floor of one who likes Blue. The one who likes WHITE lives in even number flat.Solution
P lives North West of Q’s flat. Q does not live on second floor. S does not live in the same flat number in which Q lives. S lives above Q. From these statements, we will have six cases: P lives at flat 1 either on floor no. 4 or 3 or 2. Q lives at flat 2 on floor no. 1. S lives at flat 1 on floor no. 4 or 3 or 2. N lives east of T who lives south of P. T lives at flat 1 of either floor no. 2 or 3. N lives at flat 2 of either floor no. 2 or 3. Case 4 , 5 and 6 will get
One floor is between T and R, who likes Brown H and R lives in same flat number. Case 1 and 3 will get discarded as there is no gap of one floor between T and
O lives one of the floor below P’s floor. So, O lives at flat 2 of floor no. 2. M likes Red and lives in even number flat. So, M lives at flat 2 of floor no. 4. Only one floor gap between the one who likes Black and the one who likes Pink. The one who likes Green does not live in even number flat. The one who likes Blue lives west of the one who likes Yellow. The one who likes Pink lives above the floor of one who likes Blue. The one who likes WHITE lives in even number flat. The one who likes Pink lives at flat 1 on floor no. 4 and the one who likes Blue lives at flat 1 on floor no. 3. The one who likes Green lives at flat 1 on floor no. 2. The one who likes Black lives at flat 2 on floor no. 2. 
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?