
Java Math
Authored by Bob Powers
Computers
9th - 12th Grade
Used 59+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following code segment print?
System.out.println(4 / 5);
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following code segment print?
System.out.println(4 * 2.0);
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following code segment print?
System.out.println("b" + 2 * 2);
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following code segment print?
System.out.println(1 / 2.0);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value in variable x after this code segment is executed?
int x = 5.0 + 2;
7
7.0
There will be a runtime error
There will be a syntax error
5.02
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value in variable x after this code segment is executed?
String x = "" + 4 + 2;
"6"
"6.0"
There will be a runtime error
There will be a syntax error
"42"
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will the following code segment print?
System.out.println(17 % 3);
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
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
10 questions
conditional and iterative statements
Quiz
•
11th Grade
10 questions
Baze de date-Design
Quiz
•
12th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
17 questions
Basic Docs
Quiz
•
8th - 9th 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