Search Header Logo

Java Programming Quiz

Authored by Phạm Minh Đức Huy undefined

Computers

University

Used 1+ times

Java Programming Quiz
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 of the following are components of the Java platform?

JVM(Java Virtual Machine), the java application programming interface (API)

JVM(Java Virtual Machine), Java Run-time Environment

JVM(Java Virtual Machine), java compiler

Java compiler, java

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the meaning of platform-independent?

write once, run anywhere

not easy to execute on any system after compilation.

the execution of the program is restricted by the type of OS environment provided.

All of the others

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is the role of the Java Development Kit (JDK) in java programming? Choose multiple correct answers.

A cross-platformed software development environment that offers a collection of tools and libraries necessary for developing Java-based software applications.

A core package used in Java programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime Environment) to develop and deploy applications

A software for building applications that combines common developer tools into a single graphical user interface (GUI).

A text editor that can assist in writing software code with features such as syntax highlighting with visual cues

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of the Garbage Collection?

It frees heap memory by destroying unreachable objects.

It deletes all the Java files available on the memory.

It loads a Java program into memory.

It checks the output of any Java program and deletes anything that does not make sense at all.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To run a Java program, which the software must be installed?

Java Runtime Environment (JRE)

Eclipse

Java Development Kit (JDK)

Netbeans

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a Java feature?

Use of pointers.

Ease of learning.

It is a secure language.

Independent Platform.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the file extension of Java source code?

java

class

.jar

.rar

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