Java Programming Quiz

Java Programming Quiz

University

50 Qs

quiz-placeholder

Similar activities

Unit_1_Object Oriented Programming with Java

Unit_1_Object Oriented Programming with Java

University

50 Qs

Day 4 - Inheritance, super, final, abstract, interface

Day 4 - Inheritance, super, final, abstract, interface

University

50 Qs

Remedial APPL

Remedial APPL

University

50 Qs

Reviewer COMP 20083 - Object Oriented Programming Quiz 1

Reviewer COMP 20083 - Object Oriented Programming Quiz 1

University

45 Qs

Java Fundamentals Challenge

Java Fundamentals Challenge

University

53 Qs

Assignment Quiz

Assignment Quiz

University

47 Qs

application development

application development

University

50 Qs

Event Driven Handouts 1 & 2

Event Driven Handouts 1 & 2

University

45 Qs

Java Programming Quiz

Java Programming Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Phạm Minh Đức Huy undefined

Used 3+ times

FREE Resource

50 questions

Show all answers

1.

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.

2.

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

3.

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

4.

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

5.

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the file extension of Java source code?

java

.class

.jar

.rar

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following related to the comment in Java is false?

/* comments

/* comment */

/** comment */

//comments

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?