Java Basic Quiz

Java Basic Quiz

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Java IO

Java IO

12th Grade

10 Qs

Class X - Java 1

Class X - Java 1

10th Grade

15 Qs

Basics in Java

Basics in Java

9th - 12th Grade

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Flujos en Java/Android

Flujos en Java/Android

12th Grade - University

10 Qs

Loops

Loops

9th - 12th Grade

10 Qs

AP Computer Science A Quiz

AP Computer Science A Quiz

12th Grade

15 Qs

Java switch/for/while

Java switch/for/while

9th - 12th Grade

15 Qs

Java Basic Quiz

Java Basic Quiz

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Diwakara Rao Meragana

Used 59+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?