Operators in Java

Operators in Java

9th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

Java Operators

Java Operators

9th Grade

15 Qs

Operators in Java

Operators in Java

9th Grade

15 Qs

Quiz 1

Quiz 1

9th Grade

16 Qs

CodeHS 2.8 Comparison Operators

CodeHS 2.8 Comparison Operators

9th - 12th Grade

13 Qs

operators in java

operators in java

8th - 9th Grade

13 Qs

Class 10th(ch #3) Basic structure of C++

Class 10th(ch #3) Basic structure of C++

10th Grade

17 Qs

Snap test - 04(X)

Snap test - 04(X)

10th Grade

12 Qs

Operators

Operators

9th Grade

19 Qs

Operators in Java

Operators in Java

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

Nidhi Arora

Used 16+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

_________ is a symbol or sign used to specify an operation to be performed in Java.

Operation

Operand

Operator

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A/an ____ is a combination of operators and operands.

expression

statement

operation

Answer explanation

Expression - the combination of operands and operators.

e.g.: a+b

Statement - Assignment of the expression to a variable.

e.g.: c = a+b

Operation -What happens when the statement is executed.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

a*r*r

a*r

a^r

a*a*r

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these is NOT a type of operator in Java?

Arithmetic

String

Relational

Logical

5.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Arithmetic operators are: (mark all that apply)

Unary

Unitary

Binary

Ternary

Tertiary

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If:

c= -5

-c =?

-5

5

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If a=5:

The solution to:

(i) m= ++a*2 + a

and

(ii) m = a++*2 + a

are:

(i) 18

(ii) 16

(i) 16

(ii) 18

(i) 17

(ii) 16

(i) 16

(ii) 17

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?