Direction: The following two questions are based on the information given below:- The following is the conversation between A, B and C each of whom has different surname among P, Q and R. One of them is lying and two are telling truth.
A :- I am not a Q. C is a P. B is not a R.
B:- I am a R. A is a P. C is a Q.
C:- I am not Q. A is not a P. B is a Q.

Question: Who is R?

A: A
B: C
C: B
D: Either A or B

Ans: A
Solution: Consider all 3 cases:
Case 1: A is lying:
       A             B   C
A:   Q             R    not P
B:    P             R    Q
C:    not P       Q    not Q
Statement of B and C contradicts. hence not valid case

Case 2: B is lying:
       A             B         C
A:   not Q       not R    P
B:    not P       not R    not Q
C:    not P       Q         not Q
Valid case A= R ; B = Q; C = P

Case 3: C is lying:
       A             B         C
A:   not Q       not R    P
B:   P              R         Q
C:   P              not Q   Q
A and B are contradicting about B. Not valid case

Hence case 2 is valid only
And A= R ; B = Q; C = P