CSE213
CSE213
L T P C
3 0 0 3
UNIT - I 11 Periods
Procedural programming, An Overview of C: Types- Fundamental types, boolean, Character
type, Integer types, Float types, prefixes and suffixes, void, Declarations-scope, Reference data
types, Variables, Declared Constants, enumerated constants, the typecasting operator, Operator
and Expressions, Input and Output (C-way), Statements- Statement Summary, Declarations as
Statements, Selection Statements, Iteration Statements, goto Statements, Pointers, Arrays, and
References-Pointers, arrays, pointers into arrays, pointers and const, Pointers and Ownership,
References, Functions - Function Declarations, argument passing-reference argument, array
arguments, overloaded functions, Error handling, Namespaces, Preprocessor directive:
Trigraph sequence, Digraph Sequence, #define, #undef, #ifdef, #ifndef, #if, #endif, #else, #elif and
#line
UNIT - II 11 Periods
Some difference between C and C++: Single line comments, Local variable declaration within
function scope, function declaration, function overloading, Reference variable, parameter passing
– value vs reference, passing pointer by value or reference, Operator new and delete, Inline
Functions in contrast to macro. The Fundamentals of Object Oriented Programming: Necessity
for OOP, Data Hiding, Data Abstraction, Encapsulation, Procedural Abstraction, Class and Object,
More extensions to C in C++ to provide OOP Facilities: Scope of Class and Scope Resolution
Operator, Member Function of a Class, private, protected and public Access Specifier, this
Keyword, Constructors and Destructors, Error handling (exception)
UNIT - III 12 Periods
Essentials of Object Oriented Programming: Operator overloading, Polymorphism-
Overloading, Class relationship-Inheritance – Single and Multiple, Virtual and abstract base class,
Friend class, Class Hierarchy, Inherited constructors, Pointers to Objects, Assignment of an Object
to another Object, Polymorphism through dynamic binding, Virtual Functions, overriding and hiding,
Generic Programming: Template-class template, function template, template specialization
UNIT - IV 11 Periods
Input and Output: Streams, Files, Library functions, formatted output. Object Oriented Design
and Modelling: UML concept, Use case for requirement capturing, Class diagram, Activity diagram
and Sequence Diagram for design, Corresponding C++ code from design
TEXT BOOKS
1. Bjarne Stroustrup, The C++ Programming Language, Pearson Addison-Wesley Professional,
US, 4th Edition, 2013.
2. Debasish Jana, C++ and Object-Oriented Programming Paradigm, PHI Learning Pvt. Ltd., New
Delhi, 3rd Edition, 2014.
SASTRA Deemed to be University
REFERENCE BOOKS
1. Bjarne Stroustrup, Programming - Principles and Practice Using C++, Pearson Addison-
Wesley Professional, US, 2nd Edition, 2014.
2. Bjarne Stroustrup, The Design and Evolution of C++, Pearson Addison-Wesley Professional,
US,1st Edition, 1994.
COURSE OUTCOMES
Upon successful completion of this course, the learner will be able to
Describe the object-oriented concepts and write programs using basic constructs and functions
in C++
Employ the concepts of classes and objects for a given application
Create user defined data types and demonstrate operator overloading, inheritance, data
conversion
Use pointers and demonstrate memory management, virtual and friend functions
Develop applications using file streams