wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Day 1 - Basics of Java

Total questions: 14

Worksheet time: 8mins

Name
Class
Date
1.

What is this feature of java wherein it states that programs from java can be run on almost every platform?

a)

Simple

b)

Portable

c)

Platform independent

d)

Robust

2.

Name this feature that says Java is faster than other programming language because it's code is converted to bytecode that is close to the native code.

a)

Multi-threaded

b)

Object-Oriented

c)

Secured

d)

High Performance

3.

What is this feature that makes the program to executes command concurrently?

a)

Object-oriented

b)

Multi-threaded

c)

Robust

d)

Simple

4.

On what language Java is based upon?

a)

Fortan

b)

Visual Basic

c)

COBOL

d)

C++

5.

Why is java more secure than other programming languages?

a)

Programs run in JVM

b)

Programs are compiled at real-time

c)

Java runs with an anti-virus application

d)

No explicit pointer are used

6.

Which of these platforms are supported by Java based from this lesson?

a)

Mobile

b)

Games

c)

Robotics

d)

Enterprise Applications

e)

Desktop Applications

7.

This is a specification that provides a runtime environment in which Java bytecode can be executed.

a)

JDK

b)

JRE

c)

JVM

d)

J2EE

8.

What do you call the combination of the Java Runtime Environment and the other development tools?

a)

JDK

b)

JRE

c)

JVM

d)

J2EE

9.

What is the template or blueprint in java where objects are created from?

a)

Libraries

b)

Class

c)

Development Tools

d)

Object

10.

What two characteristic must an entity have to be defined as an object?

a)

States

b)

Values

c)

Tangible

d)

Behaviors

11.

What is the initial index of an array?

a)

length of the array - 1

b)

1

c)

0

d)

length of the array

12.

What is the best practice to name a Constant?

a)

Must follow Pascal Case

b)

Must follow Camel Case

c)

Must be All Uppercase

d)

Must be all lowercase

13.

This is the type of variable that is declared within a method.

a)

Instance Variable

b)

Local Variable

c)

Global Variable

14.

What Java reserved keyword must be added to entities to make the class manage it's instance rather than the objects themselves?

a)

final

b)

int

c)

for

d)

static