0% found this document useful (0 votes)
53 views2 pages

OOPs 2021 KUK Btech CSE

This document is an examination paper for Object Oriented Programming with a total of 75 marks. It consists of eight questions covering various topics such as inline substitution, destructors, pointers, operator overloading, memory types, inheritance, virtual functions, exception handling, file storage of class objects, and templates. Candidates are required to attempt any five questions from the provided list.

Uploaded by

dishusharma2122
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)
53 views2 pages

OOPs 2021 KUK Btech CSE

This document is an examination paper for Object Oriented Programming with a total of 75 marks. It consists of eight questions covering various topics such as inline substitution, destructors, pointers, operator overloading, memory types, inheritance, virtual functions, exception handling, file storage of class objects, and templates. Candidates are required to attempt any five questions from the provided list.

Uploaded by

dishusharma2122
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/ 2

Roll No.

Total Pages : 2

BT-3/D-21 43134
OBJECT ORIENTED PROGRAMMING
Paper-PC-CS-203

Time : Three Hours] [Maximum Marks :


75

Note : AIl questions carry equal marks. Attempt any five


questions in all.

1. (a) What is an inline substitution?


(b) What is meant by break statement ? How it is involved
in constructing a multiway switch-case structure ?
2. (a) What are destructors. When they are called and what is
their utility?
(b) In what way destructor is different from delete
operator?

3. (a) How can private members be accessed using pointers ?


(b) What is the difference between array of pointers and
pointer to the array?

4. (a) Why is the "assignment" operator function not inherited.


Explain.
(b) Under what circumstances overloading using friend
function becomes necessary ?

5. (a) Write an object oriented program in C++ to read set of


lines and find out the number of characterS, Words and
lines in a given text.

43134//KD/58 [P.T.O.
LearnLoner.com
and Jate
(b) What is the differencc betwccn carly binding
binding in C++?

6. (a) What are the differences between static and dynami


memory ?
influence
(b) What is inheritance ? How does inheritance
the size and functionality of derived class objects
2

7. (a) Explain the concept of Virtual and Pure Virtual


Functions with the help of examples.
(b) What is exception handling ? What will happen if an
exception is thrown for which no matching catch()
block is defined ?

8. (a) Explain how array of class objects can be stored and


retreived from a file ?
(b) What is a Template? What is the difference between
template and macros. Create a template for displaying
the reverse of string function.

43134//KD/58 2
LearnLoner.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy