Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

JAVA Q2 WW1

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Who is known as the "Father of Java"?

a)

Mike Sheridan

b)

James Gosling

c)

Patrick Naughton

d)

Dennis Ritchi

2.

What was Java's original name before it was called Java?

a)

GreenTalk

b)

CoffeeScript

c)

Oak

d)

GreenTree

3.

What does the term WORA stand for in Java?

a)

Write Once, Run Anywhere

b)

Write Only, Read Anywhere

c)

Write Once, Read Always

d)

Web-Oriented Runtime Application

4.

Which component is responsible for making Java platform independent?

a)

Java Development Kit (JDK)

b)

Java Virtual Machine (JVM)

c)

Java Application Server

d)

Java Standard Edition (JSE)

5.

Java code is compiled into which intermediate format?

a)

Machine code

b)

Bytecode

c)

Assembly code

d)

Binary code

6.

Which of the following is NOT a feature of Java?

a)

Platform Independence

b)

Object-Oriented Programming

c)

Manual Memory Management

d)

Multithreading

7.

Which feature of Java helps manage memory automatically?

a)

Pointers

b)

Garbage Collection

c)

JVM Sandbox

d)

Exception Handling

8.

Which of the following best describes the JVM?

a)

A hardware processor for Java programs

b)

A compiler that converts Java code to machine code directly

c)

A virtual machine that interprets or compiles Java bytecode into machine code

d)

A library used for Java networking

9.

Which Java feature allows a program to execute multiple tasks at the same time?

a)

Encapsulation

b)

Multithreading

c)

Polymorphism

d)

Serialization

10.

Which of these industries heavily relies on Java for its secure and scalable applications?

a)

Banking and Finance

b)

Graphic Design

c)

Fashion

d)

Agriculture

11.

Java was first developed for internet programming.

a)
True
b)
False
12.

The Java Virtual Machine (JVM) helps Java achieve platform independence.

a)

True

b)

False

13.

Java supports Object-Oriented Programming principles like inheritance and polymorphism.

a)
False
b)
True
14.

The first name of Java was CoffeeScript.

a)
False
b)
True
15.

Java's automatic garbage collection eliminates the need for manual memory management.

a)
True
b)
False
16.

Java is a compiled language only and does not use interpretation.

a)

True

b)

False

17.

Multithreading in Java allows a program to execute multiple tasks simultaneously.

a)

True

b)

False

18.

The JVM includes a Just-In-Time compiler that improves performance.

a)

True

b)

False

19.

Java is no longer relevant in modern application development.

a)

True

b)

False

20.

Java was officially released in the year 2000.

a)

True

b)

False