MCA213- OBJECT ORIENTED PROGRAMMING – C++


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601

DRIVE
fall – 2017
PROGRAM
MASTER OF COMPUTER APPLICATION
SEMESTER
II
SUBJECT CODE & NAME
MCA213- OBJECT ORIENTED PROGRAMMING – C++

Set 1
Q1. What are the advantages of Polymorphism? How it can be implemented? 5+5=10
Answer: Advantages
·       Code is simpler to write (
·        
Q2. Differentiate between Containers and Iterators 5+5= 10
Answer: Containers
STL provides a number of container types, representing objects that contain other objects. The STL contains sequence containers and associative containers. The standard sequence containers include vector,

Q3. Describe the two basic exception handling models. 5+5= 10
Answer: If you encounter an exceptional situation in your code – that is, one where you don’t have enough information in the current context to decide what to do – you can send information about the error into a larger


Set 2
Q1. Write short notes on:
a) Inheritance
b) Polymorphism 5+5 = 10
Answer:
A) Inheritance
Inheritance is one of the most powerful features of Object Oriented Programming Languages that allows you to derive a class from an existing class and inherit all the characteristics and


Q2. Differentiate between Classes and Objects. Write an example program to represent a class and its object. 4+6= 10
Answer:
Classes and objects are separate but related concepts. Every object belongs to a class and every class

Q3. Describe operator overloading. Which are the operators that cannot be overloaded?
5+5= 10
Answer: Operator overloading is an interesting feature of C++ that allows programmers to specify how various arithmetic, relational and many other operators work with user defined data types or classes


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.