Search Header Logo

Java Unit 1 MCQ Test

Authored by Prof. Harish T. Gwalani

Computers

University

Used 1+ times

Java Unit 1 MCQ Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component of Java executes bytecode?

JDK
JRE
JVM
Compiler

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The `javac` command is used to:

Interpret Java code
Run Java applications
Compile Java source code
Install Java packages

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is *not* part of the JDK?

Java Compiler
JVM
Java API
Java IDE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bytecode is:

Code written in C
Machine-specific code
Intermediate code
HTML code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What converts `.java` to `.class` files?

JVM
JRE
javac
java

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tool is responsible for running Java programs?

javac
JDK
java
javadoc

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about JVM?

It is platform dependent
It is used for compiling code
It provides a run-time environment
It supports only Linux

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers