wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

JAVA Test

Total questions: 100

Worksheet time: 3570secs

Name
Class
Date
1.

Java is a _____________________ and a ___________. Java is a high level, robust, object-oriented and secure programming language.

(a)  

2.

The primary objective of Java programming language creation was to make it

a)

easy, convenient, friendly user

b)

portable, simple and secure programming language.

c)

easy to use

d)

general-purpose language, ideal for building mostly state-of-the-art system applications like OS kernels, databases, embedded systems, and graphics packages that are used by billions around the world.

3.

The features of Java are also known as (a)   .

4.

(a)   in Java is a part of the Java Runtime Environment (JRE) which is used to load Java classes into the Java Virtual Machine dynamically. It adds security by separating the package for the classes of the local file system from those that are imported from network sources.

5.

Java was developed by (a)   (which is now the subsidiary of Oracle)

6.

Java was developed in year (a)   .

7.

(a)   is known as the father of Java

8.

Before Java, its name was (a)   .

9.

Since (a)   was already a registered company, so James Gosling and his team changed the name from Oak to Java.

10.

Any hardware or software environment in which a program runs, is known as a (a)   .

11.

It is called platform (choose two)

a)

API

b)

JRE

c)

RIP

d)

OSPF

12.

API stands for

(a)  

13.

JRE stands for

(a)  

14.

According to Sun, (a)   billion devices run Java.

15.

types of java applications. also known as desktop applications or window-based applications. These are traditional software that we need to install on every machine.

a)

Web Application

b)

Standalone Application

c)

Enterprise Application

d)

Mobile Application

16.

An application that runs on the server side and creates a dynamic page is called a _____________________. Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF, etc. technologies are used for creating ___________________ in Java.

a)

Web application

b)

Standalone Application

c)

Enterprise Application

d)

Mobile Application

17.

An application that is distributed in nature, such as banking applications, etc. is called an ____________________. It has advantages like high-level security, load balancing, and clustering. In Java, EJB is used for creating _______________________________.

a)

Web Application

b)

Standalone Application

c)

Enterprise Application

d)

Mobile Application

18.

It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflection, Collection, etc.

a)

Java EE

b)

JavaFX

c)

Java SE

d)

Java ME

19.

It is an enterprise platform that is mainly used to develop web and enterprise applications. It is built on top of the Java SE platform. It includes topics like Servlet, JSP, Web Services, EJB, JPA, etc.

a)

Java EE

b)

JavaFX

c)

Java SE

d)

Java ME

20.

It is used to develop rich internet applications. It uses a lightweight user interface API.

a)

Java EE

b)

JavaFX

c)

Java SE

d)

Java ME

21.

Java team members (also known as (a)   ), initiated this project to develop a language for digital devices such as set-top boxes, televisions, etc.

22.

James Gosling,_____________________, and ______________________ initiated the Java language project in June 1991. The small team of sun engineers called Green Team.

a)

Patrick Naughton

b)

Dennis Retchie

c)

Mike Sheridan

d)

Bjarne Stroustrup

23.

Firstly, it was called " (a)   " by James Gosling, and the file extension was .gt.

24.

Why Oak?

a)

An oak is a tree or shrub in the genus Quercus of the beech family, Fagaceae.

b)

Oak is a symbol of strength and chosen as a national tree of many countries like the U.S.A., France, Germany, Romania, etc.

c)

because Oak is a highly durable hardwood used for thousands of years.

d)

because Oak is commonly used for furniture, joinery, flooring, panelling, decking and veneers.

25.

According to James Gosling, "Java was one of the top choices along with (a)   ". Since Java was so unique, most of the team members preferred Java than other names.

26.

Java is an island in Indonesia where the first coffee was produced (called Java coffee). It is a kind of espresso bean. Java name was chosen by James Gosling while having a cup of _________nearby his office.

a)

juice

b)

coffee

c)

tea

d)

coke

27.

________________ was released on January 23, 1996

a)

JDK 0.1

b)

JDK 1.1

c)

JDK 1.5

d)

JDK 1.0

28.

In (a)   , Oak was renamed as "Java" because it was already a trademark by Oak Technologies.

29.

After that, it was called (a)   and was developed as a part of the Green project.

30.

Java technology was incorporated by (a)   .

