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 - B    


Q. 1Which of these code fragments gives the
correct way to declare an array of pointers to
object of class 'person' and initialize them using
a predefined function 'getdata ( ) ?
 A)person *p ~ new person [10], for (int i = 0 ; i < 10 ; i + +) p[i]->getdata ( );
 B)person *P [10] = new person; for (int i = 0 ; i < 10; i++) p[i]->getdata
 C)Both A) and B)
 D)None of these
   
Q. 2Which of the following are legal C++
variable names?
1) Counter 1
2) 123
3) register
4) tor_sal
 A)1), 3)
 B)2), 3), 4)
 C)1), 3)
 D)1), 2), 3), 4)
   
Q. 3The ____ can be used to declared structure
variable and ____ within the template.
 A)tag-name; can not be initialized
 B)tag-name; can be initialized
 C)key word; can not be initialized
 D)key word; can be initialized
   
Q. 4In C++
1. User define header files are specified as #
include “abc.h”
2. User defined header files are defined as #
include ‘abc.h’
3. The template written for a base class can be
used in derived class
 A)Only 1and 2 are correct
 B)Only 1 and 3 are correct
 C)Only 2 and 3 are correct
 D)Only 3 are correct
   
Q. 5 A home ___ house that ____ a family &
pets
 A)has a, is a
 B)is part of, is a
 C)is a, has a '
 D)None of these
   
Click here to get OOPS with Java (BT0074 ) New Question


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