This course introduces the fundamentals of Object-Oriented Programming (OOP) in Python, a paradigm widely adopted for structuring complex software. It begins with an explanation of what OOP is and why it is popular, followed by the core principles of OOP: inheritance, polymorphism, encapsulation, and abstraction. Students will also learn how to document classes and methods professionally. The course concludes with practical case studies, allowing learners to apply these concepts in real-world scenarios.
This module introduces the foundational concepts of Object-Oriented Programming (OOP). It covers the idea of OOP, focusing on how this paradigm helps structure programs through classes and objects. Learners will be guided on how to design and create a class in Python. Additionally, a general overview of the four key aspects—inheritance, polymorphism, encapsulation, and abstraction—will be provided to set the stage for more in-depth exploration in subsequent modules.
涵盖的内容
6篇阅读材料1个作业2个非评分实验室
显示有关单元内容的信息
6篇阅读材料•总计51分钟
Course Updates and Accessibility Support•1分钟
BiteSize Pedagogy•10分钟
Assessment Strategy•10分钟
Coursera Labs•10分钟
Four Aspects of OOP•10分钟
Interact with GenAI•10分钟
1个作业•总计30分钟
Test your understanding•30分钟
2个非评分实验室•总计60分钟
The Idea of OOP•30分钟
Creating a Class•30分钟
Inheritance
第 2 单元•小时 后完成
单元详情
This module explores the concept of inheritance in Object-Oriented Programming, where a class can inherit properties and behaviors (attributes and methods) from another class. It includes a demonstration of inheritance and uses an Animal class to illustrate how a subclass can inherit features from a parent class. Further understanding of inheritance will be developed through case studies featuring the Person, Animal, and Vehicle classes.
涵盖的内容
1篇阅读材料1个作业3个非评分实验室
显示有关单元内容的信息
1篇阅读材料•总计10分钟
Interact with GenAI•10分钟
1个作业•总计30分钟
Test your understanding•30分钟
3个非评分实验室•总计120分钟
What is Inheritance? •30分钟
Revisiting the Animal Class with Inheritance•30分钟
Inheritance Case Studies•60分钟
Polymorphism
第 3 单元•小时 后完成
单元详情
This module focuses on the concept of polymorphism, which allows objects of different classes to be treated as instances of the same class through a shared interface. It includes a demonstration of polymorphism and showcases examples such as Family Tree, Animal, and Vehicle classes to highlight how different subclasses can override or share methods. Case studies featuring Employee, Shape, and Appliance classes will deepen learners' understanding of polymorphism in practical applications.
涵盖的内容
1篇阅读材料1个作业5个非评分实验室
显示有关单元内容的信息
1篇阅读材料•总计10分钟
Interact with GenAI•10分钟
1个作业•总计30分钟
Test your understanding•30分钟
5个非评分实验室•总计120分钟
What is Polymorphism?•15分钟
Revisiting our Family Tree with Polymorphism•15分钟
Revisiting our Animal Class with Polymorphism•15分钟
Revisiting our Vehicle Class with Polymorphism•15分钟
Case Studies•60分钟
Encapsulation
第 4 单元•小时 后完成
单元详情
This module introduces the concept of encapsulation, a core principle of Object-Oriented Programming that restricts access to certain components of an object while exposing others. It includes a demonstration of how encapsulation works in Python, along with real-life examples such as a bank account, student grades, and a car engine. Case studies featuring Employee, Book, and Movie classes will further demonstrate how encapsulation protects data and organizes access.
涵盖的内容
1篇阅读材料1个作业5个非评分实验室
显示有关单元内容的信息
1篇阅读材料•总计10分钟
Interact with GenAI•10分钟
1个作业•总计30分钟
Test your understanding•30分钟
5个非评分实验室•总计140分钟
What is Encapsulation?•20分钟
Example: Bank Account•20分钟
Example: Student Grades•20分钟
Example: Car Engine•20分钟
Case Studies•60分钟
Abstraction
第 5 单元•小时 后完成
单元详情
This module covers the concept of abstraction, which simplifies complex systems by showing only the essential details and hiding the implementation. It includes a demonstration of abstraction in Python and provides examples such as Vehicles, Payment, and File Handling to illustrate how abstraction works in practice. Case studies featuring the Animal and Shape classes will help learners deepen their understanding of how abstraction is applied in Object-Oriented Programming.
涵盖的内容
1篇阅读材料5个非评分实验室
显示有关单元内容的信息
1篇阅读材料•总计10分钟
Interact with GenAI•10分钟
5个非评分实验室•总计140分钟
What is Abstraction?•20分钟
Example: Vehicles•20分钟
Example: Payment•20分钟
Example: File Handling•20分钟
Case Studies•60分钟
Documentation
第 6 单元•小时 后完成
单元详情
This module focuses on the importance of documentation in programming, specifically in the context of Object-Oriented Programming (OOP). It explains what documentation is and how it enhances code readability and maintainability. Learners will explore best practices for writing professional documentation for classes and methods in Python. The module includes an example of a Book class with comprehensive documentation to illustrate effective practices.
涵盖的内容
1篇阅读材料1个作业2个非评分实验室
显示有关单元内容的信息
1篇阅读材料•总计10分钟
Interact with GenAI•10分钟
1个作业•总计30分钟
Test Your Understanding•30分钟
2个非评分实验室•总计40分钟
What is Documentation?•20分钟
Example: Book•20分钟
Optional Case Studies
第 7 单元•小时 后完成
单元详情
This optional module offers a series of guided case studies designed to review and apply the key concepts covered throughout the course. You will explore practical scenarios that combine all object-oriented programming (OOP) concepts explored in the course: inheritance, polymorphism, encapsulation, abstraction, and documentation.
CU Boulder is a dynamic community of scholars and learners on one of the most spectacular college campuses in the country. As one of 34 U.S. public institutions in the prestigious Association of American Universities (AAU), we have a proud tradition of academic excellence, with five Nobel laureates and more than 50 members of prestigious academic academies.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.