Project 5: Working with classes#

Note

When?

Wednesday 15th November, 2023. Before 23:59

Where?

Under assignments on DTU Learn 02002 02003

What to hand in?

Generate and hand in cp/project5/Project5_handin_k_of_n.token

The project consists of the following exercises:

Please consult the exercise descriptions for additional information. While you are working on the project, we recommend that you use our tests to verify your solution. For additional information on using tests please consult Testing and handins.

Creating your hand-in#

To get credit for your results, you need to hand in a token-file. To create the token-file, run the script cp/project5/project5_grade.py.

This will generate a file called cp/project5/Project5_handin_k_of_n.token. The file name tells you how many points you obtained, and the terminal output contains additional details. When you are happy, open the assignment on DTU Learn and hand in the .token-file without modifications.

Running tests and debugging#

The recommended way of completing the exercises is to use the VSCode debugger and the pycharm Test extension. You can open it by clicking on the small science flask in the left-most menu bar. The video above contains additional information on how to run the tests both with and without the debugger.

How am I evaluated?#

Your score is ultimately determined by whether your program produces the results implied by the exercise description. For the projects (not the exam) the score of your .token file is the final score, and thus known to you at the time of submission.

Did I pass?#

If you obtain more than 70% correct in the project you can be certain that you have automatically passed. If you obtain less than this in two or more projects, please see the FAQ.