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 2025, 2024, 2023 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. 1Which of the following would be a valid
class declaration header for a derived class m,
with base classes n and o
1)class m: n, o
2) class m: class n, class o
3) class m: public n, public o
4) class m: public n, o
 A)All of the above
 B)1), 3), 4)
 C)2), 3), 4)
 D)3), 4)
   
Q. 2Given the following code
struct std
{
char name[20], grade;
int rollno; int mark[2]
};
What are the valid ways to access the
members?
 A)std.name std.grade, std.rollno, std.mark[0]
 B)std.name[0], std.grade, std.rollno, std.mark[0]
 C)std.name, std.grade, * std.rollno, std.mark
 D)* std.name, * std.grade, * std.rollno, * std.mark
   
Q. 3Out of the following statements
1. Register is a C++ key word
2. Constant is one which has fixed value only
through out the class
3. Int sample[3] [5] indicates a table of 5 rows and 3
columns
4. The first member of an enum gets va
 A)1, 3 and 6 are correct
 B)1 and 6 are correct
 C)2, 3, 5 are correct
 D)2, 4 and 6 are correct
   
Q. 4Consider this class definition:
class quiz
{
public;
quiz;
int f();
int g() const;
private;
double score;
}
Which functions can carry out an assignment
score=1.0; to the private member variable score?
 A)Both f and g can carry out the assignment
 B)f can carry out the assignment, but not g
 C)g can carry out the assignment, but not f
 D)Neither f nor g can carry out the assignment
   
Q. 5Class ABC
{
private:
public:
}
int main()
{
ABC a;
Cout<<’The size of class ABC is” <}
The output of the above program will be
 A)The size of class ABC is 0
 B)The size of class ABC is 1
 C)The size of class ABC is 100
 D)Indeterminate
   
Click here to get OOPS with Java (BT0074 ) New Question


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