Sie sind auf Seite 1von 13

Lovely Professional University INSTRUCTIONAL PLAN (for Lectures) Course CSE251 Code: L T Course Title: P Computing II (Ver 1.

1, dated 25th Sep, 2008)

Cr. (or Max.Marks) 5

CA 50 or

Weightages MTE ETE 15 NIL 25 10

Pre-requites: CSE100 Basic Programming Skills CSE 101 Foundation of Computing Textbook: References:

1. E. Balagurusamy, Object Oriented Programming with C++ , Prentice Hall

2. Complete Reference in C++ by Herbert Schildt. Publishers: Tata Mc Graw Hill 3. Teach Yourself C++,by Herbert Schildt. Publishers: Tata Mc Graw Hill,Year of Publication: 2005 4. Waite Group Lafore R.Object oriented programming in C++, Waite Group Lafore R. 5. Object Oriented Programming using C++, R. S. Salaria Other readings: S.No. Journal articles as compulsory readings (Complete reference) 5. Dr. Dobb's Journal. 6. www.artima.com (Online C++ Journals) Relevant websites: S.No. Web address 7. www.acm.org

8.

http://cplus.about.com

9.

http://www.icce.rug.nl/documents/cplusplus

10.

http://www.research.att.com/~bs/bs_faq.html

Salient Features ACM, the worlds largest educational and scientific computing society, delivers resources that advance computing as a science and a profession. ACM provides the computing field's premier Digital Library and serves its members and the computing profession with leading-edge publications, conferences, and career resources. About C, C++ and C# brings the latest programming tutorials, programming challenges,C++ for beginners This document is intended for knowledgeable users of C (or any other language using a C-like grammar, like Perl or Java) who would like to know more about, or make the transition to, C++. Frequently asked questions in C++

Lecture Plans Plan for 12L lectures: 6L for before the MTE, 6L for after the MTE Lecture No. Chapters/ Sections of Textbook/ other reference1 1:Chap 1(Pg.4-7), 2(Pg.19) Assignment/ Task to be assigned to students DoS3 1 Tutorial http://www.aonaware .com/OOP1.htm Demonstra-tion/ Date case studies/ teaching Deliv aids required ered2

Topic

1.

Review of basic concepts of objectoriented programming, Introduction to OOPs.

2:Chap11( Pg.257) 3:Chap1(Pg.3 -7) a)http://gd.tu wien.ac.at/lan guages/c/c++ ooppmueller/nod e5.html#SEC TION005000 00000000000 000 b)http://www .cis.upenn.ed u/~matuszek/ cit5912002/Lecture s/objectconcepts.ppt# 3 3:Chap 1 (Pg28) Used study material from the underwritten link. http://www.a onaware.com /OOP1.htm

Introduction of the basic concepts of the OOP

2.

Comparison between procedural programming paradigm and objectoriented proramming paradigm

Tutorial http://www.aonaware .com/OOP1.htm Introduction of the basic concepts of the OOP

Beginning with OOP Language: Review of tokens,expressions,operators & control structures.Scope resolution operator,Member operator, reference variables

1:Chap3(Pg. 35 Pg. 36, Pg.49,Pg50,P g.52Pg.47)

Tutorial http://www.iutorsay.fr/~fournier/Co rk/OOP.pdf Basic of the OOP would be shown to the students. Notes http://www.aonaware .com/OOP1.htm Introduction of the basic concepts of the OOP Notes http://www.aonaware .com/OOP1.htm Introduction of the basic concepts of the OOP Tutorial http://www.aonaware .com/OOP1.htm Introduction of the basic concepts of the OOP

Review of Functions,Function overloading

1:Chap4(Pg.7 7-82,87) 3:Chap1(Pg.3 3)

Inline Functions,Default arguments.

1:Chap4(Pg.8 2-84) 3:Chap2(Pg.7 5)

