@imShreyas
I thought in a same way but i have doubt..
This is the way i solved the problem:
let 1,2,3,4...30 be the questions and each question has options a,b,c,d.
to satisfy the question student must answer,in one of following ways.
1,3,5,7,9,...29
or
2,4,6,8,...,30
why only these 2 sequences?
Let us start with 3 and answering alternate questions correctly.. then we have sequence 3,5,7,...29 but we have solved only 14 questions so he has to choose one number from 1 or 2 but only 1 satisfy the condition.
So the sequence formed is again 1,3,5,...29
Let us start with 9 and answering alternate questions correctly.. then we have sequence 9,11,13,15...29 but we have solved only 11 questions so he has to choose 4 numbers from 1 to 8 but only 1,3,5,7 satisfy the condition.
So the sequence formed is again 1,3,5,...29
similarly we can prove for 2,4,6,...30.
So even if we try to form a different sequence, we end up only in one of these 2 sequences..
and Now consider the sequence 1,3,5,....29
each of this question has to be answered correctly and all other questions has to be wrong.
so each of 1,3,5...29 is to be answered in 1 way and each of 2,4,6...30 has 3 choices to be answered..
so we have $3^{15}$ ways.
similarly we have $3^{15}$ ways for other sequence..
So on total there are $3^{15}+3^{15}$ ways.. which is option c
but my doubt is why are we not considering the order in which questions are answered.
I mean each sequence can be answered in $15!$ ways..
so why can't the answer be $2*3^{15}*15!$
where am i going wrong?