Software Lab-III (OOPs using C++) Notes
Subject Overview
The practical companion to OOPs using C++, implementing structures/
Subject at a glance
1
Units
11
Topics
2
Credits
1
Infographics
Unit-wise Syllabus
1 units — open any unit for detailed topic-wise notes, diagrams and important exam questions
- Structure/union/class definition and declaration
- class function definitions (inside/outside class, inline, static, friend)
- creating objects
- arrays of objects
- default/parameterized/copy constructors and destructors
- base/derived classes with public/private/protected visibility
- single/multi-level/multiple inheritance
- function and operator overloading
- early/late binding
- virtual and pure virtual functions
- input/output file streams
Classes and objects
Members, inline, static, friend
Constructors and destructors
Default, parameterised, copy
Inheritance
Single, multilevel, multiple
Overloading
Functions and operators
Polymorphism and files
Virtual functions, fstream
Study guide
In this lab you write C++ programs covering structures, unions and classes, member functions (inside and outside, inline, static, friend), objects and arrays of objects, constructors and destructors, base and derived classes with all visibility modes, single, multilevel and multiple inheritance, function and operator overloading, early and late binding, virtual and pure virtual functions and file streams. Relate each program to the OOP concept it demonstrates.
Why Software Lab-III (OOPs using C++) Matters
These practical programs are the standard exercises in practical exams and in OOP interview questions.
How to Prepare for Software Lab-III (OOPs using C++)
- Write programs from scratch and then try variations.
- Be ready to explain which concept each program shows.
- Check for file-open errors in file programs.
Software Lab-III (OOPs using C++): Frequently Asked Questions
What programs are asked in the C++ lab?
Classes and objects, constructors, inheritance types, overloading, virtual functions and file handling.
