0% found this document useful (0 votes)
1 views3 pages

Java Module Test&QUIZ

The document outlines a module test for the Object Oriented Programming course at Bapuji Institute of Engineering and Technology. It includes course outcomes, a series of questions assessing students' understanding of Java programming concepts, and the corresponding marks allocation. The test covers topics such as Java features, type conversion, method overloading, and exception handling.

Uploaded by

rooparajanna23
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views3 pages

Java Module Test&QUIZ

The document outlines a module test for the Object Oriented Programming course at Bapuji Institute of Engineering and Technology. It includes course outcomes, a series of questions assessing students' understanding of Java programming concepts, and the corresponding marks allocation. The test covers topics such as Java features, type conversion, method overloading, and exception handling.

Uploaded by

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

Bapuji Educational Association (Regd.

)
BAPUJI INSTITUTE OF ENGINEERING AND TECHNOLOGY, DAVANGERE-577 004
DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS

Object Oriented Programming using java MCAPCC2


Course Title Course Code
02
Dr. Geetha M
Course Coordinator Semester II
I
Module Test No Max. Marks 10

Course Outcome Statements : After the successful completion of the course, the students will be able to
CO1 Understand the basic principles of the object-oriented programming.
CO2 Demonstrate an introductory understanding of graphical user interfaces, Types of Inheritance.
CO3 Apply the knowledge of Java concepts to find the solution for a given problem.
CO4 Analyze the given Java application for correctness/functionalities.
CO5 Develop Java programs/application for a given requirement.

Note : Answer all the questions.


RBT
Q. No. Question Marks CO
Level
1 Explain the basic features of java. 2 L2 CO1
2 Write a Java program perform linear search using arrays. 2 L3 CO1
3 Explain type conversion and casting with suitable example. 2 L2 CO1
4 Explain method overloading with an example. 2 L2 CO1
5 Explain static and final keywords with an examples. 2 L2 CO1

RBT (Revised Bloom’s Taxonomy) Levels : Cognitive Domain


L1 : Remembering L2 : Understanding L3 : Applying
L4 : Analysing L5 : Evaluating L6 : Creating

Course Coordinator Coordinator Program Coordinator


Dr. Geetha M DAAC HOD, MCA
Bapuji Educational Association (Regd.)
BAPUJI INSTITUTE OF ENGINEERING AND TECHNOLOGY, DAVANGERE-577 004
DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS

Q. No. Question M L C
Which statement is true about Java?
a) Java is a sequence-dependent programming language 1 1
1 b) Java is a code dependent programming language 1
c) Java is a platform-dependent programming language
d) Java is a platform-independent programming language
Which one of the following is not a Java feature?
a) Object-oriented 1 1 1
2 b) Use of pointers
c) Portable
d) Dynamic and Extensible
What will be the output of the following Java code?
class increment { 1 1 1
public static void main(String args[]){
int g = 3;
3
System.out.print(++g * 8);
}
}
a) 32 b) 33 c) 24 d) 25
What will be the output of the following program?
int[][] matrix = { 1 1 1
{1, 2, 3},
{4, 5, 6},
4 {7, 8, 9}
};
System.out.println(matrix[1][2]);
a) 4 b) 5
c) 6 d) 9
What happens if you access an invalid index of an array in Java?
5 a) ArrayIndexOutOfBoundsException b) NullPointerException 1 1 1
c) Segmentation Fault d) No Error
6 What will be the output of the following Java program?
1 1 1
class output {
public static void main(String args[])
{
double a, b, c;
a = 3.0/0;
b = 0/4.0;
c=0/0.0;
System.out.println(a);
System.out.println(b);
System.out.println(c);
}
Bapuji Educational Association (Regd.)
BAPUJI INSTITUTE OF ENGINEERING AND TECHNOLOGY, DAVANGERE-577 004
DEPARTMENT OF MASTER OF COMPUTER APPLICATIONS

}
a) NaN b) Infinity c) 0.0 d) All of the mentioned

How can one constructor call another constructor within the same class?
7 a) Using super() b) using this() 1 1 1
c) Using new() d) Constructors cannot call each other
What happens when finalize () is called on an object?
a) The object is immediately garbage collected. b)The garbage collector calls it 1 1 1
8 before collecting the object c) The object gets permanently deleted from
memory
d) It prevents an object from being collected.
Arrays in java are-
9 a) Object reference b) Objects 1 1 1
c) Primitive data types d) None
Which keyword is used to define a constant variable in Java?
10 a) final b) static 1 1 1
c) const d) immutable

Course Coordinator Coordinator Program Coordinator


Dr. Geetha M DAAC HOD, MCA

You might also like