Dr. A.P.J. Abdul Kalam University
Bachelor of Computer Application
Third Semester Main Examination, Dec-2020
Object Oriented Programming Through C++ [BCA302T]
Time: 3:00 Hrs Max Marks 50
Note : Attempt all questions. All questions carry equal marks.
Q.1 Describe object oriented programing. Write its advantages and disadvantages.
OR
Write short note on following with example :
(i) Object
(ii) Class
(iii) Data abstraction
Q.2 What are static variable? Explain with example. Write a C++ program to find factorial of a given number.
OR
Explain following with syntax :
(i) For loop
(ii) While loop
(iii) Do- while loop
Q.3 What is array? Explain with suitable example. Define constructor and destructor.
OR
Write short notes on following :
(i) Function definition
(ii) Function call
(iii) Function prototype
Q.4 What do you mean by operator over loading and function overloading? Explain with example.
OR
Define following :
(i) Friend and inline function
(ii) String handling function
(iii) Polymorphism
Q.5 What is inheritance? Explain different types of inheritance with example.
OR
Explain following :
(i) Exception handling
(ii) Data templates
(iii) Abstract class
Scanned Copies:
0 comments:
Pen down your valuable important comments below