Escolar Documentos
Profissional Documentos
Cultura Documentos
02
LESSON PLAN
Sub Code & Name : CS2203/OBJECT ORIENTED PROGRAMMING Unit: I Branch: IT Semester: III
Unit syllabus:
INTRODUCTION 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. Objective: This unit gives an introduction to Object oriented concepts such as objects, classes, messages, encapsulation, data abstraction, polymorphism. It gives detailed description about access specifiers, functions. Session No Topics to be covered Object oriented programming concepts Objects, Classes, Methods and Messages, Encapsulation and Data Abstraction, inheritance, polymorphism and abstract classes Intoduction to C++ - Identifiers, Constants, Keywords, Data types, Pointers, Reference Variables, Access Modifiers, Operators, Conditional and Looping Structures 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. Time Ref 1(p 4-15) 2( p 5,16-18) Teaching Method
1.
50m
BB
2.
50m
1(p 18-46) 3(p 75-129) 1(p -50,53-58) 2(p 142) 1(p 95-104) 2(p 68) 1(p 119-122) 3(p 443-474) 1(p 127-129,135-137) 2(p 217) 1p(66-77,137-139) 2(p 150) 1( p79-81,90-92)
BB
3. 4. 5. 6. 7.
8.
50m
BB
9.
50m
1(p 82-88)
BB
DOC/LP/01/28.02.02
LESSON PLAN
Sub Code & Name : CS2203/OBJECT ORIENTED PROGRAMMING Unit: II Branch: IT Semester: III
Unit syllabus:
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 Objective: This unit gives a detailed description about Constructors and operator overloading concepts and enables the students to implement the same in programming.
Session No
10 11 12 13 14 15 16 17 18
Topics to be covered
Constructors Default constructor Parameterized constructors Constructor with dynamic allocation Copy constructor Destructors Operator overloading Operator overloading through member functions. Operator overloading Unary operator overloading Binary operator overloading Overloading through friend functions Overloading the assignment operator Type conversion Explicit constructor
Time
50m 50m 50m 50m 50m 50m 50m 50m 50m
Ref
1(p170-178,183-184) 2(p 168-169) 1(p193-198) 1(p 199-226) 2(174,199) 1 (p 231-240) 1 (p 241-246) 2(p 221-223) 1(p 246-248) 1 (p 251-255) 2(p 225) 3(p 751-754) 1(p 269-279) 1(p 181-183)
Teaching Method
BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP
75m
DOC/LP/01/28.02.02
LESSON PLAN
Sub Code & Name : CS2203/OBJECT ORIENTED PROGRAMMING Unit: III Unit syllabus: FILE HANDLING Branch: IT Semester: III
LP- CS2203
LP Rev. No: 01 Date: 21-06-10
Page 03 of 06
Function and class templates - Exception handling try-catch-throw paradigm exception specification terminate and Unexpected functions Uncaught exception. Objective: This unit gives detailed description about functions, templates, Exception handling. Session No 19 20 21 22 23 24 Teaching Method BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP
Topics to be covered Function Templates - Function Templates with single arguments Function Templates with multiple arguments, Function Templates with 2 generic arguments, non generic parameters Template function specialization, Explicitly specializing a template function, default arguments to function templates Class template - Defining functions of a class template outside the Class, Instantiation and Specialization Classes with multiple generic data types Friends of class templates. Exception handling try-catch-throw paradigm
Ref 1(p 285-295) 2(p 280-282) 1(p 296 302) 1(p 303-314) 1(p 315-327) 2(p 283-284) 1(p 328-334) 1(p 343-347,353-358) 2(p 368) 4(p 355-364) 1(p 358-365) 4(p 375-380) 1(p 369-373) 1(p 373-376) 4(p 380-381)
BB/OHP BB/OHP
25
50m
26
50m
BB/OHP
27
Uncaught exception.
50m
BB/OHP
DOC/LP/01/28.02.02
LESSON PLAN
Sub Code & Name : CS2203/OBJECT ORIENTED PROGRAMMING Unit: IV Branch: IT Semester: III
Unit syllabus: 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 . Objective: This unit gives a detailed explanation about inheritance, virtual base class, virtual functions, Runtime polymorphism, RTTI and enables the students to implement the same in programming. Session No 28 29 30 31 32 33 34 35 36 Topics to be covered Inheritance public, private, and protected derivations Multiple inheritance Virtual base class, abstract base class Composite objects Runtime polymorphism virtual functions, pure virtual functions RTTI - typeid Dynamic casting RTTI and templates Cross casting, down casting Continuous Assessment Test II Time 50m 50m 50m 50m 50m 50m 50m 50m 50m 75m Ref 1(p 383-393) 1(p 400-405) 2(p 342-344) 4(p 390-393) 1(p 407-411) 4(p 396-399) 1(p 415- 422) 1(p 428,436-442, 450-455) 2(p 330-333) 1(p 459- 471) 4(p 407) 1(p 472-481) 1(p 484- 490) 1(p 490- 492) Teaching Method BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB/OHP BB BB
DOC/LP/01/28.02.02
LESSON PLAN
Sub Code & Name : CS2203/OBJECT ORIENTED PROGRAMMING Unit: V Unit syllabus: Branch: IT Semester: III
LP- CS2203
LP Rev. No: 01 Date: 21-06-10
Page 05 of 06
Streams and formatted I/O I/O manipulators - file handling random access object serialization namespaces - std namespace ANSI String Objects standard template library. Objective: This unit provides in-depth knowledge about streams and file operations. It covers I/O operations, file and error handling mechanisms. Session No 37 38 39 40 41 42 43 44 45 Topics to be covered Streams, formatted I/O I/O manipulators File handling - opening & closing files, Text files Binary files, End of file Random access Object serialization, Namespaces, std namespace ANSI String Objects Standard template library - Introduction, principles Working of STL, Function and predicate objects, Allocators Continuous Assessment Test III Time 50m 50m 50m 50m 50m 50m 50m 50m 50m 75m Ref 1(p 496,500- 504) 2(p 489-492) 1(p 515- 520) 1(p 530- 538) 2(p 496-499) 1(p 539- 543) 1(p 544- 550) 1(p 551,557-565, 572) 1(p 577- 586) 1(p 588-- 591) 2(p 507-513) 1(p 592-- 631) 2(p 509) Teaching Method BB BB BB BB BB BB BB BB BB
DOC/LP/01/28.02.02
LESSON PLAN
Sub Code & Name : CS2203/OBJECT ORIENTED PROGRAMMING Branch: IT Semester: III Course Delivery Plan: Week 1 I II Units 2 I II 1 3 I II 4 I II 2 5 I II 6 I II 3 7 I II 8 I II 4 9 I II 10 I II 5 11 I II
LP- CS2203
LP Rev. No: 01 Date: 21-06-10
Page 06 of 06
12 I II
Books Referred: TEXT BOOKS 1. B. Trivedi, Programming with ANSI C++, Oxford University Press, 2007. REFERENCES: 2. Ira Pohl, Object Oriented Programming using C++, Pearson Education, Second Edition Reprint 2004.. 3. S. B. Lippman, Josee Lajoie, Barbara E. Moo, C++ Primer, Fourth Edition, Pearson Education, 2005. 4. B. Stroustrup, The C++ Programming language, Third edition, Pearson Education, 2004. Prepared by Signature Name Date Ms.A.Kala/Lecturer Ms.P.Rajalakshmi/ Lecturer 21-06-10 Dr G.Sumathi HOD-IT 21-06-10 Approved by