Logix Book 10
Part 2 - Introduction to Java
I. Objective Type Questions:
1. A virtual machine that executes Java bytecode is called:
A) javac C) Java assembler
B) OOP D) JVM
2. Machine language for Java Virtual Machine is called:
A) JVM C) Bytecode
B) Java platform D) Java compiler
3. Java language is:
A) Multithreaded C) Object Oriented
B) Platform independent D) All of the above
4. Pick the correct statement:
A) Java uses interpreter only C) Java uses compiler only
PS
B) Java uses compiler and interpreter
5. Pick the correct statement:
D) None of the above
A) A compiler translates code into high-level language all at once
B) A compiler translates code into machine language one line at a time
C) An interpreter translates code into machine language all at once
D) An interpreter translates code into machine language one line at a time
6. A machine language version of the code is called:
A) Object Code C) High Level Code
KI
B) Source Code D) Main Method Code
7. A computer only understands
A. High-level language
B. Assembly language
C. English language
D. Machine language
8. A computer program’s capability to run on multiple operating systems is called:
A) Multiuser program C) Platform dependence
B) Platform independence D) Multilingual program
9. The file extension of a Java class file is:
A. .class
B. .doc
C. .bluej
D. .java
© Kips Learning Pvt. Ltd 2021
Part 2 - Introduction to Java
I. Objective Type Questions:
1. A virtual machine that executes Java bytecode is called:
A) javac C) Java assembler
B) OOP D) JVM
2. Machine language for Java Virtual Machine is called:
A) JVM C) Bytecode
B) Java platform D) Java compiler
3. Java language is:
A) Multithreaded C) Object Oriented
B) Platform independent D) All of the above
4. Pick the correct statement:
A) Java uses interpreter only C) Java uses compiler only
PS
B) Java uses compiler and interpreter
5. Pick the correct statement:
D) None of the above
A) A compiler translates code into high-level language all at once
B) A compiler translates code into machine language one line at a time
C) An interpreter translates code into machine language all at once
D) An interpreter translates code into machine language one line at a time
6. A machine language version of the code is called:
A) Object Code C) High Level Code
KI
B) Source Code D) Main Method Code
7. A computer only understands
A. High-level language
B. Assembly language
C. English language
D. Machine language
8. A computer program’s capability to run on multiple operating systems is called:
A) Multiuser program C) Platform dependence
B) Platform independence D) Multilingual program
9. The file extension of a Java class file is:
A. .class
B. .doc
C. .bluej
D. .java
© Kips Learning Pvt. Ltd 2021