Roll No.
Total No. of Questions : 07
BCA
(Sem.–3rd)
OBJECT
ORIENTED PROGRAMMIGN USING C++
Subject
Code : BC-304
Paper
ID : [B0212]
Time : 3 Hrs.
INSTRUCTION TO CANDIDATES :
1. Section-A is compulsory.
2.
Attempt any Four questions form Section-B.
SECTION-A
Q1)
a) Define multiple – inheritance.
b) Define operator overloading.
c) Define virtual function.
d) Define friend function.
e) Define Static function.
f) Define function overloading.
g) Differentiate between call by value and
call by reference.
h) What is pointer?
i) What is a constructor?
j) What is redirection? Explain.
Section
- B
Q2)
Why there is a need of Object Oriented Language? Explain encapsulation, polymorphism
and inheritance.
Q3)
Explain various loop control and jump statements in C++
Q4)
What are the uses of recursion? Write a recursive program in C++ to findfactorial
of a given number.
Q5)
What are the uses of functions? Explain function overloading andoverriding
with examples.
Q6)
What is the difference between public class, private class, protected classand
static class? Explain.
Q7)
Explain different types of inheritance with examples.
0 comments:
Post a Comment
North India Campus