WorksheetsJAVA Q2 WW1
Total questions: 20
Worksheet time: 10mins
Who is known as the "Father of Java"?
Mike Sheridan
James Gosling
Patrick Naughton
Dennis Ritchi
What was Java's original name before it was called Java?
GreenTalk
CoffeeScript
Oak
GreenTree
What does the term WORA stand for in Java?
Write Once, Run Anywhere
Write Only, Read Anywhere
Write Once, Read Always
Web-Oriented Runtime Application
Which component is responsible for making Java platform independent?
Java Development Kit (JDK)
Java Virtual Machine (JVM)
Java Application Server
Java Standard Edition (JSE)
Java code is compiled into which intermediate format?
Machine code
Bytecode
Assembly code
Binary code
Which of the following is NOT a feature of Java?
Platform Independence
Object-Oriented Programming
Manual Memory Management
Multithreading
Which feature of Java helps manage memory automatically?
Pointers
Garbage Collection
JVM Sandbox
Exception Handling
Which of the following best describes the JVM?
A hardware processor for Java programs
A compiler that converts Java code to machine code directly
A virtual machine that interprets or compiles Java bytecode into machine code
A library used for Java networking
Which Java feature allows a program to execute multiple tasks at the same time?
Encapsulation
Multithreading
Polymorphism
Serialization
Which of these industries heavily relies on Java for its secure and scalable applications?
Banking and Finance
Graphic Design
Fashion
Agriculture
Java was first developed for internet programming.
The Java Virtual Machine (JVM) helps Java achieve platform independence.
True
False
Java supports Object-Oriented Programming principles like inheritance and polymorphism.
The first name of Java was CoffeeScript.
Java's automatic garbage collection eliminates the need for manual memory management.
Java is a compiled language only and does not use interpretation.
True
False
Multithreading in Java allows a program to execute multiple tasks simultaneously.
True
False
The JVM includes a Just-In-Time compiler that improves performance.
True
False
Java is no longer relevant in modern application development.
True
False
Java was officially released in the year 2000.
True
False
