C++ Object-Oriented Programming (OOP)
Classes, encapsulation, constructor overloading, copy constructors, and object comparison functions.
OOP Lab 01: Product Class & Discount System
Implement a Product class with constructor overloading, copy constructor, discount computation, and non-negative price enforcement.
OOP Lab 02: Patient Admission & Bill Comparison
Design a Patient class with default daily charges, bill calculation with discounts, input validation, and standalone comparison function.
OOP Lab 03: Ticket Booking & Category Pricing
Implement a Ticket reservation class with category markups ('S', 'P', 'V'), tax calculation, and standalone ticket comparison.
OOP Lab 04: Flight Reservation & Capacity Guard
Manage airline seats, handle ticket bookings with overbooking constraints, and compare flight fares.
OOP Lab 05: Student Grading & Performance Evaluation
Compute weighted academic marks, cap scores at 100, validate input ranges, and compare top students.
OOP Lab 06: Autonomous Drone & Deep Copy Dynamic Memory
Implement an autonomous delivery Drone class with dynamically allocated coordinate and velocity vectors, verifying deep copy isolation.
OOP Lab 07: Vehicle Fleet Management & Static Tracking
Design a Vehicle fleet system with immutable registration numbers, static aggregation counters, and formatted file reporting.
OOP Lab 08: Student Records, Static Metrics & Object Pointers
Manage student records with default arguments, static cohort counters, department filtering, and pointer traversal.
OOP Lab 09: Book Inventory & Transaction Guard
Build a bookstore inventory system with stock validation, purchase transaction limits, and bulk-buying prevention.
OOP Lab 10: Course Enrollment System (Pointer Association)
Model a university enrollment system using pointer-based association between Student and Course classes.
OOP Lab 11: Dynamic Order System (Dynamic Aggregation)
Simulate a Customer-Order placement system using dynamic memory allocation, array expansion, and linked order aggregation.
OOP Lab 12: Library & Librarian System (Multi-Class Aggregation)
Implement a 3-class library catalog with Member, Book, and Librarian classes communicating through object aggregation.
OOP Lab 13: Mentorship System (Aggregation vs Composition)
Demonstrate OOP Aggregation where a Teacher class manages an array of Student object pointers with decoupled lifecycles.
OOP Lab 14: School & Schedule System (Pure OOP Composition)
Demonstrate strong Composition where a School object directly owns and manages its embedded Schedule object lifecycle.
OOP Lab 15: ComplexNumber Class Arithmetic Operators
Overload arithmetic operators (+, -, *, /) for a ComplexNumber class in real + imag * i form.
OOP Lab 16: Matrix Class Dynamic Operators
Add dynamic operator overloading to a Matrix class: assignment (=), addition (+), subtraction (-), and matrix multiplication (*).
OOP Lab 17: Custom CString Class Concatenation Operators
Implement custom string concatenation and compound assignment operators (=, +, +=) for both CString objects and raw C-strings.
OOP Lab 18: Fraction Class Arithmetic, Relational & Unary Operators
Implement a reduced Fraction class with overloaded arithmetic (+, -, *, /), relational (==, !=, <, >, <=, >=), increment/decrement (++ / --), unary (-), and compound (+=, -=, *=, /=) operators.