Search
- Filter Results
- Location
- Classification
- Include attachments
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.06%3A_Chapter_SummaryThis page provides an overview of object-oriented programming basics, focusing on data abstraction and encapsulation. It explains class definitions, instance creation, the __init__() method, instance ...This page provides an overview of object-oriented programming basics, focusing on data abstraction and encapsulation. It explains class definitions, instance creation, the __init__() method, instance versus class attributes, the self parameter, and magic methods. Additionally, it covers operator overloading and module imports, equipping readers with essential skills for effectively managing classes in Python.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Databases_and_Data_Structures/Data_Structures_(Wikibook)/01%3A_IntroductionEach data structure that we cover in this book can be thought of as a single unit that has a set of values and a set of operations that can be performed to either access or change these values. For a ...Each data structure that we cover in this book can be thought of as a single unit that has a set of values and a set of operations that can be performed to either access or change these values. For a set of n items, O(n) indicates that a particular function will operate on the set n times on average. O(1) indicates that the function always performs a constant number of operations regardless of the number of items.
- https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/06%3A_Conditionals_Part_1/6.08%3A_Encapsulation_and_Generalizationencapsulation: wrapping the code in a function
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.10%3A_Chapter_11This page provides an overview of object-oriented programming, highlighting classes, instances, and methods. It explains how objects represent real-world entities and emphasizes encapsulation and clas...This page provides an overview of object-oriented programming, highlighting classes, instances, and methods. It explains how objects represent real-world entities and emphasizes encapsulation and class name formatting. It covers instance attributes, constructors, and instance methods' behavior, as well as magic methods for operator overloading. The text also touches on module usage and naming conventions to enhance code clarity and reusability.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.00%3A_IntroductionThis page discusses how programmers use classes to represent real-world entities as objects, facilitating better design and organization in programming. It explains that a class specifies an object's ...This page discusses how programmers use classes to represent real-world entities as objects, facilitating better design and organization in programming. It explains that a class specifies an object's type, attributes, and methods, enabling multiple instances' creation. The use of classes enhances code reusability and offers benefits like data abstraction and encapsulation, improving overall usability and extensibility.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.01%3A_Object-Oriented_Programming_BasicsThis page discusses the principles of object-oriented programming (OOP), focusing on encapsulation and abstraction. It defines OOP as a paradigm that organizes data and methods into objects that repre...This page discusses the principles of object-oriented programming (OOP), focusing on encapsulation and abstraction. It defines OOP as a paradigm that organizes data and methods into objects that represent real-world entities. Encapsulation protects data integrity by restricting access to data and methods, while abstraction simplifies user interaction by hiding complexity.