Browse papers
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1long10 marks

What is a friend function? Explain its characteristics. Write a C++ program using a friend function to add two objects of a class.

friend-function
2long10 marks

What is function overloading? Differentiate between function overloading and function overriding with examples.

function-overloading
3long10 marks

Explain exception handling in C++. Write a program using try, catch and throw to handle division by zero.

exception-handling
B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4short5 marks

What is a constructor? List its characteristics.

constructor
5short5 marks

Differentiate between early binding and late binding.

polymorphism
6short5 marks

What is the 'this' pointer?

this-pointer
7short5 marks

Explain the friend class concept.

friend-function
8short5 marks

What are the advantages of inheritance?

inheritance
9short5 marks

Write a note on dynamic memory allocation in C++.

memory
10short5 marks

What is type conversion? Mention its types.

type-conversion
11short5 marks

Differentiate between overloading and overriding.

function-overloading
12short5 marks

What is a template function?

templates