Java Code

Java Code

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Logos - Digital Images

Logos - Digital Images

2nd - 10th Grade

10 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

EmTech Q2 Post Test 2

EmTech Q2 Post Test 2

11th Grade

15 Qs

CSS background, border

CSS background, border

11th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Java Code

Java Code

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Easy

Created by

Charles Martinez

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

0

1

2

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a Java arithmetic operator?

/

%

&

+

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of running the line of code below in Java?

System.out.println(3/2);   

0.5

1

1.5

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of running the line of code below in Java?

System.out.println(2/3);   

0

0.5

1

1.5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of running the line of code below in Java?

System.out.println(3.0/2);   

0

0.5

1

1.5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is short for "integer" in Java?

int

inte

intr

inr

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If the user inputs 12, what will this code output?

Your number tripled is: 3

Your number tripled is: 36

Your number tripled is: 15

Your number tripled is: 1728

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?