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
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
13 questions
LENGUAJE C
Quiz
•
11th Grade
8 questions
Basic computer
Quiz
•
9th - 12th Grade
10 questions
ICT as Platform for Change
Quiz
•
11th - 12th Grade
10 questions
emtech
Quiz
•
12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
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
