Friday, May 29, 2015

BE 6C0094 (2007/08/09) Programming in C++ Sathyabama University Dec 2010

Register Number







                               
SATHYABAMA UNIVERSITY
(Established under section 3 of UGC Act, 1956)

Course & Branch: B.E/B.Tech – AERO/AUTO/CSE/MECH/M&P/IT
Title of the Paper: Programming in C++               Max. Marks: 80
Sub. Code: 6C0094 (2007/08/09)                           Time: 3 Hours
Date: 13/12/2010                                                    Session: FN
______________________________________________________________________________________________________________________

PART - A                (10 X 2 = 20)
Answer ALL the Questions
1.     List out the characteristics of object oriented programming.

2.     What are the merits and demerits of object oriented methodology?

3.     Can the parameter of a copy constructor be passed by value?

4.     How does a constructor differ from a normal function?

5.     Define a class time with hr, min, sec and create 10 objects of it.

6.     Specify the limitation of multiple inheritance.

7.     What is pure virtual function?

8.     In what order are the class constructor called when derived class object is created?

9.     Justify the need for virtual function in C++.

10.   Distinguish between synchronous and asynchronous exception.

PART – B                       (5 x 12 = 60)
Answer All the Questions

11.   Explain the basic concept of object oriented programming.
(or)
12.   With examples, discuss the various control flow statements in C++.  
13.   List out the different types of constructors and destructors with examples.
(or)
14.   (a)    Define Friend class and specify its importance with an 
        example this.
        (b)   What is the pointer? When is it used? Give an example.

15.   Write a C++ program to swap multiple type values using templates.
(or)
16.   Write a C++ program to compare two distances given in feet and inches to check whether one distance is less than the other by overloading < operator.

17.   Create an abstract base class ‘polygon’ with ‘base’ and ‘height’ as members, a function for initialization and a pure virtual function to compute area.
(or)
18.   (a)    What is the use of virtual base class? Explain with an
                example.
        (b)   Explain multiple inheritance with an example.

19.   What is an exception? Explain the various constructs used for handling exceptions. Give an example.
(or)
20.   Discuss in detail the various file operations and file modes in C++.




Share This
Previous Post
Next Post

B.E Civil Engineer Graduated from Government College of Engineering Tirunelveli in the year 2016. She has developed this website for the welfare of students community not only for students under Anna University Chennai, but for all universities located in India. That's why her website is named as www.IndianUniversityQuestionPapers.com . If you don't find any study materials that you are looking for, you may intimate her through contact page of this website to know her so that it will be useful for providing them as early as possible. You can also share your own study materials and it can be published in this website after verification and reviewing. Thank you!

0 comments:

Pen down your valuable important comments below

Search Everything Here