Draw a table with Student, Subject and Sport.
P studies in Class II.
Q likes black.
R does not study in Class VI.
S likes pink and studies in Class I.
M likes blue.
Q likes black and does not study in Class IV or V.
The one who studies in Class IV does not like green.
M likes blue and does not study in Class IV.
The one who likes yellow studies in Class VI.
R does not study in Class VI.
Based on the above information, the classification of the group is as follow in the table.