MCA-205 Object-Oriented Systems and C++

Note:Examiner will be required to set NINE questions in all. Question Number 1 will consist of total 8 parts (objective type/short-answer type questions) covering the entire syllabus and will carry 24 marks. In addition to the compulsory question there will be four units i.e. Unit-I to Unit-IV. Examiner will set two questions from each Unit of the syllabus and each question will carry 14 marks. Student will be required to attempt FIVE questions in all. Question Number 1 will be compulsory. In addition to compulsory question, student will have to attempt four more questions selecting One question from each Unit.

Total Marks : 100  Theory Paper : 80  Internal Assessment: 20

Time : 3 Hours

Unit-I

Introduction to C++: Object-Oriented features of C++, Comparison of C with C++, Class and Objects, Inline functions, Static data members and member functions, Read-Only objects, Pointers, Dynamic memory allocation and deallocation, constructors and destructors, Dynamic objects, array of pointers to object, local and global class, nested and empty class, preprocessor directives, namespace.

Console I/O: Hierarchy of console stream classes, unformatted and formatted I/O operations, Manipulators

Unit-II

Operator Overloading: Overloadable operators, overloading unary and binary arithmetic and relational operators, overloading subscript, array, insertion, extraction, new and delete operators.

Friend Function and Type Conversion: Friend function, Function overloading, overloading operators through friend function. Basic type conversion, conversion between Objects and Basic Types, conversion between objects of different classes

Unit-III

Inheritance: Derivation Rules, Different forms of inheritance, Roles of constructors and destructors in inheritance.

Virtual Functions: Virtual functions and their needs, Pure virtual function, virtual destructor, virtual derivation, abstract class.

Unit-IV

Generic Programming & Exception Handling: Template functions, Template class, Exception handling features of C++.

File Handling: Hierarchy of File Stream classes, Opening and Closing files, File modes, testing for errors, File pointers and their manipulations, ASCII & Binary files, Sequential and Random access files.

Text Books:

References Books: