VOOZH about

URL: https://www.coursera.org/learn/packt-object-oriented-programming-and-functions-bhkvx

⇱ Object-Oriented Programming and Functions | Coursera


Object-Oriented Programming and Functions

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Object-Oriented Programming and Functions

2,756 already enrolled

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Structure C++ programs using modular, reusable functions with proper parameter handling

  • Design and implement classes with constructors, methods, and encapsulated data

  • Manage program errors through exception handling and debugging techniques

  • Use pointers and dynamic memory allocation to build flexible, efficient C++ applications

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

6 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Become a C++ Pro: The Ultimate Developer Guide Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 4 modules in this course

This course features Coursera Coach!

A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This course provides a deep dive into C++ functions, object-oriented programming (OOP), exception handling, debugging, and pointers—essential pillars for developing scalable and robust applications. You'll master how to write modular, reusable code using functions and create complex systems using classes and objects grounded in core OOP principles like encapsulation, inheritance, and polymorphism. The journey begins with functions, teaching you prototypes, parameter passing, recursion, and function overloading. You’ll reinforce these concepts with practical projects such as creating a Tic-Tac-Toe game and computing the average of numbers. Then, the course transitions into object-oriented programming, where you'll design custom classes and bring them to life with real-world examples like a Library Card or an Ice Cream Sundae class. Next, you’ll explore exceptions and debugging, learning how to write resilient code through structured error handling, logic checks, and custom exception classes. Finally, the course concludes with a strong foundation in pointers and dynamic memory management, helping you understand how C++ gives you powerful control over system memory. This course is ideal for learners who already understand C++ basics and are ready to take their skills to the next level. It’s perfect for computer science students, aspiring developers, and self-taught programmers aiming for deeper C++ proficiency. A basic understanding of variables, loops, and conditionals in C++ is recommended before enrolling. By the end of the course, you will be able to build and organize C++ programs using reusable functions, design robust object-oriented systems, manage memory with pointers, and handle exceptions gracefully for reliable code execution.

In this module, we will explore the power of functions in C++—a critical tool for writing clean, modular, and maintainable code. You’ll learn how to use parameters, return types, overloading, and recursion while working through hands-on projects like a Tic-Tac-Toe game and array-based calculators. By mastering functions, you’ll build the foundation for structured and reusable code in C++.

What's included

14 videos2 readings1 assignment

14 videosTotal 119 minutes
  • Section Overview2 minutes
  • Function Prototypes and Definitions8 minutes
  • Function Return Types and Parameters10 minutes
  • Parameter Passing13 minutes
  • Variable Scope and Lifetime14 minutes
  • Function Overloading8 minutes
  • The Library7 minutes
  • Recursion17 minutes
  • Project - Average of Three6 minutes
  • Project - Count Even Numbers5 minutes
  • Project - Return Product of Elements in an Array Object5 minutes
  • Project - Retrieve Product of Elements by Reference6 minutes
  • Project - Tic-Tac-Toe15 minutes
  • Section Wrap-Up3 minutes
2 readingsTotal 20 minutes
  • Introduction to the Course 'Object-Oriented Programming and Functions'10 minutes
  • Full Specialization Recourses10 minutes
1 assignmentTotal 15 minutes
  • Functions - Assessment15 minutes

In this module, we will introduce Object-Oriented Programming and walk through the creation and use of classes and objects in C++. You’ll build real-world examples like a Book class and Ice Cream Sundae class, learning about encapsulation, constructors, destructors, and more. These projects will help you move from procedural to object-oriented thinking in your C++ development.

What's included

11 videos1 assignment

11 videosTotal 124 minutes
  • Section Overview3 minutes
  • Basics of Object-Oriented Programming5 minutes
  • Encapsulation20 minutes
  • Separate Compilation10 minutes
  • Constructors and Destructors14 minutes
  • A Rectangle Class17 minutes
  • A Book Class13 minutes
  • Project - A Library Card Class12 minutes
  • Project - An Ice Cream Sundae Class12 minutes
  • Project - A Triangle Class13 minutes
  • Section Wrap-Up4 minutes
