wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Java Programming Basics

Total questions: 28

Worksheet time: 14mins

Name
Class
Date
1.

The icon of Java program is taken from ___.

a)

a cup of coffee

b)

a tornado that spits fire

c)

a volcano under water

d)

a candle with a flame

2.

JDK stands for ___.

a)

Java Development Kit

b)

Java Database Kit

c)

Java Developer Kit

d)

Java Developer Key

3.

JRE stands for ___.

a)

Java Real Ecosystem

b)

Java Realtime Environment

c)

Java Runtime Environment

d)

Java Running Entertainment

4.

In Java SE, SE stands for ___.

a)

Supreme Edition

b)

Standard Edition

c)

Supreme Emperor

d)

Standard Emulator

5.

In Java EE, EE stands for ___.

a)

Entertainment Edition

b)

Entrepreneur Edition

c)

Enterprise Emperor

d)

Enterprise Edition

6.

JVM stands for ___.

a)

Java Virtual Money

b)

Java Volatile Machine

c)

Java Virtual Micro

d)

Java Virtual Machine

7.

___ is the core of Java platform. It contains all the libraries that every Java developer must learn.

a)

Java SE

b)

Java EE

c)

Java ME

d)

Java Card

8.

___ is used for building very large scale, distributed systems. It provides additional libraries for building fault-tolerant, distributed, multi-tier software.

a)

Java SE

b)

Java EE

c)

Java ME

d)

Java Card

9.

___ is a subset of core Java platform, designed for mobile devices. It also has libraries specific to mobile devices.

a)

Java SE

b)

Java EE

c)

Java ME

d)

Java Card

10.

___ is used in smart cards lie debit and credit cards.

a)

Java SE

b)

Java EE

c)

Java ME

d)

Java Card

11.

When we run Java applications, ___ gets loaded in the memory and takes the Java bytecode as input and translate it to codes native to operating system it is in. This is why Java can run in almost any operating systems.

a)

JVM

b)

JRE

c)

JDK

d)

JSE

12.

We use ___ to build Java applications. It contains a compiler... and a library of classes that we use to build applications.

a)

JVM

b)

JRE

c)

JDK

d)

JSE

13.

The smallest building blocks in Java are called ___. This are also called functions in other programming languages.

a)

methods

b)

classes

c)

packages

d)

programs

14.

Related functions are combined into ____.

a)

methods

b)

classes

c)

packages

d)

programs

15.

Java was developed by ___.

a)

James Gosling

b)

James Bond

c)

Ryan Gosling

d)

Steve Jobs

16.

Java was initially called ___.

a)

oak

b)

iced tea

c)

coffee

d)

oracle

17.

Java has a number of close to ___ developers worldwide.

a)

9 million

b)

3 billion

c)

125 million

d)

100 thousand

18.

About ___ mobile phones run Java.

a)

9 million

b)

3 billion

c)

125 million

d)

100 thousand

19.

According to indeed.com, the average salary of a Java developer is just over $___ per year in the US.

a)

9 million

b)

3 billion

c)

125 million

d)

100 thousand

20.

___ are for storing simple values like numbers, strings and booleans.

a)

Primitive Type variables

b)

Reference Type variables

c)

Dependent variables

d)

Independent variables

21.

___ are for storing complex objects like email messages.

a)

Primitive Type variables

b)

Reference Type variables

c)

Dependent variables

d)

Independent variables

22.

___ is used when we want to terminate statements in Java.

a)

;

b)

//

c)

{ }

d)

( )

23.

___ is used when we want to add comments or notes to our Java codes.

a)

;

b)

//

c)

{ }

d)

( )

24.

___ is used when we want to add parameters for a function like sendEmail.

a)

;

b)

//

c)

{ }

d)

( )

25.

___ is where we write the actual Java code.

a)

;

b)

//

c)

{ }

d)

( )

26.

These code editors are popular for editing Java except ___.

a)

NetBeans

b)

Eclipse

c)

IntelliJ

d)

Notepad

27.

___ is used for naming classes.

a)

PascalNamingConvention

b)

camelNamingConvention

28.

___ is used for naming methods.

a)

PascalNamingConvention

b)

camelNamingConvention