wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Long Quiz JAVA

Total questions: 30

Worksheet time: 3600secs

Name
Class
Date
1.

These are special words in java.

a)

Arrays

b)

Identifiers

c)

Parameters

d)

Reserved Words

2.

this is stored on a disk with a .java file extension

a)

Compiler

b)

Assembler

c)

Interpreter

d)

Soruce Code

3.

This company created the Java programming language in 1995.

a)

Sun Microsystem

b)

JAVA Systems

c)

WARA

d)

OOP Inc.

4.

It is a programming language that is considered to a closer machine code and hardware in term of syntaxw

a)

Low-level Language

b)

High-level Language

c)

JavaScript Language

d)

Object-Oriented Language

5.

It is used to provide additional information that will make programs easier to understand

a)

Keyword

b)

Argument

c)

Comment

d)

Literal String

6.

It is a programming language that is designed to easily read,write and understand for human.

a)

Machine Language

b)

Low-level Language

c)

High-level Language

d)

Computer Language

7.

It is a representation that can be used as a substitute for an algorithm

a)

Algorithm Design

b)

Pseudocode

c)

Flowchart

d)

Problem-solving Process

8.

It is the software that Java programs require to run correctly

a)

Java Runtime Environment

b)

Java Virtual Machine

c)

Java Compiler

d)

Java API

9.

This flowchart category shows how each part works together by displaying the data flow and how decisions can affect the surrounding events.

a)

Pseudo Flowchart

b)

System Flowchart

c)

Business Flowchart

d)

Program Flowchart

10.

It is thhe basic unit in a java program

a)

Main

b)

Object

c)

Class

d)

Method

11.

It converts the source code into a binary program of bytecode

a)

Java Runtime

b)

Java Interpreter

c)

Java Assembler

d)

Java Compiler

12.

It is a technique used to describe distinct steps of an algorithm that is much easier to understand for anyone with basic programming knowledge.

a)

Pseudocode

b)

Algorithm Design

c)

Problem-solving Process

d)

Blueprint

13.

It is a set of grammatical rules that command a computer or a device to behave in a specific way

a)

Pattern

b)

Assembly Language

c)

Programming Paradigm

d)

Programming Language

14.

It is a sets of steps that generates a finite sequence of simple computational operations that leads to a solution to a given problem

a)

Execution

b)

Problem solving Process

c)

Algorithm

d)

Coding

15.

This programming language uses binary numbers to write its instructions.

a)

Machine Language

b)

Assembly Language

c)

Functional Language

d)

Imperative Language

16.

What is the output of this code System.out.println(“Hello, World!.”);,

a)

out

b)

System

c)

Hello, World!.

d)

println

17.

What symbols is not belong to the comparison operator in a pseudocode?

a)

=

b)

<

c)

>

d)

/

18.

Which of the following is NOT considered a reserved word in Java?

a)

char

b)

true

c)

float

d)

return

19.

What is the best defenition of a pseudocode?

a)

It verifies whether the steps work or not

b)

It implements the steps in a programming language

c)

It mus be expressed in a natural language that anyone can follow

d)

it must be expressed in distinct steps for anyone which basic programming knowledge to understand

20.

What is the best definition of programming paradigm?

a)

It treats computation as evaluating mathematical functions

b)

It provides a conceptual framework for solving problems and designing software

c)

It is a set of grammatical rules that command a computer or a device to behave in a specific way

d)

It creates codes that tell a computer how to solve problems and accomplish various operations

21.

What is JAVA API

a)

It combines the process of compilers and interpreters

b)

It provides class libraries and other resources that any java program needs.

c)

It includes complete JRE tools for developing

d)

It has several thousand classes with thousand of methods that can be used in any program.

22.

what is the best defenition of a algorithm

a)

It verifies whether the steps work or not.

b)

It implements the steps in a programming language

c)

It must be expressed in a natural language that anyone can follow

d)

It must be expressed in distinct steps for anyone with basic programming knowledge to understand

23.

Which is NOT considered a computer program?

a)

Start Button

b)

Web Browser

c)

Utility Software

d)

Spreadsheet Software

24.

Which of the following CANNOT start an identifier name?

a)

Digit

b)

Dollar Sign

c)

Underscore

d)

English Alphabet Letter

25.

Which of the following keyword commands is NOT

primarilyusedinwritingpseudocode?

a)

SET

b)

PRINT

c)

CLASS

d)

WRITE

26.

Which of the following statements best describes the Java Runtime Environment?

a)

It combines the process of compilers and interpreters

b)

It provides class libraries and other resources that any JAVA program need

c)

it includes complete JRE tools for developing, and monitoring Java application

d)

it has several thousand classes, with thousands of methods that can be used in any program.

27.

What is the best defenition of imperative programming

a)

It focuses on organizing code into reusable functions.

b)

It treats computation as the evaluation of mathematical functions

c)

It revolves around the concepts of objects that encapsulate data and behavior

d)

It consists of binary instructions directly communicating with the computer hardware.

28.

what is the independece advantage of using Java

a)

High configurable security levels and restrictions

b)

A rich ecosystem of functions to develop various applications.

c)

Available detailed documentation, comprehensive books, and courses.

d)

A flexible code th at can be run on any platform even if only written once.

29.

What is Object Oriented Programming?

a)

It focuses on organizing code into reusable function

b)

It treats computation as the evaluation of mathematical functions

c)

It revolves around the concepts of objects that encapsulate data and behavior.

d)

It consists of binary instructions (0 and 1) directly communicating with the computer’s hardware

30.

What Is the syntax for printing in a console or program?

a)

System.out.print();

b)

print();

c)

wrintln();

d)

cout();