Congratulations - you have completed Java Programming : Compiler and JVM.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 1
The compiler and other Java development tools resides in ________ sub folder.
A
jre
B
bin
C
docs
D
demo
Question 2
You can study demo programs by referring __________ subdirectory inside C:\Program Files\java\jdk.1.7.0
A
examples
B
docs
C
lib
D
demo
Question 3
The library containing files needed to integrate Java with programs written in other languages resides inside following sub folder.
A
lib
B
jre
C
include
D
bin
Question 4
We can set class path of java by setting following variable.
A
class
B
path
C
javapath
D
java
Question 5
Variable 'path' in Windows Operating System is called as __________.
A
Global Variable
B
Environment Variable
C
Instance Variable
D
Local Variable
Question 6
Environment Variable can be set by right clicking ___________ icon and then clicking on Properties menu in Window OS.
A
Control Panal
B
Internet Explorer
C
My Computer
D
Recycle Bin
Question 7
Arrange the following Statements in Correct Order. Statement 1 : Running the java command Statement 2 : Main method of that class is executed Statement 3 : JRE is loaded along with the class you specify
A
Statement : 1 3 2
B
Statement : 1 2 3
C
Statement : 3 2 1
D
Statement : 2 1 3
Question 8
We can compile java program with following command.
A
java
B
javac
C
jre
D
java -version
Question 9
Class file must have extension _______________.
A
.cls
B
.class
C
.sample.class
D
.java
Question 10
The name of the class file is created automatically when you compile the program with the javac command.
A
False
B
True
Question 11
A ________ is a compiled Java program that can be executed by the _______ command.
A
class file & javac
B
source file & java
C
source file & javac
D
class file & java
Question 12
A deprecated API is a feature that is considered ___________.
A
future scope
B
rarely used
C
None of these
D
obsolete
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 12 questions to complete.