Java Code
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Easy
Charles Martinez
Used 3+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
12 questions
H7.P1&P2.Nova2.Geluid.mhv
Quiz
•
4th - 10th Grade
15 questions
HTML Quiz
Quiz
•
11th Grade - University
16 questions
Input Device
Quiz
•
9th - 10th Grade
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
10 questions
Treasure Hunt
Quiz
•
12th Grade
10 questions
Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)
Quiz
•
12th Grade
10 questions
Initial Assessment - Cybersecurity Awareness
Quiz
•
9th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
