Roll No.
MCA (Sem. - 4th)
OBJECT ORIENTED ANALYSIS AND DESIGN
SUBJECT CODE : MCA - 405-C (Elective - 1)
Paper ID : [80121]
Time: 03 Hours
Instruction to
Candidates:
1) Attempt any one
question from each Sections - A, B, C, & D.
2) Section - E is
Compulsory.
3) Use of
Non-Programmable Scientific Calculator is allowed.
Section -
A
Q1) When a child
class inherits from a base class, will the child class inherits everything of
the base class, including all member variables and functions? Also explain the
difference between abstraction and data hiding?
Q2) What are the
advantages of polymorphism and dynamic binding? With a suitable example explain
how to design a class. Give all possible representation in a class (name,
attribute, visibility, methods, and responsibilities).
Section-B
Q3) What is the
difference between a "assignment operator" and a "copy
constructor"? What is the meaning of polymorphism?
Q4) How can C++
achieve dynamic binding yet also static typing? When should destructor be
virtual?
Section-C
Q5) What are the
differences between overloading and overriding? Are they both concepts of
polymorphism? Can I call the constructor of the base class? Can constructors be
overloaded? Justify each answer.
Q6) What are
various types of files? What are the various modes in which a file can be
opened? Explain by giving examples.
Section-D
Q7) Give guidelines
for identifying objects in object oriented, I analysis. Compare Object Oriented
Analysis and data structure oriented analysis.
Q8) Based on your
experience with a Bank ATM, draw an ER diagram modeling the data processing
involved when a customer withdraws cash from an ATM machine.
Section-E
Q9
a) Differentiate
persistent and non-persistent objects.
b) What do you
meant by static and dynamic modeling?
c) What is the role
of an object in Q++?
d) What are models
and meta models?
e) In C++, what is
operator >> called?
f) When is a
constructor called?
g) What the use of
preprocessor directory (# include) ?
h) What is function
overloading in C++ ?
i) How is a
constructor different from destructor ?
j) By default, what
are fields in a C+ class called ?
0 comments:
Post a Comment
North India Campus