This document contains information about the Object Oriented Programming Through C++ examination for the II B. Tech I Semester Supplementary Examinations in July 2023. It lists 10 questions divided among 5 units. Students must answer 5 questions, with each question worth 14 marks. The questions cover topics like the drawbacks of conventional programming and benefits of OOP; key concepts of OOP; constructors and inheritance; polymorphism; and the Standard Template Library containers and algorithms.
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 ratings0% found this document useful (0 votes)
153 views1 page
Object Oriented Programming Through C July 2023
This document contains information about the Object Oriented Programming Through C++ examination for the II B. Tech I Semester Supplementary Examinations in July 2023. It lists 10 questions divided among 5 units. Students must answer 5 questions, with each question worth 14 marks. The questions cover topics like the drawbacks of conventional programming and benefits of OOP; key concepts of OOP; constructors and inheritance; polymorphism; and the Standard Template Library containers and algorithms.
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 - 2023
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 ~~~~~~~~~~~~~~~~~~~~~~~~~ UNIT-I 1 a) List the drawbacks of conventional programming. Explain how object oriented [7M] programming overcome them. b) Mention the similarities and differences between C and C++ [7M] Or 2 a) Explain the key concepts of Object Oriented Programming. [7M] b) Briefly write about the evolution of C++. [7M] UNIT-II 3 a) How will you destroy the objects initialized by the constructor in the program? [7M] b) Write a C++ program, which illustrates the concept of Nested class. [7M] Or 4 a) What is the use of a constructor? Explain default, parameterized and copy [7M] constructors with suitable examples. b) Write a C++ program illustrating Exception overloading. [7M] UNIT-III 5 Describe the three different inheritance behaviors achieved through the use of [14 M] pure virtual, ordinary virtual and non-virtual functions. Or 6 a) Differentiate between hierarchical inheritance and hybrid inheritance with an [7M] example. b) What is a virtual base class? Why it is important to make a class virtual? [7M] UNIT-IV 7 a) What is polymorphism? How it is achieved at compile time and runtime? [7M] Explain both with the help of example. b) Discuss in detail about virtual destructors. [7M] Or 8 a) Write a C++ program that declare and use pointer to an object. [7M] b) Describe the mechanism of creating virtual functions in C++ with an example. [7M] UNIT-V 9 a) Explain the components of Standard Template Library (STL). [7M] b) Write a C++ program that fills a vector with random numbers. [7M] Or 10 a) Write a C++ program that erases all elements in a list using iterators. [7M] b) Explain about different types of containers. [7M] 1 of 1 |''|''|||''|'''|||'|