Roll No...............
Total No. of Questions:
09
BCA
(Sem.-2nd)
OOPS
using C++
Subject
Code: BSBC-203
Paper
ID: [B1115]
Time: 3 Hrs.
INSTRUCTIONS TO
CANDIDATE:
1.
Section-A is compulsory consisting of ten questions carrying two marks each.
2.
Section-B contains six questions carrying ten marks each and a student has to attempt
any four questions.
SECTION–A
Q1. a) What is structure? Explain how
structure members are
accessed and Initialized in C++?
b) What are different
visibility modes in C++?
c) What is object? How
it is different from class?
d) Explain the
difference between local and global variable.
e) List various
features of static function and friend functions.
f) Write a C++ program
to sort a list of names.
g) What is early
binding? How it is different from late
binding?
h) Write the procedure
to open and close a file in C++.
i) What is stream in
C++?
j) Write a C++ program
to implement the concept of nested
class.
SECTION-B
Q2.
What is OOP? How it is different from structure programming? Explain the role
of Encapsulation, Abstraction and Dynamic Binding in Object oriented
programming.
Q3.
Write notes on the following:
(a) Nested structure
(b) Structure with
pointer
Q4.
What is constructor and destructor? Explain how default parameterized
constructor is implemented in C++.
Q5.
What is function? What are its advantages? Explain the difference between call
by value and call by reference by taking suitable example.
Q6.
What is inheritance? Discuss its need? Explain How multilevel inheritance is
implemented in C++.
Q7.
Explain the following:
(a) Operator
Overloading
(b) Pure virtual
function
0 comments:
Post a Comment
North India Campus