Java Code

Java Code

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Review

Review

9th - 12th Grade

10 Qs

evolution of computer

evolution of computer

9th - 12th Grade

14 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

College Football

College Football

5th - 12th Grade

11 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

Lesson 1 Introduction to Database System

Lesson 1 Introduction to Database System

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?