Java Chapter 2

Java Chapter 2

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

while and do while Loop

while and do while Loop

10th Grade

11 Qs

FOR and WHILE loop in Python

FOR and WHILE loop in Python

9th - 12th Grade

18 Qs

C# 101 Assessment

C# 101 Assessment

9th - 12th Grade

20 Qs

Python Programming

Python Programming

11th Grade

17 Qs

C - Language Quiz

C - Language Quiz

12th Grade

15 Qs

KS4 Python While Loops and For Loops

KS4 Python While Loops and For Loops

9th - 11th Grade

13 Qs

P5.js Conditional Statements in Computer Science

P5.js Conditional Statements in Computer Science

9th - 12th Grade

15 Qs

Java Chapter 2

Java Chapter 2

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Nolan Pawelski

Used 27+ times

FREE Resource

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?