1:Chap 5 (Pg.99-108, 114,119) 2:Chap 12 (Pg.302) Classes & Objects: Specifying a class, Defining member functions,creating class objects, accessing class members. a)http://www .cplusplus.co m/doc/tutoria l/classes. html b)http://www .acm.org/cros sroads/xrds14/ovp.html 1:Chap 5 (Pg.99-108, 114, 119) 2:Chap 12(Pg.302) http://www.p arashift.com/ c++-faqlite/classesandobjects.html 1:Chap5 (108) 2:Chap12( Pg 310) 3:Chap7(Pg 240) http://msdn. microsoft.co m/enus/library/h0 5xxt5d(VS.8 0).aspx http://msdn. microsoft.co m/enus/library/h0 5xxt5d(VS.8 0).aspx 3:Chap 2 1:Chap5(Pg.1 07-114) 2:Chap12(Pg 320) 3:Chap 4 (Pg.130-134) 1:Chap 5(Pg.115117,132) 2:Chap 11,12

http://www.cs.virgini a.edu/cs150/classes/ Demonstrate the concepts of classes 1 Notes http://www.aonaware .com/OOP4.htm Specification of classes

Classes & Objects: Specifying a class, Defining member functions,creating class objects, accessing class members.

Images http://www.adobe.co m/devnet/director/art icles/oop_dir_flash/0 2fig01.gif Articles of the objects, functions and class members

Access specifiers public, private, and protected

Tutorial http://citeseer.ist.psu. edu/old/paulus96obje ctoriented.html Specification of OOP

Access specifiers public, private, and protected

Images with ppt http://www.iutorsay.fr/~fournier/Co rk/OOP.pdf Examples of the OOP Images http://www.adobe.co m/devnet/director/art icles/oop_dir_flash/0 2fig01.gif To show how to allocate memory Tutorial http://www.iutorsay.fr/~fournier/Co rk/OOP.pdf

10

Classes,its members, Objects and Memory allocation

11

Static members, the const keyword and classes, the static objects

12

Friends of a class,Friend Function

13

Nested classes, local classes, abstract classes,empty classes

( Pg 310) 3:Chap 13 (Pg 449- 455) 2:Chap12 (297) 3:Chap 3(Pg.107) www.codeso urce.net/cpptutorialfriend.html Slide show was shown http://www.i utorsay.fr/~four nier/Cork/OO P.pdf Abstract classes and empty classes

Static object detailing

Ppt with tutorial http://www.iutorsay.fr/~fournier/Co rk/OOP.pdf Friend function and friend classes

Slide show http://www.iutorsay.fr/~fournier/Co rk/OOP.pdf Abstract classes and empty classes

14

Constructors & Destructors: Need for constructors and destructors

1:Chap6(Pg.1 44-145, 162) 2:Chap12(Pg 309) ,14

15

Constructors & Destructors: Copy constructor, dynamic constructors

1:Chap6( Pg.156,158) 3:Chap5(Pg 167) http://www.d avereed.com/csc 533.S07/Lect ures/OOP.pdf Shown with the help of this slide show. 2:Chap12( Pg.309), 15(Pg 315) 3:Chap 7 1:Chap7(Pg. 171-172,186) 2:Chap 15(Pg.390) 3:Chap6(Pg.1 97) a)http://msdn .microsoft.co m/enus/library/4x 88tzx0(VS.8

Tutorial and slide show http://www.davereed.com/csc533.S07 /Lectures/OOP.pdf Organization of programming languages Tutorial http://www.davereed.com/csc533.S07 /Lectures/OOP.pdf Destructor detailing

16

Destructors, constructors and destructors with static members, initializer lists

Images and slide show http://www.davereed.com/csc533.S07 /Lectures/OOP.pdf Initialize lists of OOP

17

Operator Overloading & Type Conversion: Defining operator overloading, rules for overloading operators

