How to pass the exam?#

To pass the exam, you must be able to write Python code which solves exam problems. You also need follow our exam rules and understand how we evaluate your solutions.

The exam format is described in Course Policies, and some questions in the Frequently Asked Questions also cover exam details. You can test your understanding of the format and rules with the quiz below.

In the second half of the course, we practice solving exam problems and testing solutions. You can explore real problems from past years in Previous exams.

Exam quiz#

Question 1#

What is the exam type for the courses 02002 and 02003?

Question 2#

What material will the students be given at the exam day?

Question 3#

Which modules are allowed to be imported in the exam solutions?

Question 4#

What should students submit during the exam?

Question 5#

What should each file with solutions contain?

Question 6#

The exam task requires that the function returns one of the following values: 'normal', 'night', or 'rush hour'. You made typo and your function returns 'nigth' instead of 'night'. Full points is 10, how many points will you get?

Question 7#

The exam task requires that the function returns a numeric value computed from the input. You made a mistake in the function and instead of returning the value, you print it. Full points is 10, how many points will you get?

Question 8#

The exam task requires that you write a function called best_value. You made a typo and called the function bedst_value. Full points is 10, how many points will you get?

Question 9#

During the exam you run the provided test, and it fails. What should you do?

Question 10#

During the exam you run the provided test, and it passes. What can you conclude?