Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU) B-Tech 4th Semester (Fourth Semester) 2016-17 CS403 Object Oriented Programming With C++ Question Paper
B.TECH.
THEORY EXAMINATION (SEM?IV) 2016-17
OBJECT ORIENTED PROGRAMMING WITH C++
T ime : 3 Hours Max. Marks : 100
Note .' Be precise in your answer. In case ofnumericalproblem assume data wherever not provided.
SECTION ? A
1. Explain the following: 10 x 2 = 20
(a) Define Generalization.
(b) What do you mean by Abstract class?
(c) What do you mean by this pointer?
(d) Define destructor.
(e) Explain Polymorphism.
(1) Define derived attribute.
(g) Define Inheritance.
(h) Write two characteristics of OOPS.
(i) Explain pure Virtual function.
(j) Define Inline function.
SECTION ? B
2. Attempt any ?ve of the following questions: 5 x 10 = 50
(a) What is copy constructor? Explain with example.
(b) What is Constructor? Write a program to find the area of the circle using constructor.
(c) What is function overloading? Explain with a suitable example.
(d) What is operator overloading? Explain binary operator overloading with an example.
(e) Compare between obj ect oriented methodology with the procedural methodology.
(1) Write C++ program for sorting ten integer numbers.
(g) What are command line arguments? Write a program to finding factorial for a given
number using command line argument.
(h) Define exception handling. How it will work in C++?
SECTION ? C
Attempt any two of the following questions: 2 x 15 = 30
3 Explain with a suitable example in C++ of the following?
(i) File Operations
(ii) Class Template
4 Define Inheritance with all types and suitable example.
5 Short notes on the following-
(i) Virtual function
(ii) Function Template
This post was last modified on 29 January 2020