
Learn to define Python classes, add attributes and methods, and document them with a docstring. Create objects with className(), access attributes via dot notation, and use self for instance functions.
Learn how to write Python constructors with __init__ and define class methods, using self for instance methods, and how to instantiate objects and call methods via the object or class.
Learn how inheritance in Python enables code reusability through parent and child classes. Explore single-level, multilevel, multiple, hierarchical, and hybrid inheritance, and master the base and derived class syntax.
Explore polymorphism in Python, including method overloading and overriding, and see how Python handles same-name functions and parent-child method behavior, noting that Python does not support method overloading.
Explore encapsulation, abstraction, and data hiding in Python using abstract classes and the abc module, with single and double underscores for access control.
Python is powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python code is simple, short, readable, intuitive, and powerful, and thus it is effective for introducing computing and problem solving to beginners. It's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
Python is an object oriented programming language. Unlike procedure oriented programming, where the main emphasis is on functions, object oriented programming focus on objects. Object-oriented programming (OOP) is a method of structuring a program by bundling related properties and behaviors into individual objects.
In this course, we will learn to implement various OOP concepts such as Creating Classes and Objects, Method Overloading and Overriding, Data Hiding, Data Abstraction, Inheritance and Composition Classes, Customization via Inheritance, Specializing inherited Methods
The aim of this course is to help the student to develop general purpose programming using Python as an OOP language to solve the problems.
The theory, practical experiences and relevant soft skills associated with this course are to be taught and implemented, so that the student demonstrates the industry-oriented outcomes such as: Develop python program to demonstrate use of OOP concepts.