Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Exploring Java: History and Features

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What year was Java first released?

a)

1990

b)

2000

c)

1998

d)

1995

2.

Who is the creator of the Java programming language?

a)

Dennis Ritchie

b)

James Gosling

c)

Bjarne Stroustrup

d)

Guido van Rossum

3.

What was the original name of Java?

a)

Python

b)

C++

c)

Oak

d)

JavaScript

4.

What is the main feature of Java's platform independence?

a)

Java code must be compiled for each platform separately.

b)

Java requires specific hardware to execute its programs.

c)

Java bytecode can run on any platform with a compatible JVM.

d)

Java applications can only run on Windows operating systems.

5.

What does JVM stand for in the context of Java?

a)

Java Visual Machine

b)

Java Version Manager

c)

Java Variable Manager

d)

Java Virtual Machine

6.

What is the significance of the 'Write Once, Run Anywhere' principle in Java?

a)

It limits Java applications to desktop environments only.

b)

It restricts Java programs to specific operating systems.

c)

It requires Java programs to be compiled for each platform separately.

d)

It allows Java programs to be executed on any device with a JVM, ensuring cross-platform compatibility.

7.

The JRE (Java Runtime Environment) contains:

a)
  • a) Compiler & Development tools

b)
  • b) JVM and class libraries

c)
  • c) Only JVM

d)
  • d) Only compiler

8.

1. Which of the following is not a feature of Java?




a)

a) Platform Independent

b)

b) Object-Oriented

c)

c) Pointer-based Memory Management

d)

d) Robust

9.

7. Which feature of Java allows execution of multiple tasks simultaneously?

a)

a) Polymorphism

b)

b) Multithreading

c)

c) Inheritance

d)

d) Encapsulation

10.

3. Java EE (Enterprise Edition) is mainly used for:



a)

a) Gaming applications

b)

b) Desktop applications

c)

c) Large-scale enterprise applications (banking, ERP, etc.)

d)

d) Device drivers