You are on page 1of 2

Proceedings of the 26th Academic Council held on 18.5.

2012

CSE219OBJECTORIENTEDPARADIGMANDPROGRAMMING

VersionNo. Course Computer Programming and Problem Solving Prerequisites Objectives 1. To understanding the principles of object oriented programming 2. To introduce the object oriented way of problem solving. 3. To gain familiarity with the syntax, class hierarchy, environment and simple application construction for an object-oriented programming language. ExpectedOutcome At the end of the course, students should able to 1. Understand the principles of object oriented programming 2. Introduce the object oriented way of problem solving. 3. Apprehend the syntax and semantics of the C++ programming language. 4. Use the class and objects to create applications. 5. Design and Create new applications by interconnecting many classes and reusing the code. 6. Synthesize generic class templates to be used with different types of data. UnitI INTRODUCTIONTOFUNDAMENTALCONCEPTSOFOOP 9 + 3 hours Survey of programming paradigms Object-Oriented Paradigm: Elements of Object Oriented Programming Merits and demerits of object oriented methodology. benefits of object oriented programming - structure of C++ program Static members, Working with classes, Classes and Objects-Class specification- class objects- accessing class members- defining member functions - Passing and returning objects Array of objects - inline functions - accessing member functions within class. UnitII OBJECTINITIALIZATIONANDCLEANUP 6 + 3 hours Constructors - Parameterized constructors - Constructor overloading. Copy constructor, Destructors, Default arguments - new, delete operators - this pointer, friend classes and friend functions. UnitIII OVERLOADINGANDGENERICPROGRAMMING 10 + 3 hours Function overloading Operator overloading- Non-over loadable operators- unary operator overloading- operator keyword- limitations of increment/decrement operators- binary operator overloading- Generic programming with templates-Function templates- class templates UnitIV INHERITANCE 10 + 3 hours Inheritance-Base class and derived class relationship-derived class declaration-Forms of inheritance- inheritance and member accessibility- constructors in derived class, abstract class, virtual functions, pure virtual function. UnitV EXCEPTIONHANDLINGANDSTREAMS 10 + 3 hours Files and Streams-Opening and Closing a file- file modes- file pointers and their manipulation, sequential access to a file-random access to a file-Reading and Writing files - Exception handling-exception handling model- exception handling constructscatching exceptions and handling exceptions.

L T P C 3 1 2 5

126

Proceedings of the 26th Academic Council held on 18.5.2012

Text/ReferenceBooks 1. K. R. Venugopal, Rajkumar, T. Ravishankar, Mastering C++, 4 th Edition, Tata McGraw Hill, 2008 2. Budd T., An Introduction to Object-oriented Programming, Addison-Wesley 3rd edition, 2008. 3. Bjarne stroustrup, The C++ programming Language, Addison Wesley, 3rd edition, 2008. 4. Harvey M. Deitel and Paul J. Deitel, C++ How to Program, 7th edition, Prentice Hall, 2010. ModeofEvaluation Recommendedbythe BoardofStudieson

Tests, Assignments, Seminars.

DateofApprovalbythe AcademicCouncil

Samplelistofexercises 1. Program illustrating function overloading feature. 2. Programs illustrating the overloading of various operators Ex : Binary operators, Unary operators, New and delete operators etc. 3. Programs illustrating the use of following functions : a) Friend functions b) Inline functions c) Static Member functions d) Functions with default arguments. 4. Programs illustrating the use of destructor and the various types of constructors (no arguments, constructor, constructor with arguments, copy constructor etc). 5. Programs illustrating the various forms of inheritance: Ex. Single, Multiple, multilevel, hierarchical inheritance etc. 6. Write a program having student as on abstract class and create many derived classes such as Engg. Science, Medical, etc. from students class. Create their objects and process them. 7. Write a program illustrating the use of virtual functions. 8. Write a program which illustrates the use of virtual base class. 9. Write programs to illustrating file handling operations: Ex. a) Copying a text files b) Displaying the contents of the file etc. 10. Write programs illustrating how exceptions are handled (ex: division-by-zero, overflow and underflow in stack etc)

127

You might also like