Skip to content

Object Oriented Programming syllabus

ENCT 1519 units · 99 topicsAcademic year 2083/84
Browse the units

1Introduction to Object Oriented Programming (3 Hrs)

  1. 1.1
    1.1 History of programming languages
  2. 1.2
    1.2 Need of object oriented programming(OOP)
  3. 1.3
    1.3 Object oriented programming versus procedure oriented programming
  4. 1.4
    1.4 Concepts of object oriented programming
  5. 1.5
    1.5 Popular object oriented languages
  6. 1.6
    1.6 Advantages of OOP
  7. 1.7
    1.7 Disadvantages of OOP

2Basics of C++ Programming (5 Hrs)

  1. 2.1
    2.1 C++ Program structure
  2. 2.2
    2.2 Character set and tokens
  3. 2.3
    2.3 Variable declaration and expression
  4. 2.4
    2.4 Data types
  5. 2.5
    2.5 Type conversion and casting
  6. 2.6
    2.6 User defined constant const
  7. 2.7
    2.7 Reference variables
  8. 2.8
    2.8 Conditions and looping
  9. 2.9
    2.9 Namespace scope
  10. 2.10
    2.10 Functions
    1. 2.10.1
      2.10.1 Function overloading
    2. 2.10.2
      2.10.2 Inline function
    3. 2.10.3
      2.10.3 Default arguments
    4. 2.10.4
      2.10.4 Pass by reference and return by reference
  11. 2.11
    2.11 Array, pointer and string
  12. 2.12
    2.12 Structure and unions
  13. 2.13
    2.13 Enumeration
  14. 2.14
    2.14 Dynamic memory allocation

3Objects and Classes (7 Hrs)

  1. 3.1
    3.1 C++ classes
  2. 3.2
    3.2 Objects and the member access
  3. 3.3
    3.3 Relation of object, class and memory
  4. 3.4
    3.4 Defining member function
  5. 3.5
    3.5 Defining outer function inline
  6. 3.6
    3.6 Objects as member
  7. 3.7
    3.7 Constructors and destructors
  8. 3.8
    3.8 Object as function arguments
  9. 3.9
    3.9 Returning objects from functions
  10. 3.10
    3.10 Array of objects
  11. 3.11
    3.11 Pointer to objects
  12. 3.12
    3.12 Dynamic memory allocation for objects
  13. 3.13
    3.13 Dynamic constructors
  14. 3.14
    3.14 Pointer
  15. 3.15
    3.15 Static data member and static member function
  16. 3.16
    3.16 Constant member functions and constant objects
  17. 3.17
    3.17 Friend functions and friend classes

4Operator Overloading (5 Hrs)

  1. 4.1
    4.1 Overloadable and non-overloadable operators
  2. 4.2
    4.2 Syntax of operator overloading
  3. 4.3
    4.3 Operator overloading using member operator functions
  4. 4.4
    4.4 Operator overloading using non member functions
  5. 4.5
    4.5 Unary operator overloading
  6. 4.6
    4.6 Binary operator overloading
  7. 4.7
    4.7 Type conversion between objects
  8. 4.8
    4.8 Explicit constructors

5Inheritance (5 Hrs)

  1. 5.1
    5.1 Base class and derived class
  2. 5.2
    5.2 protected access specifier
  3. 5.3
    5.3 Derived class declaration
  4. 5.4
    5.4 Is_a relation and Has_a relation
  5. 5.5
    5.5 Public, protected and private inheritance
  6. 5.6
    5.6 Member overriding
  7. 5.7
    5.7 Forms of inheritance
  8. 5.8
    5.8 Constructors in derived class
  9. 5.9
    5.9 Destructor in derived class
  10. 5.10
    5.10 Need of virtual base class

6Virtual Functions (4 Hrs)

  1. 6.1
    6.1 What is virtual function
  2. 6.2
    6.2 Need of virtual function
  3. 6.3
    6.3 Pointer to derived class
  4. 6.4
    6.4 Array of pointers to base class
  5. 6.5
    6.5 Pure virtual functions and abstract class
  6. 6.6
    6.6 Virtual destructors
  7. 6.7
    6.7 Reinterpret cast operator
  8. 6.8
    6.8 Run-time type information

7Stream Computation (6 Hrs)

  1. 7.1
    7.1 Input/output stream class hierarchy
  2. 7.2
    7.2 Testing stream errors
  3. 7.3
    7.3 Unformatted input/output and formatted input/output
  4. 7.4
    7.4 Stream operator overloading
  5. 7.5
    7.5 File input/output with streams
  6. 7.6
    7.6 File stream class hierarchy
  7. 7.7
    7.7 ASCII and binary files
  8. 7.8
    7.8 Read/Write from file
  9. 7.9
    7.9 Sequential access to file
  10. 7.10
    7.10 Random access to file
  11. 7.11
    7.11 File access pointers and their manipulators
  12. 7.12
    7.12 Testing errors during file operations
  13. 7.13
    7.13 File input/output with member functions

8Templates (6 Hrs)

  1. 8.1
    8.1 Function template
  2. 8.2
    8.2 Overloading function template
  3. 8.3
    8.3 Class template
  4. 8.4
    8.4 Derived class template
  5. 8.5
    8.5 Introduction to standard template library
    1. 8.5.1
      8.5.1 Components of STL
    2. 8.5.2
      8.5.2 Container
    3. 8.5.3
      8.5.3 Iterators
    4. 8.5.4
      8.5.4 Algorithms

9Exception Handling (4 Hrs)

  1. 9.1
    9.1 Basics of exception handling
  2. 9.2
    9.2 Advantage over conventional error handling
  3. 9.3
    9.3 Exception handling mechanism
  4. 9.4
    9.4 Multiple handlers
  5. 9.5
    9.5 Catching all exceptions
  6. 9.6
    9.6 Rethrowing exception
  7. 9.7
    9.7 Exception with arguments
  8. 9.8
    9.8 Exceptions specification for function
  9. 9.9
    9.9 Exceptions in constructors and destructors
  10. 9.10
    9.10 Handling uncaught exceptions
  11. 9.11
    9.11 Handling unexpected exception