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

MCA (Sem. - I) Examination May - 2023 Object Oriented Programming Methodology (Paper - 102)

Question paper
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)
28 views2 pages

MCA (Sem. - I) Examination May - 2023 Object Oriented Programming Methodology (Paper - 102)

Question paper
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

*RAN-2111040101020002*

R A N - 2 1 1 1 0 4 0 1 0 1 0 2 0 0 0 2

RAN-2111040101020002
MCA (Sem. - I) Examination May - 2023
Object Oriented Programming Methodology (Paper - 102)

Time: 3 Hours ] [ Total Marks: 70

k|Q“p : / Instructions
(1) “uQ¡ v$ip®h¡g  r“ip“uhpmu rhNsp¡ DÑfhlu ‘f Ahíe gMhu. Seat No.:
Fill up strictly the details of  signs on your answer book
Name of the Examination:
 MCA (Sem. - I)
Name of the Subject :
 Object Oriented Programming Methodology (Paper-102)
Subject Code No.: 2111040101020002 Student’s Signature

Q.1 A) What is OOP? How is it difference than procedure-oriented programming?


Explain encapsulation and abstraction concept with example 7
OR
Q.1 A) What is constructor? Write a program to take give value to class variables
with constructor. Is it required to use destructor compulsory?

Q.1 B) Explain different type of manipulator? 5

Q.1 C) What are the classes of ios class? 2

Q.2 A) What are the different methods to open a file in your program?
List out various file opening methods with proper example. 7

Q.2 B) What is the use of friend function? Write a program to illustrate use
of friend function 5
OR
Q.2 B) What is the difference between function overloading and function
overriding?

Q.2 C) What is inline function? 2


P1983

RAN-2111040101020002 ] [1] [ P.T.O. ]


Q.3 A) Write a program to overload + and == to operator to concatenate two
strings and compare strings 7
OR
Q.3 A) Write a program to read data from file which contains mobile product data
( productid, productname, price, brand) and display mobile product
which is of price more than 10000 7

Q.3 B) Explain different types of type conversion. 5

Q.3 C) What is this pointer? 2

Q.4 A) What is hierarchical inheritance? Write a program to illustrate this


inheritance with base class exam and two derived classes internal exam
and external exam. 7

Q.4 B) Explain exception handling concept with example 5


OR
Q.4 B) Explain static member variable and static member function with proper
example.

Q.4 C) Explain read mode of file 2

Q.5 A) What is template class? What is the use of template class in C++? 7

Q.5 B) Explain functions and containers of STL with example 5


OR
Q.5 B) Explain abstract class concept

Q.5 C) What is default constructor? 2


P1983

RAN-2111040101020002 ] [2] [ 20 ]

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