Categories

Thakur Publishers

Newsletter

Follow Us

News and Updates

Clock

Object Oriented Programming Using C++ Maximize

Object Oriented Programming Using C++

Prof. Aabha Bhushan Pandit & Rajesh Keshav Bade

ISBN-9789351633273

More details

UOP/BCA/4/01

125.00 Rs

125.00 Rs per Book

» Add to my wishlist

4 other products in the same category:

University of Pune, BCA, Fourth Semester
Syllabus
 
(Course Code – 401)
 
OBJECT ORIENTED PROGRAMMING USING C++
 
 
Unit-I: Introduction to C++                                                                                          (2 Lectures)
1.1.      Basic Concepts of OOP, Benefits, Applications of OOP
1.2.      A simple C++ Program
1.3.      Structure of C++ Program
1.4.      Creating a Source File, Compiling and Linking
 
Unit-II: Tokens, Expressions and Control Structures                                           (3 Lectures)
2.1.      Introduction
2.2.      Tokens, Keywords, Identifiers and Constants
2.3.      Data Types - Basic, User Defined and Derived
2.4.      Symbolic Constant
2.5.      Type Compatibility
2.6.      Variables - Declaration and Dynamic Initialization
2.7.      Reference Variable
2.8.      Operators in C++
2.8.1. Scope Resolution Operator
2.8.2. Member Referencing Operators
2.8.3. Memory Management Operators
2.8.4. Manipulators
2.8.5. Type Cast Operators
2.9.      Expression and their Types
2.10.   Special Assignment Expressions
2.11.   Implicit Conversions
2.12.   Operator Overloading Introduction
2.13.   Operator Precedence
2.14.   Control Structures – if-else, do-while, for , switch
 
Unit-III: Functions in C++                                                                                            (5 Lectures)
3.1.      Introduction
3.2.      The Main Function
3.3.      Function Prototyping
3.4.      Call by Reference
3.5.      Return by Reference
3.6.      Inline Function – Making an Outside Function Inline
3.7.      Arguments - Default, Constant
3.8.      Math Library Functions
 
Unit-IV: Classes and Objects                                                                                    (10 Lectures)
4.1.      Introduction
4.2.      Creating a Class and Objects
4.3.      Defining Member Functions Inside and Outside Class Definition
4.4.      Nesting of Member Functions
4.5.      Private Member Functions
4.6.      Arrays within a Class
4.7.      Memory Allocation of Objects
4.8.      Static Data Members and Static Member Functions
4.9.      Array of Objects

4.10.   Objects as Function Arguments
4.11.   Friend Functions
4.12.   Returning Objects
4.13.   Constructors
4.14.   Types of Constructor
4.15.   Destructors
 
Unit-V: Inheritance                                                                                                       (9 Lectures)
5.1.      Introduction
5.2.      Base Class and Derived Class Examples
5.3.      Types of Inheritance
5.4.      Virtual Base Class
5.5.      Abstract Class
5.6.      Constructors in Derived Class
 
Unit-VI: Polymorphism                                                                                                (8 Lectures)
6.1.      Compile Time Polymorphism
6.1.1. Function Overloading
6.1.2. Operator Overloading Introduction
6.1.3. Overloading Unary and Binary Operator
6.1.4. Overloading Using Friend Function
6.1.5. Overloading Insertion and Extraction Operators
6.1.6. String Manipulation using Operator Overloading
6.2.      Runtime Polymorphism
6.2.1 This Pointer, Pointers to Objects, Pointer to Derived Classes.
6.2.2 Virtual Functions and Pure Virtual Functions
 
Unit-VII: Managing Console I/O Operations                                                           (3 Lectures)
7.1.      Introduction
7.2.      C++ Streams and C++ Stream Classes
7.3.      Unformatted I/O Operations
7.4.      Formatted Console I/O Operations
7.5.      Managing Output with Manipulators
 
Unit-VIII: Working with Files                                                                                    (5 Lectures)
8.1.      Classes for File Stream Operations
8.2.      File Operations - Opening, Closing and Updating
8.3.      Error Handling during File Operations
8.4.      Command Line Arguments
 
