This should be:
I hope I shall pass my exams.
or
It is hoped I shall pass my exams.
‘Hopefully’ is an adverb which should be used to modify a
verb.
The dog dughopefully for the bone.
‘Regretfully’ and ‘thankfully’ are also used incorrectly.
Regretfully we shall not be able to attend your wedding.
This should be:
We regret we shall not be able to attend your wedding.
or
It is regretted that we shall not be able to attend your
wedding.
Thankfully we reached the shore before the storm broke.
This should be:
We were thankful that we reached the shore before the
storm broke.
COLOURING YOUR WRITING / 79