Published July 18, 2025 | Version v1
Report Open

Exception Handling & Object-Oriented Programming in Python

  • 1. ROR icon University of Pembangunan Nasional Veteran Jawa Timur

Description

This report documents a student practicum project focused on implementing exception handling and object-oriented programming (OOP) in Python.

 

The work includes the use of:

  • Custom exception classes (InvalidAgeException, InvalidGenderException, InvalidEmailException)

  • Encapsulation with getter and setter methods

  • Input validation using try-except-else-finally blocks

  • Regular expressions (regex) for email verification

  • Defensive programming using loops and exception chaining

Developed as part of a practical session in the Data Science program at UPN "Veteran" Jawa Timur, this project serves as an educational resource for beginner to intermediate learners of Python.

Files

Final Project Report_Exception Handling and OOP in Python.pdf

Files (897.7 kB)

Additional details

Software

Programming language
Python
Development Status
Active