Search Header Logo

Java Basic Quiz

Authored by Diwakara Rao Meragana

Computers

9th - 12th Grade

Used 59+ times

Java Basic Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the range of data type short in Java?

-128 to 127

-32768 to 32767

-2147483648 to 2147483647

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the range of data type byte in Java?

-128 to 127

-32768 to 32767

-2147483648 to 2147483647

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

An expression involving byte, int, and literal numbers is promoted to which of these?

int

long

byte

float

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which of these literals can be contained in a data type float variable?

1.7e-308

3.4e-038

1.7e+308

3.4e-050

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Which data type value is returned by all transcendental math functions?

int

float

double

long

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

JDK stands for

Java Developer Kit

Java Development Kit

Java Design Kit

Java Debugging Kit

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

A ___________ file is created after successful compilation of a Java program.

Object file

Array file

Class file

String file

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?