CS2311 Object Oriented Programming (Units 1, 2 , 3 and 4) Scanned Lecture Notes

  • 9Feb
  • 2015
  • 0
    5.6k
       
    Anna University , Chennai
    Department of B.E-Electrical and Electronics Engg
    Fifth Semester
    CS2311 Object Oriented Programming
    Lecture Notes (Units 1 , 2 , 3 and 4)
    Scanned Lecture Notes - Lavanya Edition
    (Regulation 2008)
    Arrow Attachment : Click Here

    Arrow Content :
    OBJECT ORIENTED PROGRAMMING LANGUAGE

    UNIT-1
    INTRODUCTION TO C++
    Limitation of c++
    Class and object
    Encapsulation
    Specifying a class
    Parts of class specification
    1. Class declaration
    2. Class function definition
    Accessing class member
    Scope resolution operator
    Need for access specifier
    Storage requirement
    Making an outline function inline
    Nesting of member function
    Private member function
    Constant member function
    Object function arguments
    1. Pass by value
    2. Pass by reference
    Friend function
    Special characteristics of friend function
    Union and class
    Nested class
    Local class
    Restriction of the local class
    Principle of oops
    Software evolution
    Characteristics of oops
    Basic concepts of oops
    Class
    Objects
    Data abstruction and encapsulation
    Data hiding or information hiding
    Inheritance
    Polymorphism
    Dynamic binding
    Message passing
    Advantages of oops
    Application of oops
    Constructors and destructors
    Default constructor
    Parameterized constructor
    1. Inline constructor
    2. Outline constructor
    3. Multiple constructor
    Constructor over loading
    Copy constructor
    Destructor
    Dynamic constructor


    UNIT-2
    OPERATOR OVERLOADING
    Rule for operator overloading
    Defining operator overloading
    Overloading unary operator
    Overloading binary operator
    Overloading binary operator using friend
    Manipulation of string using operator
    Type conversion
    Basic type to class type
    Class type to basic type
    Inheritance
    1. Single inheritance
    2. Multiple inheritance
    3. Hierarchial inheritance
    4. Multi level inheritance
    5. Hybrid inheritance
    Virtual base class
    Constructor in derived class
    Rule for virtual function
    Pure virtual function
    Template
    Class template
    Function template


    UNIT-3
    EXCEPTION HANDLING
    Two types of error
    1. Syntax error
    2. Logical error
    Two exception
    1. Synchronous
    2. Asynchronous
    Exception handling
    Exception handling mechanism 
    Throw point
    Three type representing the throw
    1. Throw (exception);
    2. Throw exception;
    3. Throw;
    Throwing mechanism
    1. Try
    2. Throw
    3. Catch
    C++ streams
    Unformatted i\o operation
    Formatted console i\o operation
    Files
    Two methods for open file
    1. Constructor
    2. Member function
    Error handling during file operation
    Manipulating string
    Manipulating string objects

    UNIT-4
    DESIGN GOAL
    Simple
    Network 
    Robust
    Secure
    Architectural neutral
    Portable
    Interpreter
    High performance
    Multi threaded
    Java applet and internet
    Common misconception about JAVA
    Fundamental programming structure in JAVA
    Rules for JAVA
    Rules for class name in JAVA
    Data type
    Variables
    Constant
    Operator
    String
    Sub string
    Testing string for equality
    Reading application documents
    JAVA oops concept
    Characteristics of class
    Three types of field initialization
    1. Explicit
    2. Constructor
    3. Block method
    4. Two types of methods
    a. Mutator
    b. Accessor
    General form for object declaration
    Array
    Array copy
    Methods in array class
    Package
    Advantages
    Reasons for using package
    Importing class
    Abstract class
    Interface

    Arrow Attachment : Click Here
    New Share your Study Materials with us : Click Here