0% found this document useful (0 votes)
5 views3 pages

OOPS

The document is an examination paper for a B.Tech. course on Object Oriented Programming and Methodology, consisting of 8 questions. It covers various topics including object-oriented concepts, inheritance, encapsulation, polymorphism, exception handling, and multithreading. Students are required to attempt any five questions, with each question carrying equal marks.
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)
5 views3 pages

OOPS

The document is an examination paper for a B.Tech. course on Object Oriented Programming and Methodology, consisting of 8 questions. It covers various topics including object-oriented concepts, inheritance, encapsulation, polymorphism, exception handling, and multithreading. Students are required to attempt any five questions, with each question carrying equal marks.
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/ 3

https://www.rgpvonline.com https://www.rgpvonline.

com

Total No. of Questions : 8] [1] [Total No. of Printed Pages : 6 [2]

Roll No .................................. Procedural programming languages Ed§ object oriented


programming language Ho$ ‘ܶ A§Vamo H$s ì¶m»¶m H$s{O¶o&
CS/CT/CO-305-CBGS Object oriented àH«$‘ Ho$ JwU Ed§ Xmof ³¶m h¡?
B.Tech., III Semester
Examination, June 2020 2. a) Discuss the role of object model regarding object
Choice Based Grading System (CBGS) oriented technology and why and when it is beneficial to
design object model for any task?
Object Oriented Programming and Methodology
Time : Three Hours Object oriented VH$ZrH$ ‘| object model H$s ^y{‘H$m H$mo ~VmB¶o
Maximum Marks : 70 VWm H$~ Am¡a ³¶m| {H$gr H$m¶© H$mo H$aZo hoVw object model ~ZmZm
Note: i) Attempt any five questions. bm^àX h¡?
{H$Ýht nm±M àíZm| H$mo hb H$s{OE& b) What do you mean by the term IO processing? What are
ii) All questions carry equal marks. the different I/O Library Header Files? Explain the
g^r àíZm| Ho$ g_mZ A§H$ h¢& “Iostream.h’ file in detail. Write the functionality of the
standard Output Stream (cout).
iii) In case of any doubt or dispute the English version
question should be treated as final. IO processing nX go Amn ³¶m g‘PVo h¡? {d{^ÝZ àH$ma
{H$gr ^r àH$ma Ho$ g§Xho AWdm {ddmX H$s pñW{V ‘| A§JO
o« r ^mfm Ho$ I/O Library Header Files H$m¡Z-H$m¡Z-go h¡? “Iostream.h”
Ho$ àíZ H$mo A§{V‘ ‘mZm Om¶oJm& file H$s {dñV¥V ‘| ì¶m»¶m H$s{O¶o& Standard Output Stream
(cout) H$s H$m¶©àUmbr H$mo {bI|&
1. a) What do you understand by object oriented programming?
What are the advantages of programming using object
oriented? Explain and define various OOP concepts in brief. 3. a) Explain the concept of Encapsulation and data abstraction
Object oriented programming go Amn ³¶m g‘PVo h¡? Object in detail. Write a C++ program to show these concepts in
object oriented programming methodology. Define scope
Oriented Ho$ Ûmam programming H$aZo go ³¶m bm^ h¡? OOP Ho$
and life of any variable.
{d{^Þ g§H$ënZmAm| H$mo n[a^m{fV H$a| VWm CZH$s g§jno ‘| ì¶m»¶m
H$s{O¶o& Encapsulation Ed§ data abstraction H$s g§H$ënZm H$s {dñV¥V
ê$noU ì¶m»¶m H$s{O¶o& Object oriented programming àH«$‘ Ho$
b) Explain the difference between procedural programming
language and object oriented programming language. What
BZ JwUm| H$mo Xem©Vo hþE EH$ C++ program H$mo {bI|& Scope Ed§
are the merits and demerits object oriented methodologies variable Ho$ OrdZ H$mo n[a^m{fV H$s{O¶o&
explain them.
CS/CT/CO-305-CBGS PTO CS/CT/CO-305-CBGS Contd...
PTO

https://www.rgpvonline.com https://www.rgpvonline.com
https://www.rgpvonline.com https://www.rgpvonline.com

[3] [4]

b) What do you mean by the term class and object? What is Object oriented programming ‘| inheritance H$s nrN>o H$s
the relation and difference between these two? Write an ‘yb g§H$ënZm H$s EH$ CXmhaU boH$a ì¶m»¶m H$a|& Multiple ,
example (syntax) to define a class in C++. Explain abstract
multilevel Ed§ hybrid inheritance H$mo aoIm{MÌ VWm {dݶmg Ho$
class and singleton class in brief.
Ûmam n[a^m{fV H$s{O¶o&
Class VWm object nX go Amn ³¶m g‘PVo h¡? BZ XmoZm| Ho$ ‘ܶ
b) Explain the concept of association an aggregation in
³¶m g§~Y§ Ed§ A§Va h¡? C++ ‘| class H$mo n[a^m{fV H$aZo Ho$ {bE object oriented approach. What is and Abstract class? Why
EH$ CXmhaU X| ({dݶmg g{hV)& Abstract class Ed§ singleton Abstract classes are used?
class H$s g§jon ‘| ì¶m»¶m H$s{O¶o&
Object oriented VarHo$ ‘| association Ed§ aggregation
4. a) What are the access modifiers? How many types of access g§H$ënZm H$s ì¶m»¶m H$a|& Abstract class ³¶m h¡? Abstract
modifiers are available in C++. Explain each one in detail
classes ³¶m| à¶moJ {H$¶o OmVo h¡?
and their role in implementing the data hiding in object
oriented programming.
6. a) Discuss Polymorphism in detail. What are the different
Access modifiers ³¶m h¢? C++ ‘| {H$VZo àH$ma Ho$ access
ways to implement Polymorphism in C++, discuss them
modifier CnbãY h¢? à˶oH$ {dñV¥V ê$n go Ed§ object oriented in brief. Give differences between function overloading
programming ‘| data hiding H$mo bmJw H$aZo ‘| CZH$s ^y{‘H$m H$s and function overriding (or method overriding) by writing
ì¶m»¶m H$s{O¶o& its syntax.

b) Explain the role of constructor and destructor in a class. Polymorphism H$mo {dñV¥V ‘| ~VmB¶o C++ ‘o§ Polymorphism
What are the different types of constructors in C++? H$mo bmJw H$aZo Ho$ {d{^ÝZ VarHo$ H$m¡Z-H$m¡Z go h¡? g§jno ‘| ~VmB¶o&
Write the appropriate syntax for the copy constructor and Function overloading Ed§ Function Overriding (AWdm
parameterized constructors.
method overriding) Ho$ ‘ܶ CZHo$ {dݶmg ~VmVo hþ¶o A§Va X|&
Class ‘| constructor Ed§ destructor H$s ^y{‘H$m H$s ì¶m»¶m
b) Write a C++ program to calculate the area of rectangle,
H$s{O¶o& C++ ‘| {H$VZo {^Þ-{^Þ àH$ma Ho$ constructors h¡?
square and circle using constructor overloading that
Copy constructor Ed§ Ho$m parameterized constructor Ho$ accepts input from the user and then shows the desired
{bE C{MV {dݶmg H$mo {bI|& result.
Constructor overloading H$m à¶moJ H$aVo hþE Am¶V, dJ© Ed§
5. a) Explain the fundamental concept behind inheritance in
object oriented programming by taking an example.
d¥Îm Ho$ joÌ’$b H$s JUZm H$aZo Ho$ {bE EH$ C++ program H$mo
Define multiple, multilevel and hybrid inheritance with {bI§o {Og‘| à¶moJH$Vm© go input àmßV {H$¶m Om¶o VWm BpÀN>V
diagram and syntax. n[aUm‘ {XIm¶m Om¶o&
CS/CT/CO-305-CBGS PTO
P.T.O. CS/CT/CO-305-CBGS PTO
Contd...

https://www.rgpvonline.com https://www.rgpvonline.com
https://www.rgpvonline.com https://www.rgpvonline.com

[5] [6]

7. a) What are the Exception and how they handled? What do b) Explain in detail about the object oriented methodology
you mean by Array Index Out of Bounds Exception and of designing any library management system. What are
Null Pointer Exception? What are the uses of keyword the various object and class diagram in it? Design and
try, catch and throw? Explain with an example. briefly explain them.
Exception ³¶m h¡ Ed§ {H$g àH$ma BZH$mo g§^mbm OmVm h¡? Array [H$gr nwñVH$mb¶ à~§Y V§Ì H$mo ~ZmZo Ho$ {bE object oriented
Index Out of Bounds Exception Ed§ Null Pointer Exception VarHo$ H$s {dñVma ‘| ì¶m»¶m H$s{O¶o& {d{^Þ àH$ma Ho$ object VWm
go Amn ³¶m g‘PVo h¡? try, catch Ed§ throw H$sdS>© H$m ³¶m class diagram Bg‘| ³¶m-³¶m h¡? g§jon ‘| ì¶m»¶m H$aVo hþE
à¶moJ h¡? CXmhaU Ho$ gmW ì¶m»¶m H$s{O¶o& BZH$mo ~ZmB¶o&
b) Explain the concept of multithreading in object oriented
programming approach? Writes its benefits. Discuss the ******
collection and its type. What is a collection class?
Object oriented programming Ho$ VarHo$ ‘| multithreading
g§H$ënZm H$s ì¶m»¶m H$s{O¶o& BgHo$ bm^m| H$mo {bIo§ Collection
Ed§ BgHo$ àH$mam| H$mo ~VmB¶o& Collection class ³¶m h¢?

8. a) Write short notes on any two.


i) Virtual functions
ii) Operator overloading
iii) Interface
iv) Inline function
{H$Ýht Xmo na g§{jßV {Q>ßn{U¶m± {bI|&
i) Am^mgr functions
ii) Operator overloading
iii) Interface
iv) Inline function

CS/CT/CO-305-CBGS PTO CS/CT/CO-305-CBGS PTO

https://www.rgpvonline.com https://www.rgpvonline.com

You might also like