0% found this document useful (0 votes)
24 views1 page

Nov 2017

The document is an exam paper for an Object Oriented Programming through C++ course. It contains two parts - Part A with short questions and Part B with longer answer questions. Part A asks about advantages of OOP through C++, function overloading principles, friend function properties, anonymous objects, virtual function rules, and differences between templates and macros. Part B asks questions about console I/O, memory management operators, function overloading, call by value vs call by address, friend classes, constructors, operator overloading, inheritance, virtual functions, exception handling, and file operations.

Uploaded by

ad599066
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

Nov 2017

The document is an exam paper for an Object Oriented Programming through C++ course. It contains two parts - Part A with short questions and Part B with longer answer questions. Part A asks about advantages of OOP through C++, function overloading principles, friend function properties, anonymous objects, virtual function rules, and differences between templates and macros. Part B asks questions about console I/O, memory management operators, function overloading, call by value vs call by address, friend classes, constructors, operator overloading, inheritance, virtual functions, exception handling, and file operations.

Uploaded by

ad599066
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Code No: RT21051 R13 SET - 1

II B. Tech I Semester Supplementary Examinations, Oct/Nov - 2017


OBJECT ORIENTED PROGRAMMING THROUGH C + +
(Com. to CSE, IT)
Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)
2. Answer ALL the question in Part-A
3. Answer any THREE Questions from Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PART –A

1. a) What are the advantages of OOPs through C++ (4M)


b) Explain the principles of function overloading (3M)
c) Explain the properties of friend functions (4M)
d) What is anonymous object (3M)
e) What are the rules for virtual functions (4M)
f) Distinguish between template and macro (4M)

PART –B

2. a) Describe about the console I/O operations (10M)


b) Explain the peek( ) and ignore( ) functions with a example (6M)

3. a) Explain about the memory management operators (8M)


b) Write a program to find the area of rectangle, triangle and sphere by using (8M)
function overloading

4. a) Distinguish between call by value and call by address with an example (8M)
b) Write a program to exchange values between two classes using friend classes (8M)

5. a) Explain the different types of constructors with an example (8M)


b) Write a program to overload + binary operator for complex numbers (8M)

6. a) What is inheritance? Explain the different types of inheritances used in C++ (8M)
b) Write a program to define virtual, non virtual functions and determine size of (8M)
the object

7. a) WAP that includes a try block and a catch clause which processes the (8M)
arithmetic exception generated by division-by-zero error
b) Explain about the sequential and random access file operations (8M)

1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||

You might also like