TABFlux
HomeCoursesUniversitiesProgramsForum
Contact Us

© 2026 TABFlux. All rights reserved. Built for students, by students.

ForumPrivacy PolicyTerms of ServiceContact UsContributors

OOP in C++/Java

Object-Oriented Programming (OOPs) is a programming paradigm that organizes software around objects and classes. It focuses on core concepts such as encapsulation, inheritance, polymorphism, and abstraction, enabling modular, reusable, and maintainable software development.

Select University

TUPoUFWU

Select Program

BSc. CSITB.E. ComputerBIT

TabFlux . Object Oriented Programming with C++ . FWU . BSc. CSIT

Object Oriented Programming with C++

0%

Course Title: Object Oriented Programming with C++

Course No: CSIT.214

Nature of the Course: Theory + Lab

Semester: 3

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 10 + 10

Credit Hours: 3

Course Description

Course Objectives

Course Contents

1. C++ Basics
4 hrs
1.1. Programming Language Paradigms
  • Unstructured Programming
  • Procedural Programming
  • Modular Programming
  • Object Oriented Programming
  • History of C++
1.2. Input and Output in C++, Manipulators, Reference variable, Comments, Type Conversion.
1.3. put() and get() Functions, getline() Function.
1.4. New and Delete Operators, Scope Resolution Operators, Enumerations.
2. Functions
4 hrs
2.1. Drawbacks of Functions, Macros, Macro vs Functions, Inline Functions, Macros vs Inline Functions.
2.2. Default Arguments, Overloaded Functions: With Different Number of Arguments, with Different Type of Arguments.
2.3. Passing Arguments to Functions
  • Pass by Value
  • Pass by Reference
  • Pass by Pointer
2.4. Returning from Functions
  • Returning by Value
  • Return by Reference
  • Return by Pointer
2.5. Constant Arguments
3. Class and Objects
10 hrs
3.1. C++ Structures vs C Structures, Class and Objects, Defining Member Functions, Memory Allocation for Objects and methods.
3.2. Array of Objects, Pointer Objects, Access Specifiers, Passing Objects as Arguments, Returning Objects.
3.3. Static Data Members, Static Methods, Nested Class.
3.4. Friend Functions, Friend Class, This Pointer
3.5. Constructors, Types of Constructors, Constructor Overloading, Copy Initialization, Destructors
4. Operator Overloading
7 hrs
4.1. Introduction, Operators that cannot be overloaded, Rules for Operator Overloading.
4.2. Overloading Unary Operators
  • Pre-increment operator
  • Post-increment operator
  • Negation Operator
4.3. Overloading Binary Operators
  • Plus/Minus Operator
  • Comparison Operators
  • String Concatenations
  • Overloading using friend Functions
4.4. Nameless Temporary Objects
4.5. Type Conversion
  • Basic to Object
  • Object to basic
  • Object to Object
5. Inheritance & Aggregation
6 hrs
5.1. Introduction, Benefits, Forms of Inheritance, Protected Access Specifier.
5.2. Public, private, and Protected Derivation.
5.3. Constructor and Inheritance, Destructor and Inheritance
5.4. Method Overriding, Ambiguities in Inheritence: Multiple Inheritance, Multipath Inheritance, Virtual Base Class.
5.5. Containership, Inheritance vs Containership.
6. Dynamic Polymorphism
4 hrs
6.1. Static vs Dynamic Polymorphism, Pointers to base Classes, Virtual Functions
6.2. Implementing Dynamic Polymorphism, Pure Virtual Functions. Abstract Classes
6.3. Virtual Destructors
7. Exception Handling
3 hrs
7.1. Exception vs Error, Exception Handling mechanism.
7.2. Throw Statement, Try and Catch Statements, Multiple Catch Statements, Catching All Exceptions.
7.3. Nested try-catch, User Defined Exception
8. Generic Programming
3 hrs
8.1. Introduction and Concept, Function Templates, Class Templates.
8.2. Template Specialization. Rules for Using templates.
9. Input/output with Files
4 hrs
9.1. Streams, Opening and Closing Files, Reading and Writing Text Files.
9.2. Detecting End of File, Reading and Writing Binary Files, Random File Access.

Laboratory Works

  1. 1.C++ Programming Exercises

Text Books

  1. 1.Object-Oriented Programming in C++: Robert Lafore, Sams Publishing, 4th edition, 2002

Reference Books

  1. 1.C++ Programming with Object Oriented Approach, Arjun Singh Saud, KEC Publication, Kathmandu, First Edition 2012.
  2. 2.C++ How To Program, Paul J. Ditel & Dr. Harvey M. Ditel, Prentice Hall, 9th Edition, 2013

Notes:

Source:

This course describes basic features of C++ that are different from C programming language. It also covers principles of object oriented programming like polymorphism, class, object, encapsulation, inheritance etc. Besides this, the course describes features like exception handling, templates and File handling using C++.
Differentiate structured programming from object oriented programming. Understood principles of object oriented programming. Write programs using OOP principles. Use concepts like exception handling and generics in programming. Apply C++ in solving scientific problems and simulation.
Student should write programs, prepare lab sheet for each of the topics discussed in classes. Minimum 3 lab hour per week in required. Nature of programming problem can be decided by instructor. Lab sheet of around 50 programming problems is recommended.
This syllabus follows the official CSIT curriculum of Far Western University. In case of any doubt or revision, the university's published syllabus shall be considered authoritative. https://cdc.fwu.edu.np/faculties.html