Pre PYQs CSAT

UPSC Prelims 2012 CSAT question 42

Four political parties W, X, Y and Z decided to set up a joint candidate for the coming parliamentary elections. The formula agreed by them was the acceptance of a candidate by most of the parties. Four aspiring candidates, A, B, C and D approached the parties for their tickets. A was acceptable to W but not to Z. B was acceptable to Y but not to X. C was acceptable to W and Y. D was acceptable to W and X. When candidate B was preferred by W and Z, candidate C was preferred by X and Z, and candidate A was acceptable to X but not to Y; who got the ticket ?