In the first the sentence, it means that you would like to pass the exam.
As for the second one, you think that you will pass the exam and you are right there too.
You may write as:I wish you to find good products. vs. I hope you to find good products.
"I wish you would find good products" and "I hope you find good products".
When do we use 'wish' and 'hope':
I hope you are fine there.(you don't say 'wish' here)
I wish my dreams come true.(you want your dreams to come true)
Hope that helps.
Student or Learner