单项选择题

If Peter had given up hhis part-time job, he _______ the final exam.

A.might pass
B.might have passed
C.has passed
D.had passed