Java Code

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
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
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
Similar Resources on Quizizz
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
15 questions
002_Java Methods

Quiz
•
12th Grade - University
10 questions
Unit 6

Quiz
•
12th Grade
10 questions
G12_Week7

Quiz
•
12th Grade - University
15 questions
Soal Java

Quiz
•
11th Grade - University
9 questions
Pemrograman OOP 2

Quiz
•
11th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
17 questions
"switch" Java Statement - 1

Quiz
•
9th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University