
Operators in Java
Authored by Nimmy Anson
Computers
9th Grade
Used 169+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the java expression for the following
ax5+bx3+c
(a)
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Give the output of the following , when m = 10, n =6
m - = 9 % ++n + ++n/2
(a)
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the value of y if x = 5
y = ++x - x++ + --x
(a)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the java expression for
(a)
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be the value x if a = , b =
x = ( a > b ) ? a : b
(a)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Rewrite the following code using ternary operator
int c ;
if( a > b )
c = a;
else
c = b;
(a)
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Evaluate if a = 10 , b = 8
a % b++
(a)
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?