2023 2024 EduVark > Education Discussion > General Discussion


  #1  
June 23rd, 2014, 09:28 AM
Super Moderator
 
Join Date: Mar 2012
Centre for Development of Advanced Computing MCA, Object Oriented Programming Exam paper

Can you give me question paper for Centre for Development of Advanced Computing(C-DAC), MCA, Object Oriented Programming Examination ?

Here I am giving you question paper for Centre for Development of Advanced Computing(C-DAC), MCA, Object Oriented Programming Examination in PDF file attached with it so you can get it easily.

Q. 1 (a) Explain the following features of OOPS :- 8
(i) Message Passing
(ii) Extensibility
(iii)Delegation
(iv) Genericity
(b) Explain overloading of new and delete operators by giving examples. 4

Q. 2 (a) Write a program that illustrate the mechanism for handling exceptions in the
vector class, while creating its objects and accessing its elements for reading or
writing. The program should overload the operator [ ] to simulate the operations on
the user defined data types. 6
(b) Write a program that reads a sequence of names, one per line, and then sorts
and prints them. 6

Q. 3 (a) Implement a vector class with a default constructor, a destructor, overloaded
assignment operator, subscript operator, stream insertion operator and stream
extraction operator.
6
(b) Explain the concept of friend function and friend class by giving examples.
6

Q. 4 (a) Write a program of an examination database using inheritance which has three
classes namely person, student and exam. The student class inherits the properties
of person class and exam class inherits the properties of student class directly and
properties of person class indirectly. 6
(b) What is polymorphism and how is it achieved by means of virtual functions?
Give an example. 6

Q. 5 (a) Do derivation and friendship mean the same? What are the similarities and
dissimilarities between the two? 4
(b) Describe how an object of a class that contains objects of other classes are
created. 3

(c) Briefly explain the working of inline functions. Also discuss their merits and
demerits. When Should functions be declared inline? 3

Q. 6 (a) What is a container class? Explain homogenous, heterogeneous and vector
classes. Write a program to implement a vector class template. 6
(b) Implement a string class. Each object of this class will represent a character
string. Data members are the length of the string and the actual character string. In
addition to constructors, destructor, access functions, and a print function, include
a “subscript” function. 6

Q. 7 Define the following:- 6
(i) Wild pointers
(ii) Garbage
(iii)Dangling Reference
Consider the following program:

In the above program find out where all garbage, dangling reference and wild
pointers exists. Identify statements which are treated as erroneous by the
compiler.
(b) Briefly explain the exception handling constructs. Write a program which
binds a pointer to base class’ object to base or derived objects at runtime and
invoking respective members if they are virtual. 6

Q. 8 Write a class template container to do binary tree operations (Create, print,
traverse and search). The traverse should be in inorder, preorder and postorder.
12


Q. 1 (a) Define and explain the following terms with examples 12
(i) Encapsulation
(ii) Polymorphism
(iii) Inheritance

Q. 2 Compare and contrast the following:- 12
(i) Private and Public methods.
(ii) Protected and friends function
(iii) Static classes and structures
(iv) Pointer and reference variables.

Q. 3 (a) Implement a integer class that checks for range (of value) violation. 8
(b) Is the following fragment valid? If not, why not? 4
int &f ( );
.
.
.
int *x;
x = f ( );

Q. 4 (a) What does the following program? 8
#include
class A {
public :
A ( ) { cout << ”Constructing A\n “; }
~A ( ) {cout << “Destructing A\n “; }
};
class B {
public:
B( ) {cout << “Constructing B \n “; }
~B ( ) {cout << “Destructing B \n “; }
};
class C: public A, public B {
public:
C ( ) {cout<<”Constructing C \n “; }
~C ( ) {cout << “Destructing C \n “; }
};
void main( )
{
C ob;
Return ;
}
(b) What is the role of virtual base class? Explain. 2
(c) What is the utility of a virtual function in a class? Explain. 2

Q. 5 Design a template class for implementation of a stack of any object. Implement
the template as a linked list. 12

Q. 6 (a) Demonstrate the overloading of the following operators or functions. 10
(i) new (ii) <<
(iii) (binary) (iv) #
(v) * (Multiplication)
(b) Which operators cannot be overloaded in C++. 2

Q. 7 Write short notes on ANY TWO of the following : - 6+ 6
(a) Standard Template Library.
(b) Namespace and Namespace mangling
(c) “Since C++ provides procedural programming constructs, C++ is not an
object oriented language”. Comment.
(d) Late binding.

Last edited by Neelurk; May 20th, 2020 at 12:19 PM.
Similar Threads
Thread
Object Oriented Programming Anna University Questions
Anna University Object Oriented Programming Question Paper
Object Oriented Programming Anna University
Anna University Object Oriented Programming Syllabus
Centre for Development of Advanced Computing entrance exam 2014
Centre for Development of Advanced Computing entrance exam deadlines
Centre for Development of Advanced Computing entrance exam syllabus
Java is a pure object oriented programming language or not?
Centre for Development of Advanced Computing entrance exam syllabus
IGNOU Bachelors in Information Technology Object Oriented Programming Exam paper
WBUT MCA 2nd Sem Object-Oriented Programming With C++ Exam paper
DOEACC C Level Object Oriented Methodology previous years question papers
Mumbai University B.E IT 5th Sem Object Oriented Analysis and Design exam paper
PTU MCA 2nd Sem-Object Oriented Programming in C++ (MCA-202) previous years question
Anna University Tirunelveli, B. Tech IT, Object Oriented Programming Exam Papers



Quick Reply
Your Username: Click here to log in

Message:
Options



All times are GMT +5. The time now is 12:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8