How does the sentence end? See options at the end

Shannon failed her history exam and but passed her science exam.  She felt proud of her performance on the 

Options:
(a). history exam.
(b). science exam.
(b).