Question
How many persons sit between P and O?
Study the following information carefully and answer the questions given below. Eight friends – M, N, O, P, Q, R, S, and T, are seating on nine seats in a straight line at an equal distance but not necessarily in the same order. One seat in the row is vacant. All of them are facing north directions. There are three persons sit between O and N. The person who sits two places away from N sits fourth to the right of M. M sits neither adjacent to O nor adjacent to S. The person who sits immediate left of the vacant seat sits two places away from O. Q does not sit adjacent to O. R sits two places away from Q. The number of persons who sits between N and R is one less than the number of persons who sits between S and Q. M does not sit at the end. T sits adjacent to N. The number of persons who sits between Q and P is same as the number of persons who sits between T and O. Q does not sit right of N.Solution
There are three persons sit between O and N. The person who sits two places away from N sits fourth to the right of M. M sits neither adjacent to O nor adjacent to S. The person who sits immediate left of the vacant seat sits two places away from O.
Q does not sit adjacent to O. R sits two places away from Q. The number of persons who sits between N and R is one less than the number of persons who sits between S and Q. M does not sit at the end. Q does not sits right of N.
T sits adjacent to N. This eliminates case 1a. The number of persons who sits between Q and P is same as the number of persons who sits between T and O. This eliminates case 1 and 1a. so final case-2 Case-2 
 What is the output of the following code: x = 5; y = 2; print(x ** y)?
Which Python keyword is used to define a function?
In Python, which method is used to convert a string to lowercase?
Which algorithm is used to find the shortest path from a single source in graphs with negative weights?
Which of the following is true about MergeSort?
Which type of Memory is typically the fastest in a computer system?
Which of the following is correct for a single-line comment in C++?
Which of the following is used to declare a list in Python?
Which of the following algorithms is most commonly used in Operating Systems for deadlock prevention?
In Python, what does len() function do?