Question
Who sits second to the right of
Q? Seven persons K, L, M, N, O, P and Q sit in a linear row and face in the north direction but not necessarily in the same order. O sits third to the right of N. O sits second to the left of P. Four persons sit between Q and L. Q doesn't sit at any of the ends of the row. K doesn't sit adjacent to M.Solution
O sits third to the right of N. O sits second to the left of P. We have two cases, first, when N sits at extreme left end and second, when N sits second from one of the extreme ends. Case 1: When N sits at extreme left end. N ____ _____ O _____ P ____ Case 2: When N sits at second from the left end. _____ N ____ _____ O _____ P Four persons sit between Q and L. Q doesn't sit at any of the ends of the row. In case 1, L sits at extreme right end. In case 2, L sits at extreme left end. Case 1: When N sits at extreme left end. N Q ____ O _____ P L Case 2: When S sits second from the left end. L N _____ _____ O Q P K doesn't sit adjacent to M. Case 2 gets eliminated. The final arrangement is as follows. N Q K/M O M/K P L
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?