NotesB.Sc ITSoftware Lab-III (OOPs using C++)
BSIT205/BSBC206

Software Lab-III (OOPs using C++) Notes

Program:B.Sc IT
Semester:Semester 2
Credits:2
Units:1 Units

Subject Overview

The practical companion to OOPs using C++, implementing structures/unions/classes, class functions and constructors/destructors, inheritance and operator overloading, and virtual functions and file I/O. A 2-credit core lab paper.

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
ClassificationC++ lab programs at a glance
Lab exercises
  • 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.

Read Unit 1 notes

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.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Software Lab-III (OOPs using C++).