Go Back   2020 2021 EduVark > Education Discussion > General Discussion





  #1  
Old June 23rd, 2014, 09:58 AM
Super Moderator
 
Join Date: Mar 2012
Default 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:49 PM.
Reply With Quote Quick reply to this message
Similar Threads
Thread Thread Starter Forum Replies Last Post
Object Oriented Programming Anna University Questions Unregistered General Discussion 0 March 29th, 2016 11:15 AM
Anna University Object Oriented Programming Question Paper Unregistered General Discussion 0 July 24th, 2015 10:46 AM
Object Oriented Programming Anna University Unregistered General Discussion 0 May 20th, 2015 03:19 PM
Anna University Object Oriented Programming Syllabus Unregistered General Discussion 0 May 20th, 2015 01:48 PM
Centre for Development of Advanced Computing entrance exam 2014 Unregistered Entrance Exams 1 July 10th, 2014 05:11 PM
Centre for Development of Advanced Computing entrance exam deadlines Unregistered Entrance Exams 1 July 8th, 2014 03:26 PM
Centre for Development of Advanced Computing entrance exam syllabus Unregistered Entrance Exams 1 July 3rd, 2014 03:04 PM
Java is a pure object oriented programming language or not? Harsh Pandit General Discussion 0 June 25th, 2014 07:55 PM
Centre for Development of Advanced Computing entrance exam syllabus Unregistered Entrance Exams 1 June 24th, 2014 02:20 PM
IGNOU Bachelors in Information Technology Object Oriented Programming Exam paper Harsh Pandit General Discussion 0 June 22nd, 2014 02:06 PM
WBUT MCA 2nd Sem Object-Oriented Programming With C++ Exam paper Rohit Barla General Discussion 0 June 20th, 2014 05:38 PM
DOEACC C Level Object Oriented Methodology previous years question papers Nitin Sharma General Discussion 0 June 19th, 2014 02:26 PM
Mumbai University B.E IT 5th Sem Object Oriented Analysis and Design exam paper Nitin Sharma General Discussion 0 June 19th, 2014 01:51 PM
PTU MCA 2nd Sem-Object Oriented Programming in C++ (MCA-202) previous years question Anuj Bhola General Discussion 0 June 17th, 2014 05:37 PM
Anna University Tirunelveli, B. Tech IT, Object Oriented Programming Exam Papers Nitin Sharma General Discussion 0 June 14th, 2014 02:48 PM

Reply


Quick Reply
Your Username: Click here to log in

Message:
Options



All times are GMT +5.5. The time now is 11:58 AM.


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

1 2 3 4 5 6 7 8