Java Code

Java Code

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Java March

Java March

KG - University

16 Qs

Java switch/for/while

Java switch/for/while

9th - 12th Grade

15 Qs

PBO KELAS 12

PBO KELAS 12

12th Grade

14 Qs

CodeHS Unit 2

CodeHS Unit 2

11th - 12th Grade

13 Qs

สอบกลางภาค JAVA เรียนที่ 1/2562

สอบกลางภาค JAVA เรียนที่ 1/2562

KG - 12th Grade

15 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Arrays

Arrays

10th - 12th Grade

10 Qs

Quiz 15 - Array Basics

Quiz 15 - Array Basics

11th Grade

10 Qs

Java Code

Java Code

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Charles Martinez

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?