31.

It is a micro platform that is dedicated to mobile applications.

a)

Java EE

b)

JavaFX

c)

Java SE

d)

Java ME

32.

An application which is created for mobile devices is called a (a)   . Currently, Android and Java ME are used for creating mobile applications.

33.

It determines what resources a class can access such as reading and writing to the local disk.

a)

Classloader

b)

Bytecode Verifier

c)

Class manager

d)

Security Manager

34.

is used to print statement in Java

a)

system.out.print

b)

printf

c)

System.out.print

d)

puts

35.

Java is robust because:

a)

The Java platform differs from most other platforms in the sense that it is a software-based platform that runs on top of other hardware-based platforms.

b)
  • Java provides automatic garbage collection which runs on the Java Virtual Machine to get rid of objects which are not being used by a Java application anymore.

c)

Java language provides these securities by default.

d)
  • It uses strong memory management.

36.
  • It checks the code fragments for illegal code that can violate access rights to objects.

a)
  • Bytecode Verifier

b)

Classloader

c)

Security Manager

d)

Class Manager

37.

...also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions

a)

CUP

b)

CPU

c)

APU

d)

GPU

38.

Keeps the CPU from getting too hot

a)

CPU Cooler

b)

CUP Fan

c)

Case Fan

d)

Ice

39.

Part of the computer that all the other parts connect to

a)

Motherboard

b)

CPU

c)

Daughter Board

d)

Case

40.

Basic Input/Output System. Firmware used booting process (power-on startup)

a)

BIOS

b)

BISO

c)

BOIS

d)

KPOP

41.

Memory (RAM) is...

a)

A large male goat

b)

A big Dodge truck

c)

Random Access Memory (working memory)

d)

Sticks of goodness

42.

...slots on the motherboard for connecting hardware

a)

42

b)

Huh?

c)

Expansion grooves

d)

Expansion slots

43.
a)

PCI-e Slot a Type of expansion slot

b)

Blue slots of goodness

c)

Portals to Phobos

d)

Sloty McSlot face

44.

This is a...

a)

Mother Board

b)

Video Card

c)

Power Supply

d)

CPU Cooler

45.

This is a...

a)

CPU

b)

Mouse Adapter

c)

Video Card

d)

Sound Card

46.

A ____________ is used to connect computers to home and work networks.

a)

Perpetually bad WiFi

b)

Network Interface Card

c)

Ethernet thingie

d)

Telephone Modem

47.

....long term storage memory with spinning disks

a)

HHD

b)

HDD

c)

SSD

d)

DSS

48.

... long term storage memory with no moving parts

a)

SSD

b)

SDD

c)

DSS

d)

DHS

49.

Optical drives are...

a)

A good place to stash your passwords and cash

b)

best when replaced with Hot Pocket toaster

c)

an exceptional cup holder

d)

used to read and write CD’s and DVD’s

50.

These are examples of...

a)

HDMI ports

b)

USB ports used to connect peripherals (like printers and scanners) to your computer

c)

things that are always upside down.

d)

The bane of my existence

51.

This is an example of...

a)

An HDMI port

b)

A High Deflection Multifaction Interactive Port

c)

USB ports

d)

A High Definition Magnification Portal.

52.

The primary output device on your computer is called...

a)

A monitor or screen

b)

Screeny McScreen Face

c)

My portal to Phobos

d)

My favorite part to break

53.

An input device used to control the on-screen pointer

a)

RAT

b)

MOUSE

c)

CAT

d)

MOOSE

54.

An input device used to manually enter data and commands

a)

Screen

b)

Monitor

c)

Punch Card Puncher

d)

Keyboard

55.

This is a picture of something that reduces wall electrical voltage to something more useable for your computer

a)

Power Supply

b)

RAM

c)

CPU

d)

Motorola

56.

The box-like structure that holds all of the computer hardware

a)

Case

b)

COU

c)

CPU

d)

ExClosure

57.

The physical parts that make up a computer is ....

a)

Software

b)

Malware

c)

Hardware

58.

_____________ is another word for a screen.

a)

Monitor

b)

Laptop

c)

Software

59.

___________ is another word for a portable computer.

a)

Desktop

b)

Laptop

c)

Computer

60.

A _________________transfers information from the computer to paper.

