
Day 1 Quiz
Authored by Prof. Harish T. Gwalani
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the role of JVM in Java?
Compile the code
Interpret bytecode and execute
Translate Java to C++
Edit source code
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does JRE consist of?
Compiler and debugger
JVM and libraries
IDE and debugger
JVM and source code
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of compiling a `.java` file?
.exe file
.class file
.java file
.jar file
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which component runs the `.class` file?
JDK
JRE
JVM
JIT
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which Java component includes development tools?
JRE
JVM
JDK
JavaBeans
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which part of Java ensures platform independence?
JVM
JDK
JRE
API
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will happen if there is no `main` method in a class?
Compilation error
Runtime error
Infinite loop
Program will run without output
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?