We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
LECTURE PLAN
(MCA – 17 – 108 OBJECT ORIENTED PROGRAMMING USING C++)
Unit No. Topic To Be Covered Lect. Reqd. 1. Introduction; Characters used in C++; Basic data types, Data type modifiers; 2 C++ Tokens –identifiers, keywords, constants, variables; Input – Output statements, structure of a C++ program; Escape Sequence (Backslash Character Constants); Operators and Expressions –arithmetic, relational, logical, and conditional operator; special operators – sizeof(), comma, assignment operators; Flow of control – compound statement, the if and if-else, and switch 2 statements, the while, do-while, and for loops, break and continue statements, exit() function; Arrays – one dimensional and multidimensional arrays, array initialization; Structures – referencing structure elements, arrays of structures, initializing 2 structures, assigning structures, nested structures; Functions – prototypes, calling a function, parameter passing , call by value, call by reference, array parameters, returning values from functions. 2 Introduction to pointer , dangling pointer, array of pointers , dynamic 3 allocation, introduction to linked structures and list etc. 3 Introduction to programming paradigms – unstructured 2 programming, structured , procedural, and modular programming; drawbacks of structured programming; Object Oriented programming. 4. Introduction to objects; classes – declaration in C++, abstraction and 2 encapsulation, creating objects; array of objects; objects as function arguments, scope resolution operator, static data 2 members; properties of classes and objects. 5 Polymorphism, Function overloading; inline functions; 1 friend functions- Member functions of a class as friends of another 2 class, Friend Function as a bridge between two classes; friend classes; Recursion, types of recursion: linear, binary, tail recursion 2 6 Constructors –rules for constructor definition and usage; destructors - 1 rules for destructor definition and usage. types of constructors: default, user defined, parameterized, copy 3 constructors, and constructors with default arguments; 7 Introduction to code reuse; containership-aggregation; types of 3 inheritance: multilevel, multiple inheritance; inheritance – visibility modes, ‘Open Close Principle’(OCP function overriding – virtual functions, 2 ‘Liskov’s Substitution Principle’ (LSP), pure virtual functions; roles of constructors and destructors in inheritance; virtual base class 1 – graph inheritance. 8 Introduction to code sharing; templates; generic classes; templates 2 with more than one generic parameter;. 9 Introduction to operator overloading, overloading of binary operators, 4 arithmetic assignment operators; overloading of unary operators; overloading of input-output operators; rules of operator overloading. 10 File concepts; files and streams; opening and closing of files – 2 functions get(), getline(), put() etc opening files using function open(); reading and writing blocks and 1 objects into the files; detecting ‘end of file’ (eof) 11 Introduction – traditional error handling; exception handling in C++ - 1 ‘try, throw, and catch blocks’ multiple throw and multiple catch blocks, throwing objects; situations 2 of usage of exception handling. TOTAL LECTURES 42
Text/ Reference Books:
(1) Object Oriented Programming in Turbo C++ by Robert Lafore ,1994, The WAITE Group Press. (2) The Complete Reference C++ by Herbert Schildt The McGraw-Hill (3) C++ How to Program by H M Deitel and P J Deitel, 1998, Prentice Hall