Answer:
The correct answer is option D) Coming to school each day, having the necessary materials, and doing homework.
Step-by-step explanation:
The only sentence that maintains a parallel structure is option D. In order to achieve parallelism, the same grammar pattern should be used. In this case, the correct grammar pattern is gerund+modifiers (coming to school, having the necessary materials, doing homework)
In the rest of the options there is a break in the grammar patters as the same grammar structure is not used consistently as in option B) that mixes gerund+ modifiers with bare verb+modifiers (coming to school, have the necessary materials.)