Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Long Test JAVA Programming

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

What is the correct format of coding in Java?

a)

type variable = value;

b)

Variable = value;

c)

type = value;

d)

type variable;

2.

It is a sequence of characters.

a)

Str

b)

Int

c)

string

d)

integer

3.

It is a syntax used to print your output

a)

system.out.printline

b)

system.out.prntlne

c)

System.out.println

d)

System.out.printline

4.

It is a memory location that can hold a positive or negative non-decimal number

a)

String

b)

Integer

c)

integer

d)

string

5.

Integer is denoted by what type?

a)

int.

b)

integ

c)

Int

d)

int

6.

String is denoted by what type?

a)

str.

b)

stri

c)

String

d)

str

7.

It is a powerful machine capable of performing a variety of task and processes.

a)

computer

b)

calculator

c)

satellite

d)

abacus

8.

It is made up of components that work together in order to transform data into information.

a)

computer

b)

system

c)

computer system

d)

computer machine

9.

These are people who uses computer for their job.

a)

First user

b)

peopleware

c)

end user

d)

workers

10.

A system software that is used to manage and coordinate the activities of all computer devices.

a)

OS

b)

System Utility

c)

Application Software

d)

Utility

11.

A kind of utility software which helps your computer ward off viruses.

a)

Avast

b)

MS Office

c)

Photoshop

d)

Filmora

12.

It is considered as the “brain of the computer”.

a)

CPU

b)

SI

c)

CU

d)

DOS

13.

What does ALU stands for?

a)

Asynchronous Logic Unit

b)

Arithmetic Logic Unit

c)

Asymptomatic Logic Unit

d)

Asymmetric Logic Unit

14.

A type of memory that needs electricity to retain data.

a)

Non – Volatile

b)

Volatile

c)

Semi-Volatile

d)

Full Volatile

15.

Dynamic Random Access Memory is an example of _______.

a)

Volatile

b)

Semi-Volatile

c)

Non-Volatile

d)

Full Volatile

16.

A type of memory that does not need electricity to keep its contents.

a)

Full Volatile

b)

Non-Volatile

c)

Semi-Volatile

d)

Volatile

17.

These are the machines that are connected to the computer.

a)

Monitor

b)

CPU

c)

SI

d)

Peripheral Devices

18.

A device that is used to enter data and instructions into the memory.

a)

Output

b)

Input

c)

Storage

d)

Communications

19.

A special type of device that computers use to communicate to other devices.

a)

Input

b)

Storage

c)

Output

d)

Communications

20.

These drives don’t use physical disk in storing data

a)

HDD

b)

SSD

c)

HUB

d)

CD