Can I extend my visa if I failed one of my papers?

You can apply to stay longer, check here for the information we need.