Chapter 2 Introduction to Java
Chapter 2 Introduction to Java
4. A Virtual Processor that is implemented in software and runs using the capabilities provided by your operating
system and computer hardware.
a. Byte Code
b. Compiler
c. Interpreter
d. Java Virtual Machine(JVM)
6. Name the programs that can be developed in such a way that it remains embedded in a web page and runs on the
viewer’s machine in a secured manner by Java compatible browsers.
a. Applets
b. Applications
c. Both a and b
d. None of these
7. Name the Application program that is written and compiled which may then be executed in any machine provided
it contains the JVM.
a. Applets
b. Applications
c. Both a and b
d. None of these
10. What is a set of pseudo machine language instructions that are understood by the Java Virtual Machine and are
independent of the underlying hardware called?
a. JVM
b. Source Code
c. Compilation
d. Bytecode
16. A program that translates code written in a high-level language into machine code is called ...........
a. Assembler
b. Linker
c. Compiler
d. None of these
17. A program that translates an assembly language program into machine code is called a/an ...........
a. Assembler
b. Linker
c. Compiler
d. None of these