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

DL 9782

The document outlines an examination paper for a Third Semester B.E./B.Tech. Degree course on Object Oriented Programming with C++. It includes various questions across multiple modules covering topics such as constructors, inheritance, polymorphism, exception handling, and file operations in C++. Each question is designed to assess understanding and application of C++ programming concepts.

Uploaded by

MADHAV MANGALE
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)
18 views2 pages

DL 9782

The document outlines an examination paper for a Third Semester B.E./B.Tech. Degree course on Object Oriented Programming with C++. It includes various questions across multiple modules covering topics such as constructors, inheritance, polymorphism, exception handling, and file operations in C++. Each question is designed to assess understanding and application of C++ programming concepts.

Uploaded by

MADHAV MANGALE
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

USN D > 11 1 g 2 BC53068

T hird Se mester B.E./B.Tech. Degree mination, D ec.2024 I J an.2025


E xa
Object Oriented Programming with G++
Time: 3 hrs. Max. Marks: 100
Note: l. Answer any FIW full questions, choosing ONE full question from each module.
2. M: Marks, L: Bloom's level , C: Coune outcomes.

Module - 1 M L C
Q.1 a. What is meant by constructor? Discuss the types of constructors in C++ 07 L2 col
with example.
b. Demonstrate with example, how friend functions, friend classes and inline 07 L2 col
functions are useful in C++.
c. With a sample program, demonstrate the general format of a C++ program. 06 L3 col
OR
Q.2 a. List the various access specifiers supported by OOPs. Illustrate their use. 07 L2 col
b. What is the significance of static data and member functions in C++? 07 L2 col
Explain.
c. What is Object Oriented Programming? Explain its features. 06 L2 col
Module - 2
Q.3 a. Develop a object oriented program to find the smallest and biggest among 07 L3 co2
array elements.
b. Discuss pointers to object with example code. Also discuss their 07 L2 co2
advantages.
c. Explain different array type in C++ with suitable example code snippet. 06 L3 co2
OR
Q.4 a. What is "this" pointer? Illustrate the use of "this" pointer in C++. 07 L2 co2
b. Discuss when two or more functions are said to be overloaded. Identifv the 07 L2 co2
causes of ambizuity in function overloadine.
c. What is a dynamic constructor? Explain with an example program. 06 L3 co2
Module -3
Q.s a. List the operators in C++ that can not be overloaded. Develop a C+ 07 L3 co3
program using "Time" class, to overload the '*' and '-' operators.
b. Illustrate the role ofaccess-specifiers in different level ofinheritances. 07 L2 co3
c. Discuss various types of inheritances with suitable example codes. 06 L3 co3
OR
Q.6 a. Illustrate the use of constructors and destructors in inheritance in C++ 07 L2 co3
b. Develop a program in C++ to derive a class "Manager" from class "Person" 07 L3 co3
and "Employee". Consider suitable data members and member-functions
for the classes.
c. Explain "Virtual base Class" with an example. 06 L3 co2

I of2
BC53()6B

Module -4
a. ng the use of the Pure Virtual function 07 L3 co4
Q.7
using base and derived classes. Also explain the coda
b. What is polymorphism in C++? Explarn its types with examph 07 L3 co4
c. gxptain virtual function in C++. Discuss what is early and late binding. 06 L2 co4

OR
a. Wlat u.e generic functions? Demonstrate the use of generic function in 07 L2 co4
Q.8
swapping two variables of any t1pe.
b. @yword? Discuss their usage. Discuss the 07 L2 co4
advantages of using templates in C#.
c. E^pt"t" th" .,r" a class template. Also explain class template with 06 L3 co4
"f
suitable code snipplet.

Module - 5
Q.e a. E.pt"t, th" fundamentals of exception handling in c++. Analyze the 07 L2 co5
benefits of exception handling.
b. Discuss different standard exceptions in C++ 07 L2 co5
c. O*"top u Ci+ program to demonstrate the usage of try catch and through 06 L3 cos
to handle exceptions.

OR
Q.10 a. Wt at are the different file opening modes in C++? Compare and contrast 07 L2 co5
file ooenins modes.
b. Explain file streams with examPle. 06 L3 co5
c. D.*t"p C++ p-gram to create a text file, check file is created or not, if 07 L3 co5
"
created, write some text in to the file and the read and display the text from
the file.
**d.,i*

2 ofZ

You might also like