Yes, the same meaning, although (a) sounds a little awkward. I would word it "I'm expecting that I can pass the exam, but even then I would use (b). It is much more articulate and is generally used. (b) might imply a higher confidence. The only difference I can note. "I am positive I can pass the exam" would be another choice.