MCA (Sem. - I) Examination May - 2023 Object Oriented Programming Methodology (Paper - 102)
MCA (Sem. - I) Examination May - 2023 Object Oriented Programming Methodology (Paper - 102)
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)
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.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.5 A) What is template class? What is the use of template class in C++? 7
RAN-2111040101020002 ] [2] [ 20 ]