OBJECT ORIENTED PROGRAMMING THROUGH ‘C++’

Paper Code: 
24GCAI401
Credits: 
04
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

Course Objectives:

The course will enable the students to acquaint with the basics of C++ programming language.

 

Course Outcomes: 

Course

Learning outcome

(at course level)

Learning and teaching strategies

Assessment Strategies

Course Code

Course

title

24GCAI 401

OBJECT ORIENTED PROGRAMMING THROUGH ‘C++’ (Practical)

 

CO1. Evaluate fundamental object-oriented programming principles, data types, and operators in C++

CO2 Apply decision-making and looping constructs to manipulate data using strings, arrays, and functions

CO3. Analyse the concept of object and classes and fundamental construct of C++ language

CO4. Design programs demonstrating different types of inheritance

CO5. Analyse the concept of virtual

class and dynamic binding.

CO6. Contribute effectively in course-specific interaction

Approach in teaching:

Interactive Lectures, Discussion, Demonstrations.

 

Learning activities for the students:

 

Self-learning assignments, Practical questions

 

 

 

  • Class test
  • Semester end examinations
  • Problem solving exercises
  • Assignments
  • Individual and group projects and peer reviews 

 

12.00
Unit I: 
Introduction to OO Paradigm:

Structured Versus object oriented programming, Objects and Class, features of object oriented language (encapsulation, data abstraction, inheritance, Object composition, Polymorphism) Merits & demerits of OO methodology, Hello World Program and C++ program structure. 

Data Types, Operators: Tokens, identifiers and keywords, data types and size, Variables, Variable definition and initialization, constants, Operators (Arithmetic, Relational, logical, Compound assignment, Increment, decrement and conditional operator).

12.00
Unit II: 
Expression and Precedence:

Arithmetic, Relational, logical Expression, Operator Precedence and associatively, promotion and type casting, Different types of comments   

Control Flow: Statement and blocks, if statement, if–else statement, Nested if–else statement, Switch statement, Break, continue statement, While, for and do-while loops, Scope and Visibility Control Modifier. 

Arrays and Functions:  Arrays, operations on Arrays, Multi-Dimensional Arrays, Strings, Strings manipulations and Arrays of strings, functions, Parameter passing, Return by reference, inline functions, Arrays and functions. Library functions.

 

12.00
Unit III: 
Classes and Objects:

Class specification, Class Objects, Accessing Class Members, Constructors, parameterized constructors, constructor overloading, copy constructor, Order of Constructor and destructor, Static data members.      

Defining member function outside member function as inline, Accessing Member function within class, Data Hiding, Passing object to functions and returning Objects from functions, friend functions and friend classes.

12.00
Unit IV: 
Inheritance:

Introduction, Form of in heritance, derive class declaration, inheritance and member accessibility, Constructor and Destructor in Derive class, Constructor invocation, Function overloading, Member function overloading, Multi-level inheritance, Multiple inheritance, Multi path inheritance, Hybrid Inheritance.

 

12.00
Unit V: 
Virtual Functions :

Object Delegation, Composition, Virtual base Class, Virtual Functions, Definition of virtual functions, Pure virtual function, Abstract Classes Virtual function, Dynamic binding.

ESSENTIAL READINGS: 

Suggested Text Books:

  1. A.R.Venugopal, Rajkumar, T. Ravishanker, “Mastering C++”, TMH, 1997

 

REFERENCES: 

Suggested Reference Books:

  1. Yashwant Kanetkar , “Let us C++”, BPB Publications
  2. R. Lafore, “Object Oriented Programming using C++”, Galgotia Publications, 2004.
  3. D . Parasons, “Object Oriented Programming with  C++”, BPB Publication.
  4. Schildt Herbert, “C++: The Complete Reference”, 4th Ed., Tata McGraw Hill, 1999.
  5. S. B. Lippman & J. Lajoie, “C++ Primer”, 3rd Edition, Addison Wesley, 2000.

 Reference Journals:

  1. Journal of Object oriented Programming (JOOP)
  2. International Journal of sincetific research 
  3. Journal of Systems and Software

e-Resources including links

  1. https://www.youtube.com/watch?v=McojvctVsUs
  2. https://www.youtube.com/watch?v=yGB9jhsEsr8

 

 

 

 

 

Academic Year: