SUK SY CSE syllabus

SUK · Second Year B.Tech. Computer Science and Engineering · NEP 2020

Object Oriented Programming

CSE2202 · Semester IV · 2 credits · ISE 10 + mid-semester 30 + ESE 60

2 credits (C++); the Object Oriented Programming Lab (2 credits, ISE 50 + ESE 25) is separate.

All notes for this subject
  1. Unit 1: Fundamentals of Object-Oriented Programming

    5 hours

    The need for and features of object-oriented programming; namespaces; C++ basics: data types, structures, enumerations, control structures, arrays and strings; classes, objects, data abstraction and access specifiers; functions and prototypes; constructors and destructors; static members, inline and friend functions.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Procedural versus object-oriented programming
    • C++ program structure, headers and namespaces
    • C++ classes, objects and access specifiers
    • C++ basics: functions, inline functions and default arguments
    • Constructors and destructors in C++
    • Friend functions and friend classes
  2. Unit 2: Inheritance and Pointers

    5 hours

    Base and derived classes, protected members, constructors and destructors in derived classes, overriding, class hierarchies, public and private inheritance and its types, ambiguity, virtual base classes, abstract, friend and nested classes; pointers, new and delete, pointers to objects, the this pointer, pointers and arrays, function pointers and pointers to derived classes.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Inheritance in C++: types and access specifiers
    • C++ references, new and delete, and operators
    • The this pointer
    • Pointers and references to derived classes
  3. Unit 3: Polymorphism

    5 hours

    Types of polymorphism; overloading unary and binary operators; data conversion and type casting; explicit and mutable; function overloading; pointers to the base class, virtual and pure virtual functions, the virtual table, virtual destructors and abstract base classes.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Operator overloading in C++
    • Type conversion functions in C++
    • Function overloading and ambiguity
    • Virtual functions, overriding and run-time polymorphism
  4. Unit 4: Files and Streams

    4 hours

    The data hierarchy; streams, stream classes and stream errors; disk file I/O, file pointers and error handling; overloading the extraction and insertion operators; memory as a stream object; command-line arguments.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • File streams in C++
  5. Unit 5: Exception Handling

    3 hours

    Exception-handling fundamentals; divide by zero; multiple catching and re-throwing; exception specifications and user-defined exceptions; unexpected exceptions; exceptions with constructors, destructors and inheritance.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Exception handling in C++
  6. Unit 6: Templates and the Standard Template Library

    5 hours

    Function templates and their overloading; class templates and non-type parameters; templates and friends; generic functions; STL components: sequence and associative containers, container adapters, vector and list.

    Examined in the 60-mark end-semester paper, and in the mid-semester exam if it is taught by then

    • Function and class templates in C++
    • The C++ Standard Template Library

Unit contents are summarised from the official SUK syllabus . AiCanCode.org is not affiliated with Shivaji University, Kolhapur.