MCADD-501 Object Oriented Programming in C++ PDF November 2018 Exam Paper

Summary

This is a past paper for the Object Oriented Programming in C++ exam from November 2018. The paper contains questions on various topics of the course, from fundamental concepts to more advanced concepts like polymorphism and exception handling. It suits undergraduate students. The exam is from MCADD.

Full Transcript

## M.C.A. (Dual Degree/Integrated Course), V Semester Examination, November 2018 **Object Oriented Programming in C++** **Time: Three Hours** Total No. of Questions: 8 Total No. of Printed Pages: 2 Maximum Marks: 70 **Note:** 1. Attempt any five questions. 2. All questions carry equal marks. ##...

## M.C.A. (Dual Degree/Integrated Course), V Semester Examination, November 2018 **Object Oriented Programming in C++** **Time: Three Hours** Total No. of Questions: 8 Total No. of Printed Pages: 2 Maximum Marks: 70 **Note:** 1. Attempt any five questions. 2. All questions carry equal marks. ### Questions: 1. a) What are the difference between structure and class in C++? b) What are object? Describe the syntax for defining objects with example. 2. a) What are constructors and destructors? Explain how they differ from normal function. b) Write a program using "For" loop. 3. a) What is operator overloading? Explain the importance of operator overloading. b) What are the different forms of inheritance supported by C++? Explain them with an example. 4. a) Describe different methods of realizing polymorphism in C++. b) Justify the need for virtual function in C++. 5. a) What are pure virtual function? How do they differ from normal virtual functions? b) Discuss early and late binding. 6. a) Write the syntax and example of seekg(), seekp(). b) What is File? What are steps involved in manipulating a file in C++ program? 7. a) Draw object oriented notations for class, object, inheritance. b) Discuss GML diagrams. 8. a) Explain the exception handling model of C++ with various construct supported by it. b) List the rules for handling in exception successfully.

Use Quizgecko on...
Browser
Browser