Correct Answer - Option 2 : II
The error lies in part II of the sentence as the preposition 'to' does not fit after the word 'ordered.' It is grammatically incorrect. A person orders someone thus it should read as:'The professor ordered the students to go out of the class.'