Master of Computer Applications (MCA) - 2024-26
SEMESTER – II (Programming with C++ Paper Summary)
📘 Programming with C++ – Full Topic List (Unit-Wise)
Credits: 5 | Total Marks: 100 | L-T-P: 3-0-2
🎯 Course Objectives
-
Learn Object-Oriented Programming (OOP) fundamentals.
-
Understand C++ syntax and semantics.
-
Implement classes, constructors, destructors, and copy constructors.
-
Master overloading, inheritance, polymorphism, and exception handling.
-
Explore file handling and templates.
✅ Unit-I: Introduction & Classes
-
OOP concepts: meaning, advantages, usage.
-
Program development environment.
-
C++ standards and compilers.
-
Standard libraries,
main()
function, function prototyping. -
User-defined types: structures, unions, classes.
-
Inline functions, scope resolution operator.
-
Static data members and member functions.
-
Friend functions and friend classes.
-
Passing and returning objects.
✅ Unit-II: Arrays, Pointers & Constructors
-
Arrays of objects, pointers to objects.
-
this
pointer, dynamic allocation operators (new
,delete
). -
References: call by reference, return by reference.
-
Constructors: default, parameterized, copy.
-
Access specifiers and object instantiation.
-
Destructors and memory management.
✅ Unit-III: Overloading & Namespaces
-
Function overloading, operator overloading.
-
Overloading new/delete and special operators.
-
Friend functions for overloading.
-
Overloaded operators:
[]
,()
,->
,<<
,>>
, etc. -
Namespaces: global, nested.
✅ Unit-IV: Inheritance, Polymorphism, Exceptions
-
Types: single, multiple, multilevel, hybrid inheritance.
-
Access control in inheritance.
-
Virtual base classes, constructors/destructors with inheritance.
-
Virtual functions, pure virtual functions.
-
Exception handling:
try
,catch
,throw
, multiple/uncaught exceptions. -
File I/O: Streams, file operations, sequential/random access.
✅ Unit-V: Templates & STL
-
Formatted I/O:
setf()
,width()
,precision()
, manipulators. -
Function templates and class templates.
-
Template instantiation, specialization (partial/full).
-
STL basics: containers, iterators, algorithms.
🔬 List of Practicals (Key Experiments)
-
Basic programs: Hello World, max/min, string operations.
-
Functions, default arguments, arrays, references.
-
Function & operator overloading.
-
Structures, classes for calculator, distance, time.
-
Complex numbers, rational numbers using operator overloading.
-
File handling: file size, content read/write.
-
Inheritance and polymorphism via virtual functions.
-
Custom manipulators for formatting currency.
-
Templates for class and function creation.
📚 Text & Reference Books
-
Herbert Schildt – C++: The Complete Reference
-
E. Balagurusamy – Object Oriented Programming with C++
-
Ashok Kamthane – OOP with ANSI & Turbo C++
-
Robert Lafore – Object Oriented Programming in C++
If You Want to PDF Join My WhatsApp Channel ➡️ https://whatsapp.com/channel/0029Va9jTP0LtOjA4u6LAs1Z
No comments:
Post a Comment