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. 
Star schema consists of:
What is the primary purpose of the "shebang" line `#!/bin/bash` at the beginning of a shell script?
Which special file enables interprocess communication using named pipes?
Which operator enables process substitution?
Which command is used to search text patterns in files?
Which signal is sent by default when using kill without arguments?
What does the exit command do in a shell script?
Which command is used to display the current working directory in a Unix-like operating system?
In shell scripting, which symbol represents all files in the current directory?
How do you access the value of a variable named `USERNAME` in a shell script?