Unit-IX: Templates                                                                                                        (3 Lectures)
9.1.      Introduction
9.2.      Class Templates
9.3.      Function Templates
9.4.      Exception Handling (Introduction)
Unit 1: Introduction to C++
1.1.          Object Oriented Programming (OOP)
13
1.1.1.       Introduction
13
1.1.2.       Basic Concepts of OOP
14
1.1.2.1.    Objects
14
1.1.2.2.    Classes
15
1.1.2.3.    Instance
15
1.1.2.4.    Inheritance
15
1.1.2.5.    Data Abstraction
16
1.1.2.6.    Encapsulation
16
1.1.2.7.    Polymorphism
17
1.1.2.8.    Message Passing
17
1.1.3.       Benefits of OOP
17
1.1.4.       Applications of OOP
18
1.2.          C++
19
1.2.1.       Overview
19
1.2.2.       Advantages of C++
19
1.2.3.       Difference between C and C++
20
1.2.4.       Structure of C++ Program
20
1.2.5.       A Simple C++ Program
22
1.2.5.1.    Creating a Source File, Compiling and Linking
23
1.2.5.2.    Executing Simple C++ Program
24
1.3.          Exercise
25
 
 
Unit 2: Tokens, Expressions and Control Structures
2.1.          C++ Tokens
26
2.1.1.       Introduction
26
2.1.1.1.    Identifiers
26
2.1.1.2.    Keywords
27
2.1.1.3.    Constants (Literals)
27
2.1.1.4.    Punctuators
30
2.1.1.5.    Operators
30
2.1.2.       Manipulators
38
2.1.3.       Type Compatibility
42
2.1.4.       Variables
43
2.1.4.1.    Declaring and Initializing Variables
43
2.1.4.2.    Scope of Variable
44
2.1.4.3.    Dynamic Initialization
45
2.1.4.4.    Reference Variable
45
2.2.          Data Types
46
2.2.1.1.    Built-in (Basic) Data Types
47
2.2.1.2.    Derived Data Types
49
2.2.1.3.    User-Defined Data Types
51
2.3.          Expression and their Types
56
2.3.1.       Introduction
56
2.3.2.       Types of Expressions
56
2.3.3.       Lvalues
57
2.3.4.       Rvalues
57
2.4.          Special Assignment Expression
58
2.5.          Implicit Conversion
59
2.6.          Operator Overloading
59
2.7.          Conditional Structures
61
2.8.          Looping Constructs
64
2.9.          Break & Continue Statements
67
2.10.        Exercise
69
Unit 3: Functions
3.1.          Functions in C++
70
3.1.1.       Introduction
70
3.1.2.       The main() Function
71
3.1.3.       Types of Functions
72
3.1.4.       Parts of Function
74
3.1.4.1.    Function Declaration
74
3.1.4.2.    Function Definition
75
3.1.4.3.    Function Calling
75
3.1.5.       Function Prototyping
76
3.1.6.       Parameter Passing Methods
77
3.1.6.1.    Call by Value / Pass by Value
77
3.1.6.2.    Call by Reference/Pass by Reference
78
3.1.6.3.    Return by Reference
80
3.1.7.       Inline Function
80
3.1.7.1.    Need of Inline Function
81
3.1.7.2.    Compilation of Inline Function
81
3.1.7.3.    Making an Outside Function Inline
82
3.1.8.       Default Arguments to Function
83
3.1.9.       Constant Argument
83
3.2.          Math Library Functions
84
3.3.          Exercise
86
 
 
Unit 4: Classes and Objects
4.1.          Classes
87
4.1.1.       Introduction
87
4.1.2.       Class Declaration
87
4.1.3.       Creating a Class
87
4.2.          Objects
88
4.2.1.       Introduction
88
4.2.2.       Composition of Object
88
4.2.3.       Creating Objects
89
4.2.4.       Assigning Objects
90
4.3.          Data Members
90
4.3.1.       Introduction
90
4.3.2.       Member Functions
91
4.3.2.1.    Defining Member Function
92
4.3.2.2.    Inside the Class Definition
92
4.3.2.3.    Outside the Class Definition
93
4.4.          Nesting of Member Functions
94
4.5.          Private & Public Data Member
95
4.5.1.       Introduction
95
4.5.2.       Public Member Function
96
4.5.3.       Private Member Functions
97
4.5.4.       Protected Member Functions
97
4.6.          Array within a Class
98
4.7.          Memory Allocation of Objects
98
4.8.          Static Class Members
99
4.8.1.       Static Data Member
100
4.8.2.       Static Member Functions
101
4.9.          Array of Objects
104
4.10.        Object as Function Arguments
106
4.11.        Friend Functions
108
4.11.1.     Introduction
108
4.11.2.     Friend Scope
110
4.11.3.     Friend Access
112
4.11.4.     Uses of Friend Function
113
4.12.        Returning Objects
114
4.13.        Constructors
115
4.13.1.     Introduction
115
4.13.2.     Characteristics of Constructors
115
4.13.3.     Declaring Constructor
115
4.13.4.     Rules for Defining Constructors
116
4.13.5.     Types of Constructor
117
4.14.        Destructors
121
4.15.        Exercise
123
 
 
Unit 5: Inheritance
5.1.          Inheritance
124
5.1.1.       Introduction
124
5.1.2.       Advantages of Inheritance
125
5.1.3.       Disadvantages of Inheritance
125
5.1.4.       Base and Derived Class
125
5.1.5.       Types of Inheritance
128
5.1.5.1.    Single Inheritance
128
5.1.5.2.    Multiple Inheritance
129
5.1.5.3.    Hierarchical Inheritance
131
5.1.5.4.    Multilevel Inheritance
134
5.1.5.5.    Hybrid Inheritance
137
5.1.6.       Virtual Base Classes
139
5.2.          Abstract Classes
141
5.3.          Constructors in Derived Class
143
5.4.          Exercise
144
 
 
Unit 6: Polymorphism
6.1.          Polymorphism
145
6.1.1.       Introduction
145
6.1.2.       Compile Time Polymorphism
146
6.1.2.1.    Function Overloading
146
6.1.2.2.    Operator Overloading
148
6.1.2.3.    Overloading Unary and Binary Operator
148
6.1.2.4.    Overloading using Friend Function
151
6.1.2.5.    Overloading Insertion and Extraction Operators
152
6.1.2.6.    String Manipulation using Operator Overloading
154
6.1.3.       Run-Time Polymorphism
155
6.1.3.1.    this Pointer
155
6.1.3.2.    Pointers to Object
156
6.1.3.3.    Pointer to Derived Classes
158
6.1.3.4.    Virtual Base Classes
160
6.1.3.5.    Virtual Functions
161
6.1.3.6.    Pure Virtual Functions
163
6.2.          Exercise
165
 
 
Unit 7: Managing Console I/O Operations
7.1.          Streams
166
7.1.1.       Introduction
166
7.1.2.       C++ Streams
166
7.1.2.1.    cout
166
7.1.2.2.    cin
167
7.1.3.       Streams Class Hierarchy
168
7.1.3.1.    ofstream
169
7.1.3.2.    ifstream
169
7.1.3.3.    fstream
169
7.1.4.       Types of I/O Operations
170
7.1.5.       Unformatted I/O Operations
170
7.1.6.       Formatted Console I/O Operations
171
7.1.6.1.    width() Function
172
7.1.6.2.    ios::precision
174
7.1.6.3.    ios::fill
174
7.1.6.4.    ios::setf
175
7.1.7.       Managing Output with Manipulators
176
7.2.          Exercise
179
 
 
Unit 8: Working with Files
8.1.          File Handling
180
8.1.1.       Files
180
8.1.2.       Types of Files
180
8.1.3.       Classes for File Stream Operations
180
8.1.4.       File Operations
181
8.1.5.       Saving a File
181
8.1.6.       Opening a File
182
8.1.6.1.    Opening Multiple Files
183
8.1.6.2.    File Modes
184
8.1.7.       Closing a File
186
8.1.8.       Updating a File
187
8.1.9.       Error Handling during File Operation
189
8.1.9.1.    eof()
189
8.1.9.2.    fail()
190
8.1.9.3.    bad()
190
8.1.9.4.    good()
191
8.1.10.     Command Line Arguments
192
8.2.          Exercise
193
 
 
Unit 9: Templates
9.1.          Templates
194
9.1.1.       Introduction
194
9.1.2.       Template Class
194
9.1.3.       Function Templates
195
9.1.3.1.    Function Template Instantiation
197
9.1.3.2.    Function Templates with Multiple Parameters
197
9.1.3.3.    Overloading a Template Function
198
9.1.4.       Class Templates
199
9.1.4.1.    Template Friends
199
9.1.4.2.    Class Template Instantiation
200
9.1.4.3.    Classes with Multiple Generic Data Types
201
9.1.4.4.    Class Template Arguments
202
9.1.4.5.    Static Data Members
203
9.2.          Exceptions
205
9.2.1.       Introduction
205
9.2.2.       Need for Exceptional Handling
206
9.2.3.       Exception Handlers
206
9.2.4.       Exception Handling Options
207
9.2.4.1.    Catching an Exception
208
9.2.4.2.    Catching All Exceptions
208
9.2.4.3.    Rethrowing an Exception
209
9.3.          Exercise
210
 
 
Unsolved Paper (2011)
212
Solved Paper (2012)
214
Solved Paper (2013)
231
Solved Paper (2014)
249
Classification
265

No customer comments for the moment.

Write your review

Object Oriented Programming Using C++

Object Oriented Programming Using C++

Prof. Aabha Bhushan Pandit & Rajesh Keshav Bade

ISBN-9789351633273

Write your review