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

CodeSignal

Python Classes Basics Revision

via CodeSignal

Overview

This course introduces the foundational concepts of Python classes and objects, focusing on implementing basic code structures and OOP concepts, as well as dealing with common edge cases.

Syllabus

  • Lesson 1: Revisiting the Building Blocks: Python Classes and Object-Oriented Essentials
    • Incorporating New Attributes into Python Classes
    • Incorporate an Additional Method into an Existing Class
    • Rectify the Rectangle Class Method
    • Enhance the Player Class with a Display Method
    • Implement a Method to Calculate the Area of a Circle in the Circle Class
  • Lesson 2: Constructing Knowledge: Python Constructors and Class Methods
    • Implementing a Book Class with Dynamic Page Count
    • Implement Correct Initialization of a LibraryBook Instance
    • Implement Default Parameter in Vehicle Constructor
    • Implement Greetings in the Spaceship Class
    • Add Movement Capabilities to the Spaceship Class
  • Lesson 3: Encapsulation and Privacy in Python: Securing Your Classes
    • Securing the Weather Station Data Access
    • Add Private Method for Yearly Maintenance Check in a Car Class
    • Encapsulating Smart Fridge Operations
    • Add Encapsulation to Secure Pet Data in a Veterinary System
    • Securing Class Internals with Encapsulation in a Smart TV Controller
  • Lesson 4: Understanding Inheritance: A Guide to Python's Attribute and Method Inheritance
    • Inheritance Troubleshooting in Python Classes
    • Expanding the Digital Zoo with Inheritance
    • Overriding and Extending MusicPlayer's Volume Control Method
    • Expanding the Class Hierarchy with New Attributes
    • Enhancing Class Functionality with Inheritance and Polymorphism

Reviews

Start your review of Python Classes Basics Revision

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.