Can you not apply for a special consideration form? They take into account family tragedy and other things that may affect your performance in exams. Talk to your teacher or someone you trust at school first thing tomorrow morning, they could help you out with this stuff.
And I'm sorry for your loss, keep your chin up and things will get better with time.