The correct option is C E, A and G
There are a total eight students named A, B, C, D, E, F, G and H. They study in standard VI, VII and VIII and each has a different favourite subject.
Conditions-
Not more than three students are allowed in any standard.
According to the question,
D likes Chemistry and studies in Std. VIII with only H. It means D and H are in the same sections and the word 'only' says that these are only two students In the section.
Std. VIII D, H
B does not study in Std. VII. So, it is clear that, 8 studies in Std. VI E and A study in the same standard but not with B.
So, it is clear that E and A study in Std. VII.
Std. VII E, A
C and F study in the same standard. According to the condition. not more than three students are allowed in the same standard so C and F study in std. VI.
Std. VI C, F, B
The subjects of the students is
F ⇒ Physics
A ⇒ Marathi
D ⇒ Chemistry
In Std. VIII only two person study.
Therefore
H → English
The one who studies in Std. VIII likes English.
Those who studies in Std. VI does not like Mathematics or Biology.
So, the student in Std. VII studies Mathematics and Biology. G does not like Biology, so the students in Std. VII are
Std VII E, A, G
A likes Marathi.
G not liking Biology means E likes Biology and G likes Mathematics.
E → Biology
G → Mathematics
In Std. VI, C does not like Geography meaning B likes Geography and C likes Economics.
Now, the information can be represented in tabular form as:-
Std. VI
C → Economics
F → Physics
B → Geography
Std. VII
E → Biology
A → Marathi
G → Mathematics
Std. VIII
D → Chemistry
H → English
Now, we answer the following question:-
E, A and G study in std. VII.