OBJECT-ORIENTED PROGRAMMING USING C++
- Course Code 18EE645
- CIE Marks 40
- Teaching Hours/Week (L: T:P) (3:0:0)
- SEE Marks 60
- Credits 03
- Exam Hours 03
Course Learning Objectives:
• Define Encapsulation, Inheritance and Polymorphism.• Solve the problem with object oriented approach.
• Analyze the problem statement and build object-oriented system model.
• Describe the characters and behavior of the objects that comprise a system.
• Explain function overloading, operator overloading and virtual functions.
• Discuss the advantages of object oriented programming over procedure oriented programming.
Module-1
Beginning with C++ and its Features: What is C++?, Applications and structure of C++ program, Different Data types, Variables, Different Operators, expressions, operator overloading and control structures in C++ . (Topics from Chapter 2 and 3 of textbook]Click here to download Module-1
Module-2
Functions, Classes and Objects: Functions, Inline function, function overloading, friend and virtual functions, Specifying a class, C++ program with a class, arrays within a class, memory allocation to objects, array of objects, members, pointers to members and member functions. (Selected Topics from Chapter 4 and 5 of textbook).Click here to download Module-2
Module-3
Constructors, Destructors and Operator Overloading: Constructors, Multiple constructors in a class, Copy constructor, Dynamic constructor, Destructors, Defining operator overloading, Overloading Unary and binary operators, Manipulation of strings using operators. (Selected topics from Chapter 6 and 7 of textbook).Click here to download Module-3
Module-4
Inheritance, Pointers, Virtual Functions, Polymorphism: Derived Classes, Single, multilevel, multiple inheritance, Pointers to objects and derived classes, this pointer, Virtual and pure virtual functions (Selected topics from Chapter 8 and 9 of textbook).Click here to download Module-4
Module-5
Streams and Working with Files: C++ streams and stream classes, formatted and unformatted I/O operations, Output with manipulators, Classes for file stream operations, opening and closing a file, EOF (Selected topics from Chapters 10 and 11 of textbook).Click here to download Module-5
Course Outcomes: At the end of the course the student will be able to:
• Explain the basics of Object-Oriented Programming concepts.• Apply the object initialization and destroy concept using constructors and destructors.
• Apply the concept of polymorphism to implement compile-time polymorphism in programs by using
overloading methods and operators.
• Utilize the concept of inheritance to reduce the length of code and evaluate its usefulness.
• Apply the concept of run time polymorphism by using virtual functions, overriding functions and abstract class in programs.
• Utilize I/O operations and file streams in programs.
Question paper pattern:
The question paper will have ten full questions carrying equal marks. Each full question will be for 20 marks.
There will be two full questions (with a maximum of four sub- questions) from each module.
Each full question will have sub- question covering all the topics under a module.
The students will have to answer five full questions, selecting one full question from each module.
Textbook
1 Object Oriented Programming with C++ E.Balaguruswamy TMH 6th Edition, 2013Reference Books
1 ObjectOriented Programming with C++ Robert Lafore Galgotia publication 20102 ObjectOriented Programming with C++ Sourav Sahay Oxford University 2006
0 Comments