Ppt and tutorial http://education.cdac mumbai.in/education /fpgdst/pccpfac/slide s/09-Overloading.pdf Operator overloading to be shown through definition

18

Overloading of unary operators and various binary operators with friend functions and member functions.

0).aspx b)http://www .parashift.co m/c++-faqlite/operatoroverloading.h tml c)www.csd.u wo.ca/course s/CS1037a/n otes/old_note s/topic11_Op eratorOverloa ding.ppt 1:Chap7(Pg.1 73-179) 2:Chap 15 (Pg. 393) http://www.n extdawn.nl/s ub/cplusplus_ language/cpl usplus_operat or_overloadi ng2.php 1:Chap7(Pg.1 73-179) 2:Chap15 (Pg.393) 3:Chap 6(Pg 209-213)

NA

19

Overloading of unary operators and various binary operators with friend functions and member functions.

Images http://education.cdac mumbai.in/education /fpgdst/pccpfac/slide s/09-Overloading.pdf Operator overloading to be shown through definition

Before MTE 60% syllabus to be covered 1:Chap7(Pg. 187) 3:Chap 5 a)http://www .doc.ic.ac.uk/ lab/cplus/c++ .rules/chap13 .html b)http://www .cplusplus.co m/doc/tutoria l/typecasting. html 1:Chap 8(Pg.201225) 3:Chap 7 a)http://www .cplusplus.co m/doc/tutoria l/inheritance. html b)http://www

20

Type conversion - basic type to class type, class type to basic type, class type to another class type.

Tutorial http://wwwcse.ucsd.edu/users/w gg/CSE131B/Lecture s/Slides/coercionand-overloading.pdf Type conversion and basic class types

21

Inheritance: Introduction, defining derived classes, forms of inheritance

Ppt with images http://www.buet.ac.b d/iict/iictcourses/ict6 001/Inheritance.pdf To show how to inherit one class from another class

22

Ambiguity in multiple and multipath inheritance, virtual base class

23

Overriding member functions, order of execution of constructors and destructors

24

Overriding member functions, order of execution of constructors and destructors

.cs.bu.edu/tea ching/cpp/inh eritance/intro / 1:Chap 8 (Pg.228) 2:Chap 16(Pg.420) 3:Chap 7 http://en.allex perts.com/q/ C1040/Functio n-overriding1.htm http://en.allex perts.com/q/ C1040/Functio n-overriding1.htm 1:Chap9(Pg.2 75-281) Chap8(Pg 232) 3:Chap 10 (Pg.347-357) 1:Chap9(Pg.2 75-281) Chap8(Pg 232) 3:Chap 10 (Pg.347-357)

NA

6,5

NA

6,5

NA

25

Virtual functions & Polymorphism: virtual functions, pure virtual functions, abstract clasess, introduction to polymorphsim

26

Virtual functions & Polymorphism: virtual functions, pure virtual functions, abstract clasess, introduction to polymorphsim

27

Pointers & Dynamic Memory Management: understanding pointers, accessing address of a variable, declaring & initializing pointers

1;Chap9(Pg.2 51-273) 3:Chap 10(Pg 347)

28

Pointers & Dynamic Memory Management:dynamic memory management - new and delete operators, this pointer

3:Chap 4 (Pg130-134) 3:Chap(Pg12 6) 1:Chap 10(Pg.290312) 3:Chap9(Pg3 09-327) a)www.cplus plus.com/refe rence/iostrea

Tutorial http://thermo.p.lodz. pl/pliki/wyklady_OO P/OOP%2009%20%20Virtual%20funct ions_1.pdf Polymorphism and virtual functions Notes and questions http://thermo.p.lodz. pl/pliki/wyklady_OO P/OOP%2009%20%20Virtual%20funct ions_1.pdf Detailing virtual functions Notes http://www.eecs.berk eley.edu/~necula/aut ded/lecture16pointers.pdf Pointer based data structure Tutorial http://www.rosehulman.edu/class/css e/csse120/200820/Sli des/Pointers.pdf Passing pointer to function Notes and images http://class.ece.iastat e.edu/cpre185/lecture s/lecture18.pdf Typecasting pointers

29

Console I/O: Concept of streams, hierarchy of console stream classes,Unformatted I/O operations,managing output with manipulators.

m/ios b)www.fredo saurus.com/n otescpp/io/manip ulators.html Tutorial http://www.sts.tuharburg.de/teaching/ ws04.05/jpf/slides/06% 20%20Exception%20H andling.pdf File handling in OOP NA

30

Working With Files: Opening,Reading,Writing,Appending,Pr ocessing & Closing different types of files.

1:Chap11 (Pg.323-334 )

31

32

Working With Files: Opening,Reading,Writing,Appending,Pr ocessing & Closing different types of files. Working With Files: Opening,Reading,Writing,Appending,Pr ocessing & Closing different types of files.

1:Chap11 (Pg.323-334 )

1:Chap11 (Pg.323-334)

NA Tutorial with images http://www.sts.tuharburg.de/teaching/ ws04.05/jpf/slides/06% 20%20Exception%20H andling.pdf How to handle exceptions

33

Exception handling: Review of traditional error handling, basics of exception handling, Exception handling mechanism.

1:Chap13(Pg. 380-381) 2:Chap 19 (Pg.488) 3:Chap 11(Pg.386394) 1:Chap13(Pg 386-392) 2:Chap 19 (Pg. 498) 3:Chap 11(Pg 401) 1:Chap13(Pg 386-392) 2:Chap 19 (Pg. 498) 3:Chap 11(Pg.401) 1:CHAP12(3 59-374) 1:CHAP12(3 59-374)

34

Throwing mechanism, catching mechanism, rethrowing an exception, specifying exceptions

NA

35

Throwing mechanism, catching mechanism, rethrowing an exception, specifying exceptions Advanced Features: Class & Function templates, , new datatypes, new operators etc. Advanced Features Introduction to STL, New Features of C++ like namespaces Advanced Features new datatypes, new operators etc. Additional Working with Files

NA

36

NA

37 38

1:CHAP12(3 59-374) material for spill over by Herbert Complete Schildt. reference in Publishers: C++ Tata Mc

Graw Hill by Herbert Schildt. Publishers: Tata Mc Graw Hill

Wrapper Classes

Complete reference in C++

1 2 3

