Programming exams can be a mix of both practical and theoretical components. While some exams may require writing actual code to solve problems, others may focus on testing your understanding of programming concepts, algorithms, and best practices through multiple-choice or short-answer questions. It's important to be prepared for both aspects of the exam.