Java Chapter 2

Java Chapter 2

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Casey Riggs

Used 20+ times

FREE Resource

Student preview

quiz-placeholder

16 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are primitive data types in Java?

int

double

char

boolean

word

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are primitive data types in Java?

byte

long

short

float

number

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate 813 % 100 / 3 + 2.4

6.4

6.73333...

4.4

5.06666...

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate 22 + 4 * 2

30

52

28

30.0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate (12 + 3) / 4 * 2

6

7.5

6.0

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate 2 + "(int) 2.0" + 2 * 2 + 2

"2(int) 2.042"

"2(int) 2.06"

"(int) 8.0"

"2(int) 2.0222"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate 2 * 3 + "." + 4 + 2

"6.42"

"23.42"

"6.6"

"333.6"

Create a free account and access millions of resources

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?