A team of five is to be selected from amongst five boys A, B, C, D and E and four girls P, Q, R and S. Some criteria for selecation are :
A and S have to be together.
P cannot be put with R.
D and Q cannot be together.
C and E have to be together.
R cannot be put with B.
Unless otherwise stated, these criteria are applicable to all the question below :
If two of the members are girls and D is one of the members, the members of the team other than D are :
If D is selected, Q cannot be selected. So, P Q B C and P Q C E are not correct.
S and A have to be together. So, P S C E is also wrong.