Operators in Java

Operators in Java

9th Grade

10 Qs

quiz-placeholder

Similar activities

Mathematical Functions in Java

Mathematical Functions in Java

9th - 10th Grade

15 Qs

Conditionals & Arrays

Conditionals & Arrays

9th - 12th Grade

15 Qs

Java Math

Java Math

9th - 12th Grade

15 Qs

Python

Python

9th Grade

15 Qs

Function -1

Function -1

5th Grade - Professional Development

12 Qs

Программирование линейных и разветвляющихся алгоритмов

Программирование линейных и разветвляющихся алгоритмов

1st - 10th Grade

10 Qs

JavaScript Math

JavaScript Math

6th - 12th Grade

10 Qs

C++ Unit 3 & 4 Review

C++ Unit 3 & 4 Review

9th - 12th Grade

14 Qs

Operators in Java

Operators in Java

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Nimmy Anson

Used 167+ times

FREE Resource

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

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

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the value of y if x = 5

y = ++x - x++ + --x

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

  Write the java expression fora2+b\sqrt{a^2+b} 

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will be the value x if a = , b =

x = ( a > b ) ? a : b

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;

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Evaluate if a = 10 , b = 8

a % b++

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?