C++ Programming Lab (Diploma)

Object oriented programming exercises in C++.

6 महीनेअवधि 6Chapters21टॉपिक

सिलेबस · पाठ्यक्रम

Download PDF
01C++ Basics 3 टॉपिक
  1. Programs using cin, cout and manipulators
  2. Inline functions and default arguments
  3. Function overloading - area of different shapes
02Classes और Objects 4 टॉपिक
  1. Student / bank account class with member functions
  2. Array of objects
  3. Static data member counting objects
  4. Friend function to add data of two classes
03Constructors and Destructors 3 टॉपिक
  1. Default, parameterised and copy constructors
  2. Constructor overloading
  3. Destructor demonstration
04Inheritance 3 टॉपिक
  1. Single and multilevel inheritance
  2. Multiple inheritance
  3. Hybrid inheritance with a virtual base class
05Polymorphism 4 टॉपिक
  1. Unary and binary operator overloading
  2. Overloading using friend function
  3. Virtual functions with base class pointers
  4. Abstract class with pure virtual function
06Templates, Exceptions and Files 4 टॉपिक
  1. Function template for swapping / finding maximum
  2. Class template
  3. try, throw, catch - division by zero
  4. Writing and reading records in a text file

परिचय

आप यह कर पाएँगे

  • Write, compile and debug C++ programs using classes and objects
  • Use constructors, destructors, static members and friend functions in programs
  • Implement different types of inheritance in working programs
  • Overload operators and functions and use virtual functions for run-time polymorphism
  • Write function and class templates and handle exceptions
  • Read and write data files using C++ file streams

यह किसके लिए है

  • Diploma Computer Science & Engineering students of Semester 3 (BTEUP)
  • Diploma IT students preparing for the C++ practical exam and viva

आपको क्या चाहिए

  • C programming basics and the OOP using C++ theory of the same semester
  • A computer with GCC / Code::Blocks or Turbo C++

सवाल

Which syllabus is followed?

The BTEUP Diploma CSE Semester 3 C++ Programming Lab list. Where your college list differs, the centre follows your own lab syllabus.

Which compiler is used?

GCC (Code::Blocks / Dev-C++); Turbo C++ differences are explained if your college uses it.

Is the lab file prepared?

Each experiment is written with aim, program and output, and viva questions are practised.

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? अभी पूछताछ करें — our centre will call you.