Vocabulary & Verbal Analogies

Answer & solution
Official answer: A
Worked explanation
The conjunction “but” signals an unexpected contrast between strong subject knowledge and classroom results. A negative description supplies that contrast. All three distractors, good, desirable and praiseworthy, positively evaluate the performance and therefore continue rather than contrast the first clause. This is a semantic fit question, not a question of grammatical adjective placement: all four phrases can follow “was,” but only A matches the intended contrast.
Derivation and answer
But signals a contrast with excellent knowledge. Extremely poor supplies that contrast for classroom performance; the positive alternatives do not. Thus A.