Professional Documents
Culture Documents
ODD SEMESTER 2011 2011 LESSON PLAN Faculty Name Subject Name Degree & Branch Year : : : : V.Gowri Object Oriented Programming B.Tech (IT) II Subject Code : Semester : CS2203 III
Aim: To understand the concepts of object-oriented programming and master OOP using C++. Objectives: Text book(s): 1. Reference Book(s): 1. 2. B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007. Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004.. S. B. Lippman, Josee Lajoie, Barbara E. Moo, C++ Primer, Fourth Edition, Pearson Education, 2005. Justify the philosophy of object-oriented design and the concepts of encapsulation, abstraction, inheritance, and polymorphism. Design, implement, test, and debug simple programs in an object-oriented programming language. Describe how the class mechanism supports encapsulation and information hiding. Design, implement, and test the implementation of is-a relationships among objects using a class hierarchy and inheritance. Compare and contrast the notions of overloading and overriding methods in an object- oriented language. Explain the relationship between the static structure of the class and the dynamic structure of the instances of the class;. To enable the student to learn the programs more intuitive to design ,faster to develop,more amenable to modifications & easy to understand.
3.
Signature of Faculty
Signature of HOD
CS2203
LTPC 3003
AIM: To understand the concepts of object-oriented programming and master OOP using C++. UNIT I 9 Object oriented programming concepts objects classes methods and messages abstraction and encapsulation inheritance abstract classes polymorphism. Introduction to C++ classes access specifiers function and data members default arguments function overloading friend functions const and volatile functions - static members Objects pointers and objects constant objects nested classes local classes UNIT II 9 Constructors default constructor Parameterized constructors Constructor with dynamic allocation copy constructor destructors operator overloading overloading through friend functions overloading the assignment operator type conversion explicit constructor UNIT III 9 Function and class templates - Exception handling try-catch-throw paradigm exception specification terminate and Unexpected functions Uncaught exception. UNIT IV 9 Inheritance public, private, and protected derivations multiple inheritance - virtual
base class abstract class composite objects Runtime polymorphism virtual functions pure virtual functions RTTI typeid dynamic casting RTTI and templates cross casting down casting . UNIT V 9 Streams and formatted I/O I/O manipulators - file handling random access object serialization namespaces - std namespace ANSI String Objects standard template library. TOTAL: 45 PERIODS TEXT BOOK: 1. B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007. REFERENCES: 1. Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004.. 2. S. B. Lippman, Josee Lajoie, Barbara E. Moo, C++ Primer, Fourth Edition, Pearson Education, 2005. 3. B. Stroustrup, The C++ Programming language, Third edition, Pearson Education, 2004.
LECTURE SCHEDULE BRANCH : IT SUB.NAME : OBJECT-ORIENTED PROGRAMMING STAFF NAME : V.GOWRI UNIT - I Total Hours
TEXT / REFERENCE
T T T T T T T T T T T
: :
III CS2203
12
REMARKS
PAGE NO FRO M
2 4 48,51 64 101 118 127 135 137 48,79 90 82
S.NO
1 2 3 4 5 6 7 8 9 10 11 12
DATE
13.07.11 14.07.11 15.07.11 16.07.11 18.07.11 19.07.11 20.07.11 21.07.11 22.07.11 22.07.11 24.07.11 25.07.11
TOPICS
Object oriented programming concepts Introduction to C++ ,classes, access specifies , function and data members Classes & Access specifies Function and data members Default arguments Function overloading friend functions Const and volatile functions Static members Objects ,pointers and objects Constant objects Nested classes , local classes
NO OF HOURS
1 1 1 1 1 1 1 1 1 1 1 1
CUM HOURS
1 2 3 4 5 6 7 8 9 10 11 12
TO
13 6 54 67 102 121 130 136 39 81 91 88
T - OBJECT-ORIENTED PROGRAMMING B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007 R - OBJECT-ORIENTED PROGRAMMING - Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004
DATE
26.07.11 27.07.11 28.07.11 29.08.11 4.08.11 5.08.11 6.08.11 10.08.11 11.08.11 12.08.11 17.08.11
TOPICS
Constructors Default constructor Parameterized constructors Constructor with dynamic allocation Copy constructor Destructors Operator overloading Overloading through friend functions Overloading the assignment operator Type conversion Explicit constructor
TEXT / REFERENCE
T T T T T T T T T T T
PAGE NO FROM
169 173 183 193 203 217 231 246 251 269 181
NO OF HOURS
1 1 1 1 1 1 1 1 1 1 1
CUM HOURS
1 2 3 4 5 6 7 8 9 10 11
REMARKS
TO
172 179 185 197 206 218 234 248 254 279 183
T - OBJECT-ORIENTED PROGRAMMING B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007 R - OBJECT-ORIENTED PROGRAMMING - Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004
S.NO 1 2 3 4 5 6 7
DATE
22.08.11
TOPICS Templates Function class templates Exception handling(try-catch-throw paradigm) exception specification terminate and Unexpected functions Uncaught exception.
TEXT / REFERENCE T T T T T T T
PAGE NO FROM 284 285 315 343 358 369 373 TO 285 297 317 358 358 373 376
REMARKS
T - OBJECT-ORIENTED PROGRAMMING B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007 R - OBJECT-ORIENTED PROGRAMMING - Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004
DATE
8.09.11 9.09.11 12.09.11 13.09.11 15.09.11 16.09.11 17.09.11 19.09.11 20.09.11 21.09.11 22.09.11 26.09.11
TOPICS
Inheritance Public, private, and protected derivations Multiple inheritance Virtual base class Abstract class Composite objects Runtime polymorphism Virtual functions Pure virtual functions RTTI & Type id dynamic casting & Cross casting down casting.
TEXT / REFERENCE
T T T T T T T T T T T T
PAGE NO FROM
381 392 400 407 411 415 427 436 450 459 472, 484 490
NO OF HOURS
1 1 1 1 1 1 1 1 1 1 1 1
CUM HOURS
1 2 3 4 5 6 7 8 9 10 11 12
REMARKS
TO
390 395 403 411 412 415 431 443 451 463 487 492
T - OBJECT-ORIENTED PROGRAMMING B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007 R - OBJECT-ORIENTED PROGRAMMING - Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004
UNIT V:
Total Hours : 09
S.NO
1 2 3 4 5 6 7 8
DATE
30.09.11 1.10.11 7.10.11 8.10.11 13.10.11 14.10.11 15.10.11 15.10.11
TOPICS
Streams and formatted I/O I/O manipulators File handling Random access Object serialization Namespaces - std namespace ANSI String Objects Standard template Library.
TEXT / REFERENCE
T T T T T T T T
PAGE NO FROM
496 515 528 544 551 557 577 588
NO OF HOURS TO
505 517 547 544 551 558 578 620 1 1 2 1 1 1 1 1
CUM HOURS
1 2 4 5 6 7 8 9
REMARKS