A collection of Object-Oriented Programming (OOP) laboratory programs developed in C++ for the BCA 3rd Semester (BCA-306P) practical course.
These programs are based on the BCA-304 syllabus and cover the fundamental concepts of Object-Oriented Programming using C++.
- Course: BCA-306P – OOPs Programming Lab
- Semester: 3rd Semester
- Language: C++
- Compiler: GCC / G++ / Code::Blocks / Dev-C++ / Visual Studio / VS Code
| No. | Program |
|---|---|
| 01 | Hello World Using Class |
| 02 | Arithmetic Operations Using Class |
| 03 | Largest of Three Numbers |
| 04 | Switch Case Menu Program |
| 05 | Demonstration of Loops (For, While, Do-While) |
| 06 | Factorial Using Function |
| 07 | Factorial Using Recursion |
| 08 | Call by Value and Call by Reference |
| 09 | Inline Function |
| 10 | Arrays with Functions |
| 11 | Pointers |
| 12 | Structures and Unions |
| 13 | Class with Data Members and Member Functions |
| 14 | Constructors |
| 15 | Friend Function |
| 16 | Function Overloading |
| 17 | Operator Overloading |
| 18 | Single Inheritance |
| 19 | Multilevel Inheritance |
| 20 | Multiple Inheritance |
| 21 | Virtual Function (Runtime Polymorphism) |
| 22 | Static Binding and Dynamic Binding |
| 23 | Scope Resolution Operator |
| 24 | Student Management System |
| 25 | Bank Account Management System |
- Object-Oriented Programming Concepts
- Classes and Objects
- Member Functions
- Conditional Statements
- Loops
- Functions
- Recursion
- Arrays
- Pointers
- Structures and Unions
- Constructors
- Friend Functions
- Inline Functions
- Function Overloading
- Operator Overloading
- Single Inheritance
- Multilevel Inheritance
- Multiple Inheritance
- Runtime Polymorphism
- Virtual Functions
- Static and Dynamic Binding
- Scope Resolution Operator
-
C++ Compiler (GCC/G++)
-
Any C++ IDE or Code Editor
- Visual Studio Code
- Code::Blocks
- Dev-C++
- Visual Studio
- CLion
Using g++:
g++ "Program 01 - Hello World Using Class.cpp" -o program01
./program01Windows (PowerShell):
g++ "Program 01 - Hello World Using Class.cpp" -o program01.exe
.\program01.exeBCA-306P/
│
├── Program 01 - Hello World Using Class.cpp
├── Program 02 - Arithmetic Operations Using Class.cpp
├── Program 03 - Largest of Three Numbers.cpp
├── ...
├── Program 24 - Student Management System.cpp
├── Program 25 - Bank Account Management System.cpp
└── README.md
This repository is intended for:
- BCA 3rd Semester students
- OOP using C++ laboratory practice
- University practical examinations
- Learning and revision of core OOP concepts