Question
Which of the following statement is/are not true?
I) Y attends the seminar just after R. II) Three persons attending the seminar between P and Y. III) P and V attending the seminar in the same month. Study the following information carefully and answer the below questions. Ten persons namely –P, Q, R, S, T, U, V, W, X, and Y attend a seminar event in five different months viz.- January, April, July, September, December. Seminar in each month was scheduled on the 5thrd and 8th of the month. All the information is not necessary in the same order. The number of persons is attending a seminar after P is the same as the number of persons is attending the seminar before R. P attends seminar two months after Q, who attends the seminar on an odd date. R and Y attend the seminar in the same month. The number of persons is attending the seminar between Y and Q is the same as the number of persons is attending the seminar between P and X. The number of persons attending the seminar between U and R is one less than the number of persons is attending the seminar between W and V. U attends seminar three months before X, who attends seminar in one of the months has 31 days. V attends seminar on the 8th of the month but not in January. W and S attend seminars in the same month. At least two persons attend the seminar between T and P.Solution
The number of persons is attending a seminar after P is the same as the number of persons is attending the seminar before R. P attends seminar two months after Q, who attends the seminar on an odd date. R and Y attend the seminar in the same month. We will have four cases: If Q attends seminar on 5th January, then P will attend on 5th April. R will attend on 8 September and Y will attend on 5th September. If Q attends seminar on 5th April, then P will attend on 5th July. R will attend on 8 July but we do not have dates for Y. If Q attends seminar on 5th July, then P will attend on 5th September. R will attend on 8 April and Y will attend on 5th April. If Q attends seminar on 5th September, then P will attend on 5th December. R will attend on 8 January and Y will attend on 5th January.
The number of persons is attending the seminar between Y and Q is the same as the number of persons is attending the seminar between P and X. In case 1, there are five person between Q and Y. So, X attends seminar on 5th December. In case 3, there is one person between Q and Y. So, X attends seminar on 5th December. In case 4, there are five person between Q and Y. So, X attends seminar on 5th April. U attends seminar three months before X, who attends seminar in one of the months has 31 days. Case 1 and 4 will get discarded as we know that X attends the seminar in December and U should have attended in September. In case 3, U attends seminar on 8 September
At least two persons attend the seminar between T and P. So, T attends seminar on 8 December.   V attends seminar on the 8th of the month but not in January. Now it is clear that V attends the seminar on 8 July. The number of persons attending the seminar between U and R is one less than the number of persons is attending the seminar between W and V . W and S attend seminars in the same month. We know that three person are there between U and R. It means that there would have been four person between V and W. So, W and S attend seminar on 5th January and 8 January respectively.
Practice Next
Which of the following algorithms is a classic example of the Divide and Conquer paradigm?
Consider the following Python code for calculating Fibonacci numbers using memoization:
  memo = {}
  def fib_memo(n):
 �...
What is the primary use of the printf function in C/C++ programming?
What is the main advantage of using knowledge graphs in AI?
In dimensional modeling, what is a fact table?
A data analysis pipeline involves buffering incoming data packets before processing. Which operation is used to add a new packet to the end of this buffer?
Consider a Quick Sort implementation where the pivot is always chosen as the last element. If the input array is already sorted in ascending order, what...
What is the shortcut for 'Undo' in most software?
In PAM technique which of the below attributes of the pulse is used to vary as the amplitude of message varies
A Python Queue class uses a list. Its is_empty method is implemented incorrectly.
class Queue:
  def __init__(self):
   �...