a)

scanner

b)

computer

c)

printer

61.

A _______________ transfers information from paper to the computer.

a)

scanner

b)

printer

c)

computer

62.

____________allow us to listen to the audio files from the computer.

a)

printer

b)

scanner

c)

speakers

63.

A________________allows us to download information from the computer.

a)

memory stick or USB flash drive

b)

operative system

c)

hard drive

64.

We input data using a ________________.

a)

keyboard

b)

keynote

c)

key

65.

We use a _________________ or ___________________ to move the cursor and click on images or text.

a)

laptop - computer

b)

screen - scanner

c)

mouse - touchpad

66.

_________________ connects the computer to networks such as the internet.

a)

router

b)

cable

c)

scanner

67.

Mac or Windows are examples of....

a)

operating systems

b)

computers

c)

apps

68.

What type of device is this? (Printer)

a)

Input

b)

Output

69.

What type of device is this? (Headphones)

a)

Input

b)

Output

70.

What type of device is this? (Speakers)

a)

Input

b)

Output

71.

What type of device is this? (Scanner)

a)

Input

b)

Output

72.

What type of device is this? (Microphone)

a)

Input

b)

Output

73.

What type of device is this? (Mouse)

a)

Input

b)

Output

74.

What type of device is this? (Barcode Reader)

a)

Input

b)

Output

75.

What type of device is this? (Monitor)

a)

Input

b)

Output

76.
Input devices allow us to send information to the CPU (Central Processing Unit) to tell the computer what to do.
a)
True
b)
False
77.
Output devices receive information from the CPU (Central Processing Unit), then translate it into sounds or images that we can understand.
a)
True
b)
False
78.

What type of device is this? (Webcam)

a)

Input

b)

Output

79.

What type of device is this? (Smartphone screen)

a)

Input

b)

Output

c)

Input and Output

80.

What type of device is this? (Interactive whiteboard)

a)

Input

b)

Output

c)

Input and Output

81.
Which of these is not an input device?
a)
Scanner
b)
Screen
c)
Microphone
d)
Keyboard
82.
What type of device is this? CD / DVD / Blu-Ray
a)
Input
b)
Output
c)
Storage
83.
Wires are output devices because they come OUT of a computer
a)
True
b)
False
84.

What type of device is this? (Digital camera)

a)

Input

b)

Output

85.
What is the most suitable input device for inputting a short report?
a)
Mouse
b)
Scanner
c)
Keyboard
d)
None of the above
86.
What is the most suitable input device for highlighting or selecting an object on the screen?
a)
Mouse
b)
Joystick
c)
Keyboard
d)
None of the above
87.
The CPU is called the _______________ of the computer.
a)
arm
b)
mother
c)
brains
d)
leg
88.
Programs that give instruction to the computer.
a)
keyboard
b)
mother board
c)
hardware
d)
software
89.
An example of software would be...
a)
MS Power Point
b)
keyboard
c)
monitor
d)
printer
90.

Antivirus software is designed to protect computers from an assortment of viruses and unauthorized intrusions

a)

True

b)

False

91.

An example of the computer's hardware would be ...

a)

MS Word

b)

MS Publisher

c)

speakers

92.
Why do we need a computer monitor?
a)
To keep the computer from overheating.
b)
Because it is like the brain of the computer
c)
To see what the computer is doing
d)
Just because
93.

What is this piece of hardware?

a)

Tower/Computer Case

b)

Storage Unit

c)

Monitor

d)

CPU

94.
What does the hard drive do?
a)
Stores information temporarily 
b)
Gives Instructions
c)
Stores information permanently 
d)
Drives through the computer
95.

What is the most important program that runs on your computer, it lets software and hardware work together?

a)

Operating System

b)

Programs

c)

Applications

d)

Hardware

96.

What is Hardware?

a)

Computer Instructions or Data

b)

Physicals parts of a computer that you can touch

97.

What is Software?

a)

Programs and applications, it tells the hardware what to do and how to do it

b)

Physicals parts of a Computer

98.

The physical objects that make up the computer system:

a)

Software

b)

Storage

c)

Input

d)

Hardware

99.

Hardware and Software do not have to work together.

a)

True

b)

False

100.

You can touch software

a)

True

b)

False