Use S. No. Of the readings above` To be filled in on the date of delivery of lecture To be filled in on the date of assignment

Details of Assignments Planned: Assignment Details No.

Nature Of Assignment (Group Assignment)

Purpose Of Assignment/Expe cted Outcome

Tentativ e DOA

DOS

1.

Based on classes and objects

Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical Theoratical+ Analytical

2. 3. 4. 5. 6. 7.

Static members,static functions related Based on Friend function,Friend classes Constructor/Destructor Based Overloading and Overriding Inheritence Virtual function,Pure Virtual functions and Polymorphism,declaring and initializing pointers. Pointers and Dynamic memory management contd.,Exception handling Based on files

Built basic understanding of the concept. Developing reasoning ability Developing logic Developing logic Developing logic Developing logic Developing logic

8. 9.

Developing logic Developing logic

Component of Continuous Assessment : (To be reported out of 100) Sr. No Component Frequency in term 1 2 3 4 Attendance

Marks

Calculated at the end 10 of the term Assignment Based Tests 8 in No. 48 Minor Project (Practical) Once in a Term 12 Lab assessments Once in a Week 30 For Lab Assessment, Student will be evaluated every week & marks will be allocated as per the following proportion: 1) Execution / Job Work ---- 50% 2) Written Work ---- 20% 3) Viva Voce ---- 30% Evaluations done every week will be combined to get the total lab assessment.

Mention all the components as decide by the Department. Do mention the practical components

also wherever required Total

100

Additional Passing Requirements:

Salient Pedagogical Strategies

1) Sr. No. 3 of the Syllabus shall be more of a revision of basic structure as student has studied all these contents in CSE 101 or CSE 100. Tools to be bundled with Visual Programming Tool 2.0.1 (Windows) / VC++ 5.0 Learning addition
/ MSDN for MFC.

_____________________ Prepared by (Course Coordinator)

Comments of HoD Introduction of Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC in paradigm of

Computing II will help develop prototype based analytical programming techniques for Enterprise Software Development Signature & Date
Comments of HoS

Lovely Professional University


Signature & Date

INSTRUCTIONAL PLAN FOR LABS/WORKSHOPs/CLINICS etc.

Lovely Professional University INSTRUCTIONAL PLAN (for Practicals ) Course CSE251 Code: L T Course Title: P Computing II (Ver 1.1, dated 25th Sep, 2008) Weightages MTE ETE 15 NIL 25 10

Cr. (or Max.Marks) 5 CA 50 or

3 0 3 Pre-requites: CSE100 Basic Programming Skills CSE 101 Foundation of Computing

Textbook: 1. Teach Yourself C++,by Herbert Schildt. Publishers: Tata Mc Graw Hill,Year of Publication: 2005 References: 2. E. Balagurusamy ,Object Oriented Programming with C++ , Prentice Hall 3. Waite Group Lafore R.Object oriented programming in C++, Waite Group Lafore R. 4. Object Oriented Programming using C++, R. S. Salaria Other readings: S.No. Journal articles as compulsory readings (Complete reference) 5. Dr. Dobb's Journal. 6. www.artima.com/cppsource (Online journal for C++) Relevant websites: S.No. Web address 7 http://www.cpp4u.com 8 9

10

Salient Features Collection of links to best C++ tutorial, lecture notes, presentation, source codes. http://www.cs.virginia.edu/ Laboratory materials,solution manuals,lecture c++programdesign materials,FAQ http://www.icce.rug.nl/documents/cplusplus This document is intended for knowledgeable users of C (or any other language using a C-like grammar, like Perl or Java) who would like to know more about, or make the transition to, C++. www.cplusplus.com/doc/tutorial/progrm_structure.html Best way to start learning a programming.

List of experiments (Should plan for 12 weeks of teaching: 6 before MTE and 6 after MTE) Expt No. 1 Title Implementation of classes,Usage of object Equipment used PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC 2 Implementation of public, private, and protected classes, objects and memory PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler,

Implementation of Static members,Static objects.Programs based on usage of Const keyword Implementation of overloaded operators >> and

<< and memberv functions of i/o stream classes

Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC

Implementation of constructors and destructors, copy constructor, dynamic constructors

Overloading of unary operators and various binary operators Defining derived classes, forms of inheritance,

Ambiguity in multiple and multipath inheritance, virtual base class.

PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC

Virtual functions, pure virtual functions

10

Initializing pointers, declaration and their implementation.

PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs,LCD Projectors, Turbo C++ Compiler, Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC PCs, LCD Projectors, Turbo C++ Compiler

11

Accessing a variable through its pointer, pointer arithmetic

12

Exception handling mechanism

Plan of experiments : Lab turn, Expt no. And Student Groups Lab. Turn Date Group 1 Group 2 Group 3 Group 4 Group 5 Group 6

N.A

N.A

Proposed Changes from the standard pedagogy for the course:

Introduction of Visual Programming Tool 2.0.1, VC++ 5.0 Learning addition & MSDN for MFC for in-depth interface with Microsoft Foundation Classes.

_______________________ Prepared by (Course Coordinator)


Comments of HoD Lab Tasks has been specifically envisaged with a strategy towards developing skill set for Enterprise Level Software Development. Signature & Date Comments of HoS

Lovely Professional University


Signature & Date

Das könnte Ihnen auch gefallen