How To Exam?

a knowledge trading engine...


Rajiv Gandhi Proudyogiki Vishwavidyalaya 2007-3rd Sem M.C.A Computer Aplications .(ester) , .-., - exam paper

Tuesday, 29 January 2013 12:35Web

MCA-302
M.C.A.(Third Semester) EXAMINATION, Nov.-Dec.,2007
OBJECT ORIENTED METHODOLOGY AND C++
(MCA-302)
Time : 3 Hours
Maximum Marks : 100
Minimum Pass Marks : 40

Note : Attempt any 2 parts from every ques.. All ques. carry equal marks.

1.(a) Compare abstraction and encapsulation. provide advantages and disadvantages of polymorphism
in an object-oriented system. What kinds of relationship can be current ranging from two
classes, say A and B ?
(b) Write aclass to keep track of accounts in a bank. Also give suitable constructors.
(c) Compare the subsequent :
(i) Object-oriented and object base language
(ii) Default constructor and parameterized constructor and copy constructor.

2.(a) What is containership or delegation ? How does it differ from inheritance?
(b) Write a program to create a class time containing date, hours, minutes and seconds.
Overload binary '+' operator such that you can add 2 objects of the class time with the
range of minutes and seconds. Display the added object.
(c) elaborate the different forms of inheritance ? discuss with examples with their applicability.

3.(a) Differentiate ranging from the subsequent :
(i) Interface and abstract class
(ii) Early and late binding
(iii) Private, public and protected access modifiers
(b) When are virtual functions created for implementing late binding ? What basic rules should be
observed ? When do we make a virtual function "pure" ?
(c) What is a friend function ? When and how do we declare a class of a friend class ? A friend
function cannot be used to overload the assignment operator. discuss why.

4.(a) Write a program in C++ which use the 'try', 'catch' and 'throw' functions.
(b) How can you create insertors and extractors of your own ? Write down the syntax of both.
(c) Compare the subsequent :
(i) Formatted I/O vs Standard I/O system
(ii) Files vs Manipulators

5.(a) Draw an instance diagram for 2 squares with a common side under the subsequent conditions :
(i) A point belongs to 1 or more polygons.
(ii) A point belongs to almost 2 polygons.
(b) Differentiate among creational, structural and behavioural trend.
(c) Perform OOA and OOD for exam outcomes display system of a University on the subsequent
points :
(i) Identify actors and their responsibilities
(ii) Draw detailed use case diagram
(iii)Draw design class diagram


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Rajiv Gandhi Proudyogiki Vishwavidyalaya 2007-3rd Sem M.C.A Computer Aplications .(ester) , .-., - exam paper