From language features to useful systems
Personal Expense Tracker
Store validated transactions in CSV, preserve decimal money accuracy, summarize categories and compare spending with a monthly budget.
- Dataclasses and Decimal
- Genuine CSV persistence
- Aggregation and budget reports
Attendance Analyzer
Record each class atomically, calculate eligibility and convert percentages into recovery or safe-absence guidance.
- Computed properties
- Sets and coordinated updates
- Temporary-file replacement
Safe File Organizer
Classify real files, preview every move, require exact confirmation and protect existing files through collision-safe naming.
- pathlib and shutil
- Two-phase plan and apply
- Filesystem safety
Build with an auditable process
1. Requirements
Define inputs, rules, outputs and failure cases.
2. Model
Give every class one clear responsibility.
3. Protect
Validate at boundaries and handle file failures.
4. Verify
Test calculations, state changes and persistence.
Written for this course
The application scenarios, explanations, source programs, traces, test designs and questions were created specifically for CodeBhavya. Python syntax, JSON/CSV formats and academic formulas are standard technical knowledge.
