Search Header Logo

9.Primitive Data Types (floating point datatype)

Authored by ANIL KUMAR

Computers

Professional Development

9.Primitive Data Types (floating point datatype)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which primitive data types in Java can store floating-point numbers?

int and long
byte and short
float and double
boolean and char

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a primitive data type in Java?

A type that represents objects
A type that is used for complex calculations
A basic type provided by the Java language
A type that requires explicit declaration

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the floating-point data type in Java?

double
float
FloatingPoint
Floating

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the valid types for floating-point numbers in Java?

float and double
byte and short
int and long
boolean and char

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the primitive data type of float?

Float
float
Double
double

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is a type of floating-point data type?

byte
short
int
double

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is not a primitive data type in Java?

int
Integer
double
boolean

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?