How To Exam?

a knowledge trading engine...


Annamalai University 2010-4th Sem B.E Computer Science and Engineering , (ester) COEC-402OBJECT- ORIENTED PROGRAMMING AND C++ (New regulation) (for the students joined during 2007-2008

Sunday, 10 March 2013 07:20Web

B.E. DEGREE EXAMINATION, 2010
(COMPUTER science and engineering)
(Fourth semester)
COEC-402OBJECT- ORIENTED PROGRAMMING AND C++
(New regulation)
(for the students joined during 2007-2008 and after)

[may] [Time three hours]
maximum:60 marks
Answer any 1 full ques. from every unit.
All ques. carry equal marks.

UNIT - I

1.(a) Briefly compare object oriented programming language
with procedure oriented programming language.
[marks 8]
(b) What is meant by reusability ? how
C++ supports reusability ? [marks 4]

2. (a) define the significance of the keywords
private ,public and protected in a class. [marks 8]

(b). describe static and dynamic binding. [marks 4]


UNIT - II
3.(a) define the various data kinds in c++.
[marks 8]

(b)What is a reference variable and elaborate the uses
of reference variable ? [marks 4]

4.Explain the subsequent with suitable examples:

(i) Base class. [marks 4]

(ii) Derived class. [marks 4]

(iii) Abstract class. [marks 4]

(iv) virtual class. [marks 4]

UNIT -III
5.(a) With suitable example , discuss how objects
are passed to and returned from functions in
C++. [marks 8]

(b) discuss inline function with suitable
example . [marks 4]

6.(a) define the various ways to describe the member
functions every suitable example. [marks 8]

(b) elaborate default arguments? discuss the
uses of default arguments. [marks 4]

UNIT - IV

7. What is a constructor ? define the various kinds of
constructors in detail every with suitable example.
[marks 12]

8.(a) What is a friend function and elaborate the advantage
and disadvantage of friend functions ?
[marks 6]
(b) write a C++ program to overload '+'
and '-' opreators to obtain the sum and the difference of
two complex numbers using friend functions.
[marks 6]

UNIT - V

9.(a) discuss multiple and multi-level inheritance
with suitable example. [marks 6]

(b) Write a C++ program to copy the content of 1
file to a different file using command line
argument. [marks 6]
10.(a) discuss the stream classes available in
C++ for console operations. [marks 6]
(b) define briefly teh features of I/O system
supported by C++. [marks 6]



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Annamalai University 2010-4th Sem B.E Computer Science and Engineering , (ester) COEC-402OBJECT- ORIENTED PROGRAMMING AND C++ (New regulation) (for the students joined during 2007-2008