Well that was extremely silly of you. Those silly mistakes are unacceptable. You obviously didn't prepare well enough beforehand.
For me practicing past papers under exam conditions is helpful, even if its not past HSC papers you can ask your teacher for past half yearly papers from your...