P2Pprogrammer 2 programmer

Home > Download > SMU - Question Paper > BSc IT > BT0074

OOPS with Java


This is the collection of Sikkim Manipal University (SMU) question and answers for OOPS with Java . 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 2022, 2021, 2020 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 with Java , SMU - Bachelor of Science in Information Technology.

Course Name        BSc IT (Bachelor of Science in Information Technology)

Subject Code       BT0074 (OOPS with Java )

Get Questions        PART - A    PART - B    PART - C

Subject : OOPS with Java

     BT0074 : 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, in
 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. 5Which 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
 A)i) and iii)
 B)ii) and iv)
 C)All of i) to iv)
 D)None of these
   
Click here to get OOPS with Java (BT0074 ) New Question


Home > Download > SMU - Question Paper > BSc IT > BT0074