Sunday, 21 June 2015

mca2030 smu mca Spring 2015 IInd sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 625/semester only.
if urgent then call us on 08791490301, 08273413412
Spring 2015, ASSIGNMENT
PROGRAM – MCA (REVISED FALL 2012)
SEMESTER - 2
SUBJECT CODE & NAME - MCA2030- OBJECT ORIENTED PROGRAMMING – C++
CREDIT – 4 BK ID - B1641, MAX. MARKS - 60

Q1. Write short notes on:
a) Switch statement
b) Conditional Operator
Answer:
a) Switch statement:
switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Syntax:


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 contains one or more


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,


Q4. What are the advantages of Polymorphism? How it can be implemented? 5+5=10
Answer: Advantages
·         Code is simpler to write (and read)
·         Uniform interface for clients, i.e., type specific details only in class code, not in the client code
·         Change in types in

Q5. 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, deque and list, sequence containers in, as their name suggests, store data in linear sequence. The standard associative


Q6. Describe the two basic models in exception handling theory. 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 context by creating an object containing that information and “throwing” it out of your

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 625/semester only.
if urgent then call us on 08791490301, 08273413412



No comments:

Post a Comment