Search Header Logo

Java Data Types

Authored by Dianne Bangloy

Computers

10th Grade

Used 3+ times

Java Data Types
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

5 sec • 1 pt

Which of the following is not a numeric data type?

boolean

short

int

long

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

How many different values can a Boolean contain?

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What data type would you use to store your Date of Birth?

int

char

boolean

String

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What data type would you use to store your phone number (ex. 9974079957)?

byte

short

int

long

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

What is the appropriate data type for this value '1' ?

char

int

byte

String

6.

MULTIPLE SELECT QUESTION

5 sec • 1 pt

What data type would you use to store your GWA (ex. 1.25)?

int

float

double

long

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What data type for a constant called: PI = 3.14 ?

int

short

byte

float

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?