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

Ecommerce III BCA Model I

The document is an exam paper for the Object-Oriented Programming in C++ course at Padmavani Arts and Science College for Women, covering various topics such as user-defined conversions, constructors, and file handling. It consists of multiple-choice questions, short answer questions, and essay-type questions. The exam is structured into three sections with a total of 75 marks.

Uploaded by

Vidhya Elango
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views1 page

Ecommerce III BCA Model I

The document is an exam paper for the Object-Oriented Programming in C++ course at Padmavani Arts and Science College for Women, covering various topics such as user-defined conversions, constructors, and file handling. It consists of multiple-choice questions, short answer questions, and essay-type questions. The exam is structured into three sections with a total of 75 marks.

Uploaded by

Vidhya Elango
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

PADMAVANI ARTS AND SCIENCE COLLEGE FOR WOMEN, SALEM-11 10. How are types there in user-defined conversion?

a) 1 b)2 c)3 d)4


DEPARTMENT OF COMPUTER SCIENCE
MODEL EXAM-I 11. Pick out the correct syntax of operator conversion.
a) operator float()const b) operator float()
SUB: OBJECTORIENTEDPROGRAMMINGINC++ P_CODE:
c) operator const d) operatorconst()
Class: I B.C.A Max.Mark: 75
12. Early binding can be implemented by which of the following?
DATE: Hours:3hrs
a) Virtual function b) Function overriding
SECTION-A c) Function overloading d) B and C
Answer all questions 1*15=15 13. A binary search algorithm is an algorithm that is used for
1. Which of the following is the correct syntax of including a user defined header files in C+ a) Divide and conquer method b) Linear way to search values
+? c) Bubble sorting technique d) None of them
a) #include[userdefined] b)#include “userdefined”
c) #include<userdefined.h> d)#include<userdefined> 14. Whichofthefollowingisthedefaultmodeoftheopeningusingtheifstreamclass?
a) ios::in b) ios::out c) ios::app d) ios::trunk
2. Which of the following is a correct identifier in C++?
15. Which function is used in C++ to get the current position of file pointer in a file?
a) VAR_1234 b) $var_name c) 7VARNAME d)7var_name
a) tell_p() b) get_pos() c) get_p() d) tell_pos()
3. Which of the following is not a type of Constructor in C++?
SECTION-B
a) Default constructor b)Parameterized constructor
Answer ANY TWO questions 5*2=10
c) Copy constructor d) Friend constructor
16.Write short notes on the inline functions?
4. Which of the following approach is used by C++? 17.Write about the Declaring Objects?
Left-right b)Right-left c)Bottom-up d)Top-down 18.Write about the type conversion?
19.Write about the pointer to derived classes and base classes
5. What is the type of elements of array of objects? 20.Define Random Access Operation?
a)Class b) Void c)String d)Null SECTION-C
Answer ALL questions 5*10=50
6. How the objects of array can be denoted? 21. a Write about the I/O in c++? (or)
a)Indices b) Name c)Random numbers d)Alphabets b. Explain about the functions and its types

7. The Object array is created in 22. a. Briefly explain about the Constructor and destructor? (or)
a)Heap memory b)Stack memory c) HDD d)ROM b. Discuss about the Overloading member functions

8. Which is the correct syntax of defining a pure virtual function? 23. a. Discuss about the overloading functions? (or)
a) pure virtual return_typefunc(); b) virtual return_typefunc() pure; b. Discuss about the Abstract Classes?
c)virtual return_typefunc()=0; d) virtual return_typefunc();
24. a. Explain about the Pointer to class Objects? (or)
9. What is the return type of the conversion operator? b. Explain about the Polymorphism and Virtual Functions
a) void b)int c) float d)no return type
25. a. Explain about the String (or)
b. Explain about the Miscellaneous functions.

You might also like