B
句子的真正主语是each of the students,横线处填的hopes是句子谓语,其中的working hard at his or her lessons是插入句中修饰主语的非限制性定语。