Absolutely. As a professor I see so many students with the attitude "What do I need to know/write for the exam?" But the best way to get the good grades is to concentrate on learning the course and understanding the syllabus, forgetting about the exams until you reach the revision period.