If she ______ harder, she would have passed the difficult exam.
Correct: B
This is a Third Conditional sentence, used for hypothetical situations in the past that did not happen. The 'if' clause uses the past perfect tense ('if she had studied'), and the main clause uses 'would have' + past participle ('she would have passed').