Object Oriented Programming using C++ (Diploma)

Classes, objects, constructors, inheritance, polymorphism, templates and file handling in C++.

6 MonthsDuration 5Chapters32Topics

Syllabus · पाठ्यक्रम

Download PDF
01Unit 1: Principles of Object Oriented Programming 7 topics
  1. Procedure oriented vs object oriented programming
  2. Objects, classes, encapsulation, abstraction, inheritance, polymorphism
  3. Structure of a C++ program
  4. Tokens, data types, operators and scope resolution operator
  5. cin, cout and manipulators
  6. Reference variables and inline functions
  7. Default arguments and function overloading
02Unit 2: Classes and Objects 7 topics
  1. Defining a class, data members and member functions
  2. Access specifiers - private, public, protected
  3. Arrays of objects and objects as function arguments
  4. Static data members and static member functions
  5. Friend functions and friend classes
  6. Constructors - default, parameterised, copy
  7. Destructors
03Unit 3: Inheritance 6 topics
  1. Base and derived classes
  2. Visibility modes in inheritance
  3. Single, multiple, multilevel, hierarchical and hybrid inheritance
  4. Virtual base class
  5. Constructors in derived classes
  6. Abstract classes
04Unit 4: Polymorphism and Pointers 6 topics
  1. Compile-time and run-time polymorphism
  2. Operator overloading - unary and binary
  3. Overloading using friend functions
  4. Pointers to objects and the this pointer
  5. Pointers to derived classes
  6. Virtual functions and pure virtual functions
05Unit 5: Templates, Exceptions and File Handling 6 topics
  1. Function templates and class templates
  2. Exception handling - try, throw, catch
  3. Stream classes in C++
  4. Opening and closing files - ifstream, ofstream, fstream
  5. File modes and file pointers
  6. Reading and writing objects to files

About

You will be able to

  • Explain the principles of object oriented programming and how C++ differs from C
  • Write C++ programs using classes, objects, access specifiers and member functions
  • Use constructors, destructors, friend functions and static members correctly
  • Apply single, multiple, multilevel and hybrid inheritance with virtual base classes
  • Implement compile-time and run-time polymorphism using overloading and virtual functions
  • Write generic code with templates and handle exceptions and files using C++ streams

Who it is for

  • Diploma Computer Science & Engineering students of Semester 3 (BTEUP)
  • Diploma IT students and BCA beginners learning object oriented programming
  • Students who know C and want to move to C++

What you need

  • Working knowledge of C programming - variables, loops, functions, arrays and pointers

Questions

Which syllabus is covered?

The BTEUP Diploma Computer Science & Engineering Semester 3 OOP using C++ syllabus. Where your board or college syllabus differs, the centre follows your own syllabus.

Which compiler is used?

Programs are run on GCC / Code::Blocks or Turbo C++ as used in your college lab.

Is this useful for Java later?

Yes. Classes, inheritance and polymorphism learnt here are the base for Java Programming in Semester 4.

Are programs practised in class?

Yes. Every unit has example programs and output-prediction questions like the exam.

Download the syllabus (PDF)

Tell us who you are — your copy is made with your name, and our counsellor can help you choose the right course and centre.

Want to join right away? Enquire now — our centre will call you.