Java Environment & Architecture — Chapter Test

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
The Java compiler (javac) turns source code into…
Amachine code
Bbytecode
Can applet
Da JVM
Question 2
Which program runs the bytecode and makes Java platform independent?
Ajavac
Bthe JVM
Cthe browser
Dthe CPU directly
Question 3
Which Java program type runs inside a web browser?
AStandalone application
BApplet
CCompiler
DBytecode
Question 4
A '.class' file produced by the compiler contains…
Asource code
Bbytecode
Cmachine code
Dcomments
Question 5
Java's automatic memory management and strong error checking make it…
Arobust
Ban applet
Cprocedure-oriented
Dcompiled