Search Header Logo

Java Basics (Data Types and Variables)

Computers

6th - 10th Grade

Used 236+ times

Java Basics (Data Types and Variables)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the data type: "true"

boolean

char

String

double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the data type: 1.0

double

int

char

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the data type: '3'

int

char

String

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the data type: false

String

boolean

int

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would you use for storing the number of students in a class?

boolean

String

double

int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would you use for storing the average test score in a class?

double

String

int

char

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type would you use for storing letter grades (without - or +) for students in a class?

String

char

int

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?