P2Pprogrammer 2 programmer


Home > Download > SMU - Question Paper > MCA > MC0066

OOPS using C++


This is the collection of Sikkim Manipal University (SMU) question and answers for OOPS using C++. It will help to prepare your examination. All question paper are classified as per semester, subject code and question type of Part A, Part B and Part C with multiple choice options as same as actual examination. SMU question papers includes year 2024, 2023, 2022 Sem I, II, III, IV, V, VI examinations of all subjects.

SMU question test set of old, last and previous year are updated regularly and it is absolutely free to use. Question paper includes Visual basic 6, VB.Net, C#, ASP.Net, Web, Oracle, Database, SQL, Software Engineering, C, C++, OOPS, MBA, MCA, BSC IT I have requested you kindly send me the question paper of OOPS using C++, SMU - Master of Computer Application.

Course Name        MCA (Master of Computer Application)

Subject Code       MC0066 (OOPS using C++)

Get Questions        PART - A    PART - B    PART - C

Subject : OOPS using C++

     MC0066 : PART - C    


Q. 1Identify which of the following function
calls are allowed given the prototype
declaration
int sum(int a, int b-1, int c=o);
 A)cout<
 B)cout<
 C)cout<
 D)cout<
   
Q. 2What would be output by the following
segment of C++?
int fact I;
fact = 1
i = 2
while(i < =6)
fact *= i;
i++;
cout << fact;
 A)2, 6, 24, 120, 720
 B)1, 2, 6, 24, 120
 C)2, 2, 6, 24, 120
 D)1, 1, 1, 6, 24
   
Q. 3Using tile precedence of' operators, predict
the Output of the following code segment
main()
int i = 1, j=2 ;
if ( i =--j >2)
cout<< i<<1l%
else
cout<<"Bye<<"\n";
cout<<”value of i is”<
 A)1 Value of i is 0
 B)Bye Value of i is1
 C)1 Value of
 D)None of these
   
Q. 4Match the following pre-defined functions
with then parameters, if any
Set-A
i) initgraph
ii) closegraph
iii) window
iv) putch
Set-B
a. (char C)
b. (int *gd, int mode, char*c)
c. ( )
d. ( int L, int T, Int R, int B)
 A)i) - a, ii) - d, iii) - c, iv) - b
 B)i) - d, ii) - c, iii) - a, iv) - b
 C)i) - b, ii) - d, iii) - a, iv) - c
 D)None of these
   
Q. 5 Which of these statements are true?
i) The tellp ( ) function returns the current class
hierarchy
ii) To create an output text file, we need an
object of the ofstream class
iii)The cin object and the position of the put
pointer in bytes extraction operator are part of
the istream class
iv) The ios class is the base class in the stream
 A)i) and iii)
 B)ii) and iv)
 C)All of i) to iv)
 D)None of these
   
Click here to get OOPS using C++ (MC0066) New Question


Home > Download > SMU - Question Paper > MCA > MC0066