Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Python 3.8 Object Oriented Programming | Homework + Answers

via Udemy

Overview

Learn object oriented programming concept in Python 3.8. The course contains a lot of examples.

What you'll learn:
  • Learn four concepts of object oriented programming
  • Understand why it is worth using object oriented programming
  • Understand the difference between an object and a class
  • Learn about class attributes and methods
  • Get to know about the "self" keyword and __init__ method
  • Private attributes in Python
  • Getter, setter and @property decorator in Python
  • Inheritance - base classes and derived classes
  • Multiple inheritance and MRO
  • super() function
  • Special / Dunder methods - __len__ __repr__ __str__ __add__ __lt__ and others
  • Understand the difference between self and cls
  • @classmethod @staticmethod
  • Polymorphism - duck typing and interface
  • Coding Tips & Tricks
  • A lot of interesting examples!
  • Exercises with sample solutions
  • 10 Python interview questions & answers about object oriented programming
  • Write better and cleaner code

In the course, I am explaining in detail basic concepts about object-oriented programming. I am showing how can you use those concepts in Python. Python, in comparison to other programming languages ​​(Java, C #) has its own way of presenting certain object-oriented programming concepts, which can be unusual for people who did not use Python before.

Knowledge of object-oriented programming is necessary when applying for a Junior Developer job. Therefore at the end of the course, I prepared 10 interview questions that might appear during the recruitment process. Each question has a proposed answer.

In each chapter, I am explaining the theory of a given topic with an example of implementation in Python. In addition, at the end of each chapter, I have prepared homework to test your knowledge. So you can write a practical task and check your understanding of the particular section. There is available also a solution for each homework.

Course content:

  1. Basic information about classes and objects

  2. Encapsulation - getters, setters and @property

  3. Inheritance

  4. Special / magic methods in Python

  5. Instance, class, and static methods in Python

  6. Polymorphism in Python


If you would like to learn how object-oriented programming is used in Python, I think I can help you :)

Syllabus

  • Intro
  • Basic information about classes and objects
  • Encapsulation - getters, setters and @property
  • Inheritance
  • Special / magic methods in Python
  • Instance, class, and static methods
  • Polymorphism
  • OOP interview questions
  • Additional lesson

Taught by

Szymon Wolny

Reviews

3.8 rating at Udemy based on 22 ratings

Start your review of Python 3.8 Object Oriented Programming | Homework + Answers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.