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

Object Oriented Programming Through C July 2022

This document contains 10 questions related to Object Oriented Programming through C++. It provides instructions for a supplementary examination with questions covering various C++ concepts like principles of OOP, structure of C++ programs, data organization, function overloading, operator overloading, inheritance, polymorphism, virtual functions, templates, and the use of containers like vectors, maps, and lists. Students are required to attempt 5 questions out of the 10, with each question carrying equal marks of 7.

Uploaded by

dileepvikram143
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)
133 views1 page

Object Oriented Programming Through C July 2022

This document contains 10 questions related to Object Oriented Programming through C++. It provides instructions for a supplementary examination with questions covering various C++ concepts like principles of OOP, structure of C++ programs, data organization, function overloading, operator overloading, inheritance, polymorphism, virtual functions, templates, and the use of containers like vectors, maps, and lists. Students are required to attempt 5 questions out of the 10, with each question carrying equal marks of 7.

Uploaded by

dileepvikram143
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: R2021051 R20 SET - 1

II B. Tech I Semester Supplementary Examinations, July - 2022


OBJECT ORIENTED PROGRAMMING THROUGH C++
(Com to CSE, IT)
Time: 3 hours Max. Marks: 70
Answer any FIVE Questions each Question from each unit
All Questions carry Equal Marks
~~~~~~~~~~~~~~~~~~~~~~~~~
1 a) Explain the principles of Object Oriented Programming. [7M]
b) Give the structure of a C++ Program. [7M]
Or
2 a) How data and functions are organized in Object Oriented Program? Explain with [7M]
an example.
b) Compare the features of C programming language to that of C++ programming [7M]
language.

3 a) What is the difference be inline member function and volatile member function? [7M]
Give examples.
b) Write a C++ program to overload area () function to calculate area of shapes like [7M]
triangle, square, circle.
Or
4 a) What are the methods used to pass an argument to a function? Explain with [7M]
Examples.
b) Write a C++ program to declare object and display their contents. [7M]

5 a) Give the rules for operator overloading. Discuss an example. [7M]


b) Describe the concept of Volatile member function. [7M]
Or
6 a) Write a C++ program to implement multiple inheritances with public access [7M]
specific.
b) Write about C++ Operator Overloading working example. [7M]

7 a) How virtual functions can be used to implement runtime polymorphism? [7M]


Describe.
b) With an example explain how late binding can be achieved in C++. [7M]
Or
8 a) What is virtual base class? Write a C++ program illustrating virtual base [7M]
Classes?
b) What are virtual functions? Describe the rules for declaring virtual functions. [7M]

9 a) Explain different ways of initializing a vector with programming examples. [7M]


b) Write a C++ program to insert elements into a map. [7M]
Or
10 a) Write a function template for finding the minimum value in an array. [7M]
b) Write a C++ program to insert elements into a list. [7M]

1 of 1
|''|''|||''|'''|||'|

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