University of Madras - Syllabus of Bachelor of Science (BSc) Statistics - Semester V - Major VIII - Programming in C++
UNIVERSITY OF MADRAS
B.Sc. DEGREE COURSE IN STATISTICS
SEMESTER SYSTEM WITH CREDITS
(Effective from the Academic Year 2003-2004)
SYLLABUS
Semester V - Major VIII - Programming in C++
UNIT - 1:
Basic concepts of Object Oriented Programming (OOP) OOP vs procedure programming - benefits of OOP - object oriented languages. Data abstraction, encapsulation. Classes and objects, over loading of functions, single / multiple inheritance, polymorphism and dynamic binding. Overview of some OOP languages - Simula, Small talk, eiffel, common lips objects systems.
UNIT - 2:
C++ programming language - History, Data types, expression statements, type cast operator, operator over loading - control structures.Function in C++ - main function - function prototyping, call by reference, return by reference, inline functions- function overloading, friend and virtual functions.
UNIT - 3:
Classes and objects - Specifying a class - defining member functions - Constructor and Destructors - Parametrizes constructors - nesting of member functions - private member functions - arrays within a class - arrays of objects - objects as function arguments.
UNIT - 4:
Operator overloading and type conversion - inheritance: extending classes defining derived classes. Single - Multilevel - Multiple - inheritance - Hierarchical, Hybrid inheritance - Virtual base classes - pointers, virtual functions and polymorphism, managing console 110 operations - templates and exception handling.
UNIT - 5:
File handling in C++, graphics (2D) using built in functions, programming using (a) link list (b) inheritance (c) polymorphism and (d) function overloading.
Books for Study:
Balagurusamy, E (1998) Object Oriented Programming with C++, Tata McGraw Hill.
BOOKS FOR REFERENCE:
Stephen Prata (1996): C++ primer plus, Galgotia publications Pvt. Ltd.
Barkakati, N.(1997): Object Oriented Programming in C++, Prentice Hall of India.
Robert Lafore: OOP in Turbo C++.
Stroustroup, Bjarne: C++ Programming Language.
Stroustroup, Bjarne: The Design and evaluation of C++, BPB publication.