You shouldnt expect god to give you good marks just because you prayed the night before. its better to place your faith in whatever preparation youve done and if you are going to pray, i guess all you can ask for is that luck is on your side and that youll get whatever you deserve.