CS25C07 Object Oriented Programming is a lab-integrated theory subject in semesters 2, 3 of Anna University R2025 B.E./B.Tech. for several branches. The full unit-wise syllabus is below.
| Subject code | CS25C07 |
|---|---|
| Subject name | Object Oriented Programming |
| Regulation | Anna University R2025 |
| Semester | 2, 3 |
| Branches | Semester 2: Computer Science and Business Systems, Computer Science and Design, Computer Science and Engineering, Computer Science and Engineering (AI and Machine Learning), Computer Science and Engineering (Artificial Intelligence), Computer Science and Engineering (Cyber Security), Computer Science and Engineering (Data Science), Computer Science and Engineering (Internet of Things), Computer and Communication Engineering, Robotics and Artificial Intelligence; Semester 3: Information Technology |
| Category | Engineering Sciences / Professional Core |
| Course type | Lab-integrated theory |
| Credits (L-T-P-C) | 3-0-4-5 |
| Semester scheme | AI&ML sem 2 · CCE sem 2 · CSBS sem 2 · CSD sem 2 · CSE sem 2 · CSE (AI) sem 2 · CSE (DS) sem 2 · CSE (IoT) sem 2 · Cyber Security sem 2 · Robotics & AI sem 2 · IT sem 3 |
Course Objectives
- To impart the principles of object-oriented programming and their advantages over procedural programming.
- To develop problem-solving skills by creating real-world applications using OOP features.
Unit I: Principles of Object-Oriented Programming
Characteristics of object-oriented languages, C++ Program structure, Procedure Oriented Programming vs Object Oriented Programming, C++ constructs and syntax, tokens, variables, data-types, type conversion, operators, Expressions, Namespace, flow Control and decision, making statements.
Practical:
- Simple programs to using Operators, and type conversion.
- Programs using Conditional and Loop statements and loops.
Study CS25C07 Object Oriented Programming on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)
Unit II: Classes and Objects
Abstraction mechanism: Classes, Objects, member data, member functions – Constructors and types – destructors, inline function, friend function, array of objects, objects as function arguments – memory allocation for objects, static members static data and static function.
Practical:
- Programs using in-line and friend functions.
- Programs using constructors and destructors
Unit III: Inheritance and Compile Time Polymorphism
Inheritance: Derived Classes – Single inheritance – Multilevel Inheritance – Multiple Inheritance – Hierarchical inheritance – Hybrid inheritance. Operator Overloading: Compile time Polymorphism – Overloading Functions, Overloading Operators, Overloading Unary Operators – Overloading Binary Operators – Operator Overloading with Friend Functions.
Practical:
- Programs for inheritance and its types.
- Programs using friend function and operator overloading.
Unit IV: Pointers and Runtime Polymorphism
Pointers with arithmetic operations – this pointer – Pointers to Derived classes and Base classes – Compile time versus Runtime Polymorphism – Virtual functions – Late Binding – Abstract classes- Pure virtual functions and Virtual Destructors – Virtual base class.
Practical:
- Programs for pointer manipulation.
- Programs for virtual functions.
Unit V: Templates and Exception Handling
Class Templates – Function Templates – Overloading of Template Functions – String, iterators, hashes, IO streams; Exception Handling.
Practical:
- Programs using function and class templates.
- Programs using exception handling.
Unit VI: I/O Systems and File I/O
C++ Streams – Formatted and Unformatted I/O –File stream classes – File modes – File operations, Sequential Read / Write operations – Binary and ASCII Files – Error handling in file I/O with member function.
Practical Activities
- Programs for error handling in file and I/O management
- Develop applications using OOP features.
Reference Books
- Deitel, P., & Deitel, H. (2024). C++ how to program: An objects-natural approach. Pearson Education.
- Bronson, G. (2011). A first book of C++. Course Technology Inc.
- Balagurusamy, E. (2020). Object oriented programming with C++. McGraw Hill Education.
E-Resources
- https://en.cppreference.com/w/cpp
- https://youtu.be/M-mKgBHaMb0?si=1I-pEiAFgwwBA8IC
Course Outcomes
- Understand the core OOP concepts and applications —
- Apply Object Oriented Paradigms to solve problems using C++
- Design and Analyze solutions involving code reusability and complexity management
- Demonstrate life-long learning skills through application development
Study CS25C07 Object Oriented Programming on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)