1 assignmentTotal 15 minutes
  • Introduction to Classes and Objects - Assessment15 minutes

In this module, we will focus on writing robust C++ programs by mastering exception handling and debugging techniques. You’ll explore the exception hierarchy, learn to rethrow and create custom exceptions, and use debugging tools effectively. Through targeted projects like the Month Names and Custom Exception exercises, you’ll gain confidence in writing error-resilient code.

What's included

10 videos1 assignment

10 videosTotal 95 minutes
  • Section Overview3 minutes
  • Exceptions and the Exception Hierarchy10 minutes
  • Logic Errors8 minutes
  • Runtime Errors and Throwing Exceptions14 minutes
  • Rethrowing Exceptions14 minutes
  • Custom Exceptions11 minutes
  • Basic Testing and Debugging Skills17 minutes
  • Project - Month Names7 minutes
  • Project - Creating and Using Your Own Exception9 minutes
  • Section Wrap-Up3 minutes
1 assignmentTotal 15 minutes
  • Exceptions and Debugging - Assessment15 minutes

In this module, we will demystify pointers—one of the most powerful and nuanced features of C++. You’ll learn how pointers work, how to manage dynamic memory, and why const correctness matters. With projects like Dynamically Creating Drones and Exhibits, you'll apply these concepts in meaningful ways that reinforce both theory and practice.

What's included

8 videos1 reading3 assignments

8 videosTotal 84 minutes
  • Section Overview4 minutes
  • Pointers11 minutes
  • Dynamic Memory, Part 19 minutes
  • Dynamic Memory, Part 214 minutes
  • Const Correctness17 minutes
  • Project - Dynamically Create Exhibits12 minutes
  • Project - Dynamically Create Drones14 minutes
  • Section Wrap-Up3 minutes
1 readingTotal 10 minutes
  • Conclusion to the Course 'Object-Oriented Programming and Functions'10 minutes
3 assignmentsTotal 90 minutes
  • Pointers - Assessment15 minutes
  • Full Course Assessment60 minutes
  • Full Course Practice Assessment15 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Offered by

Explore more from Software Development

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions

Object-Oriented Programming (OOP) is a programming paradigm that organizes code into objects, which are instances of classes. OOP helps in managing complex software projects by promoting modularity, reusability, and easier maintenance. It’s highly relevant because it allows developers to design software that is more flexible, scalable, and easier to maintain. Understanding OOP is essential for anyone pursuing a career in software development, especially in fields like game development, application design, and large-scale system engineering.

The "Object-Oriented Programming and Functions" course introduces you to core OOP concepts and function usage in C++. It covers topics such as functions, recursion, function overloading, and variable scope, as well as OOP principles like encapsulation, constructors, and destructors. The course also includes hands-on projects where you will design and implement classes and objects, create custom exceptions, and work with dynamic memory using pointers, giving you practical experience in writing clean and efficient C++ code.

Upon completion of this course, you'll be proficient in using functions and object-oriented techniques in C++. You’ll be able to design and implement classes, manage memory dynamically with pointers, handle exceptions, and debug code effectively. Additionally, you’ll be able to solve real-world problems using recursion, function overloading, and object-oriented principles, which are fundamental in modern software development.

This course is intended for learners who have a basic understanding of C++ and programming concepts. It builds on fundamental knowledge such as variables, loops, and control statements. If you are familiar with the basics of C++ and want to advance your skills in functions and object-oriented programming, this course is a great next step.

This course is suitable for intermediate learners who already have a basic understanding of C++ programming and want to expand their knowledge into more advanced topics like functions, OOP, memory management, and exception handling. It is ideal for those looking to enhance their software development skills and tackle real-world problems using C++.

The course is designed to be completed in approximately 9 hours. This includes watching instructional videos, completing hands-on projects, and practicing the concepts introduced throughout the course.

Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.

If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.

Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.

If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.

This course is currently available only to learners who have paid or received financial aid, when 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.

Financial aid available,