Java Code

Java Code

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

JavaScript:  CodeHS chapter 3 exam

JavaScript: CodeHS chapter 3 exam

9th - 12th Grade

15 Qs

Codecademy JavaScript

Codecademy JavaScript

8th - 10th Grade

10 Qs

Codehs Tracy

Codehs Tracy

10th - 12th Grade

12 Qs

Unit 1. Introduction to Object-Oriented Programming Concepts

Unit 1. Introduction to Object-Oriented Programming Concepts

9th - 10th Grade

15 Qs

Variables & Data Types

Variables & Data Types

6th - 12th Grade

10 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

UTS SMT Genap PBO 11 RPL

UTS SMT Genap PBO 11 RPL

11th Grade

15 Qs

Java Quiz 1: Introduction

Java Quiz 1: Introduction

6th - 12th Grade

10 Qs

Java Code

Java Code

Assessment

Quiz

Computers

10th - 12th Grade

Easy

Created by

Charles Martinez

Used 2+ 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?