Python: final assessment
This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: Build a word statistics tool
Without using hints, write a program that reads several lines of text and prints a report on the words in it.
- Words are counted without regard to capital letters, and punctuation is removed
- The report shows the total words, the different words and the average word length to two decimals
- The five most common words are listed, with ties in order of first appearance
- The logic is in functions that return values, each with at least two assert tests
- Empty input gives a clear message and does not cause an error
Final project
A budget tracker: Build a program that keeps track of income and spending from typed commands, and gives a clear report by category.
How it is evaluated
- Correctness: the program does what every requirement says, including on unusual input
- Structure: small functions with clear names and no repeated logic
- Robustness: errors and bad data are handled with helpful messages
- Testing: edge cases are covered by tests that pass
To complete this course
- Score at least 70% on the final quiz
- Solve the beginner and intermediate exercises in every lesson
- Finish the final project and check it against the evaluation criteria