Search
It is recommended that you prepare yourself for the tests. The following should help you asses whether you need to study and practice more. It is not a sufficient preparation for the test.
Before the midterm
Additionally before the end-of-term
The following is a set of elementary tasks in Python. It is necessary to practice these tasks to get fast and comfortable programming them. It is the prerequisite of the midterm, end-of-term and exam test. It is recommended to repeat each task until you can consistently program each under 1 minute without making any mistake:
These tasks already pose some challenge, so it is expected that you spend a bit more time on them, by testing and debugging your solution. You are expected to complete the task within 3-5 minutes on your first try, if you want to pass the tests.
For test-level tasks, see the assignments from the last years – midterm_2020.py , midterm_2021.py , endofterm_2020.py , and endofterm_2021.py . You should be able to complete each task in 8-10 minutes.
You are expected create readable (naming conventions), documented (docstrings), and tested (unittest) code. You should be able to complete each task in about 20 minutes, including documentation and unittest writing.
It may be helpful to get additional feedback about your code quality from VS Code directly. You can enable that by unchecking “Python Linting: Pylint Use Minimal Checkers” in File → Preferences → Settings.
library
main
test_library
test_main
Book
author
name
save_book
load_book
Password
password_strength
NumericPassword
NumericPassowrd
super()
__init__