”祝你考试考个好成绩” 是祝愿句,应该用虚拟语气翻译。~Wish you had a good result in the exam. ~May you have a good result in the exam.
~Wish you had a good result in the exam