BCA Syllabus Topics

SEMESTER-2 Course: BCA

SUBJECT: OBJECT ORIENTED PROGRAMMING WITH C++

 Syllabus:

Unit-1 Overview of C++ : Overview of C++, Software crisis, Object oriented concepts of OOP. Advantages Benefits of OOP. C++ Environment, Program development environment, The language and the programming paradigm, Basic Usage/applications of OOP C++ language standards, Introduction to various C++ compilers, The C++ standard library, Prototype of main() function, io operator, manipulator comments, data type Creating and Compiling C++ Programs TURBO C++ IDE, Creating. compiling and running a C++ program using idea and through command line, Elements of C++ Language, Structure of a C++ program, C++ tokens, Type conversion in expressions. Decision Making and Branching Introduction. Sequential statements, Mathematical Functions, Branching statements, looping Statements, Nested loops, Programming examples 

Unit-II: Arrays and Functions- Arrays, The meaning of an array, Single-dimensional arrays, Two-dimensional arrays (Multi-dimensional arrays), User Defined Functions, Elements of user-defined functions, Return values and their types, Function calls, Categories of functions, Passing parameters to functions, Recursion, Command Line Arguments, Storage Class Specifiers. Classes and Objects Classes, Structures and classes, Unions and classes, Friend function, Friend classes, Inline function. Scope resolution operator, Static class members, Static data members, Static member functions, Passing object to functions, Returning objects, Object assignment Array, Pointers, References and the Dynamic Allocation Operators Array of objects, Pointer to object, Type checking in C++, The this pointer, Pointer to Derived Types, Pointer to class members, References, C++'s Dynamic Allocation Operators. Constructors and Destructors Introduction, Constructors. Defiulf Constructor. Parameterized constructors, Copy Constructors. Multiple Constructors in a class, Constructors with default arguments. Default Arguments, Special Characteristics of Constructor functions, Destructors

Unit-III: Function overloading, Overloading Constructor of an overloaded function, Operator (Overloading Unary Operator), Overloading the Shorthand Operators (i.c. + -etc), Operator Overloading Restriction (Rules), Operator Overloading using friend function, Overloading new and delete operator, Overloading some special operators, Overloading [] Polymorphism Introduction to polymorphism, Types of polymorphism, Function, Finding the address Creating a Member Operator Function, Creating Prefix and Postfix forms of the increment (++) and decrement (-) operators overloading (Subscripting) operator, Overloading() (Function Call) operator, Overloading Binary Arithmetic operators, Concatenating String. Overloading Comma (.) operator, Overloading the I/O operators.

Unit-IV: Base class Access control, Inheritance & protected members, Protected base class inheritance, Inheriting multiple base classes, Constructors, destructors & Inheritance, When constructor & destructor function are executed, Passing parameters to base class constructors, Granting access, Virtual base classes. Virtual function, Pure Virtual functions, early Vs. late binding.

Unit – V: The C++ V/O System Basics - The C++ I/O System basics, C++ predefined streams. Formatting using the ios members, Clearing Format Flags, An Overloaded form of setf(), Examining the Formatted Flags, Using width(), Using precision(). Using fill(). Using Manipulators to format I/O, Creating your own Manipulators

Practical:

  1. WAP to add, subtract, multiply and divide two numbers using concepts of C++.
  2. WAP to show swapping of two numbers using C++.
  3. WAP to calculate volume of cube, cylinder, rectangular box using three times function overloading in C++.
  4. WAP using virtual function.
  5. WAP using copy constructor,
  6. WAP to show multiple inheritances.
  7. WAP to find mean value of two numbers using friend function.
  8. WAP using inline function.
  9. WAP to demonstrate the use of Local Object, Static Object & Global Object using C++,
  10. WAP in C++ to demonstrate the creation and the use of dynamic object.
  11. Derive the two classes son and daughter and, demonstrate polymorphism in action.

Text Books:

  • Object Oriented Programming With C++ R. Subburaj (Vikas Publishing House)
  • Programming In C++ M Kumar (TMH Publications)

Reference Books:

  • C++ E. Balguruswamy (TMH Publication)
  • Object Oriented Programming C++ R. Lafore (Galgotia Publishing)
  • C++ The Complete Reference Herbert Schildt (TMI Publication)

Comments

Popular posts from this blog

Learning C++ Part 2 Example