Given below are four parts of a sentence which are jumbled. Pick the option that gives their correct order to make a grammatically correct, meaningful sentence.
A. students were expected
B. studied in earlier classes
C. having reached higher classes
D. to know the formulas and principles