Course Enrollment System: Python Foundation Capstone
120 min · Hard
Need help? Ask a tutor on WhatsApp (opens in a new tab)A course enrollment system is a classic interview project: it has rules, limits, waiting lists and saved data, so it shows how you design with classes, collections, exceptions and files.
What you will learn
What you will learn
- Design a small system from classes, dataclasses and collections with clear responsibilities
- Model rule violations with a family of custom exceptions under one base class
- Handle waitlists and promotions with deque, and counts with Counter and defaultdict
- Save and load the whole system as JSON in a relative file, including missing and corrupt files
- Explain the design choices in an interview
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.