Key takeaways
- Constructors, inheritance, operator overloading, virtual functions and templates carry most marks.
- University papers expect short programs, so practise writing them by hand.
- Each section has exam tips and formula boxes, and the last page lists the most asked practice questions.
- These are original Uncodemy revision notes, not official university notes; check your own syllabus.
About these OOP with C++ handwritten notes
This page offers Uncodemy's Object Oriented Programming with C++ notes as a free handwritten-style PDF. Object Oriented Programming with C++ teaches how to model programs as classes and objects using encapsulation, inheritance and polymorphism. The notes are written in short points with neat tables, labelled diagrams, boxed formulas and exam tips, so you can revise a full unit in one sitting instead of reading a long textbook chapter.
Please note: these are original Uncodemy revision notes. They follow the common syllabus that most Indian universities share for this subject, but they are not official university notes. Check your own university syllabus and add anything it lists that is missing here.
What's inside the OOP with C++ notes
The PDF is arranged in 8 sections plus a final page of most asked practice questions. The sections follow the usual unit order of a Object Oriented Programming with C++ syllabus, so you can map them to your own units quickly. Here is what each section covers.
Introduction to OOP
Procedural vs object-oriented programming and the features of OOP: class, object, encapsulation, abstraction, inheritance and polymorphism.
C++ basics
Data types, input and output with cin and cout, references, inline functions, default arguments and function overloading.
Classes and objects
Defining classes, access specifiers, member functions, static members, friend functions and arrays of objects.
Constructors and destructors
Default, parameterised and copy constructors, deep vs shallow copy, and the order of constructor and destructor calls.
Inheritance
Single, multiple, multilevel, hierarchical and hybrid inheritance, visibility after inheritance, and the diamond problem with virtual base classes.
Polymorphism
Compile-time polymorphism with operator overloading, run-time polymorphism with virtual functions, pure virtual functions and abstract classes.
Templates and exception handling
Function and class templates for generic programming, and try, throw and catch.
File handling and STL
Reading and writing files with fstream, and STL containers, iterators and algorithms.
Most asked questions (practice)
Ten exam-style questions, from OOP features to exception handling.
How to use handwritten notes to revise OOP with C++
C++ papers combine theory with short programs, so read each section of the notes and then write one program from it without looking.
- Write a class with all three constructor types and a destructor, and predict the call order before running it.
- Overload the + operator for a complex number class from memory.
- Write a base and derived class with a virtual function, and explain the output with and without the virtual keyword.
- Write one function template and one class template, such as a generic swap and a stack.
A simple three-pass method works well with handwritten notes. In the first pass, read one section and underline only what you do not already know. In the second pass, close the notes and write the definitions, diagrams and steps for that section on a blank sheet, then compare and correct in a different colour. In the third pass, a day or two later, answer two or three exam-style OOP with C++ questions in timed conditions using only memory. Add your own examples and doubts in the margins so the PDF becomes your personal revision copy.
Formulas, diagrams and definitions to memorise
- The visibility table: how public, protected and private members appear after public, protected and private inheritance.
- Constructor order: base class first, then derived. Destructor order: derived first, then base.
- Operators that cannot be overloaded, such as scope resolution (::), member access (.), sizeof and the ternary operator.
- Syntax of a pure virtual function (
virtual void f() = 0;) and what makes a class abstract. - Function template and class template syntax, and the try, throw and catch flow.
Common mistakes that cost marks
- Forgetting the virtual keyword in the base class and then expecting run-time polymorphism.
- Writing a copy constructor that takes the object by value instead of by reference.
- Doing a shallow copy of a class that owns dynamic memory, which causes double deletion.
- Mixing up function overloading (same name, different parameters) with overriding (same signature in a derived class).
Exam focus: OOP with C++ topics that carry the most marks
These C++ topics carry the most marks in most university papers.
- OOP features and procedural vs object-oriented programming.
- Constructors, copy constructor and destructor order.
- Types of inheritance and the diamond problem.
- Operator overloading, virtual functions, templates and exceptions.
Typical long questions
- Explain the main features of OOP and compare procedural and object-oriented programming.
- Explain the types of constructors and the copy constructor with deep vs shallow copy.
- Explain the types of inheritance with examples and the diamond problem.
- Compare compile-time and run-time polymorphism.
- Write a program to overload the + operator for complex numbers.
- Explain virtual and pure virtual functions and abstract classes.
- Explain exception handling using try, throw and catch.
Marks per question change between universities and years, so confirm the pattern on a recent official paper. In long answers, start with a definition, add a labelled diagram or table, explain the steps and finish with an example or comparison. Underline the key term in each answer and leave a line between steps, because examiners mark faster when the structure is easy to see.
A 7-day revision plan for OOP with C++
- Day 1: Introduction to OOP, C++ basics.
- Day 2: Classes and objects, Constructors and destructors.
- Day 3: Inheritance, Polymorphism.
- Day 4: Templates and exception handling.
- Day 5: File handling and STL.
- Day 6: write the programs again: constructor order, operator overloading, a virtual function example, a template and an exception handler.
- Day 7: answer the most asked practice questions at the end of the notes from memory, then solve one official previous year paper in three hours and mark the units that cost you time.
Keep a single sheet of formulas, definitions and diagrams from the notes for the last hour before the exam, and do not start new topics on the final day.
Who these notes are for
- B.Tech CSE and IT students preparing for the semester OOP with C++ exam.
- BCA and MCA students with a C++ programming paper.
- Students moving from C to C++ who want a compact revision of OOP ideas.
- Freshers revising OOP concepts before technical interviews.
The notes are a revision aid, not a first textbook. If a OOP with C++ topic is new to you, learn it from your prescribed book or class lectures first, then come back to the notes to compress and revise it. For practice, pair them with the OOP with C++ Important Questions PDF page and your university's official previous year papers. If your syllabus has a topic that is not covered here, you can ask for it through the handwritten notes request page linked below.
Download Object Oriented Programming with C++ Handwritten Notes PDF
OOP with C++ Handwritten Notes PDF (Free)
The PDF carries the same content as this page in a clean, print-ready layout, so you can read it offline and keep it for revision.
7 pages · 274 KB · PDF · Updated 5 Nov 2026