Operators in Java

Operators in Java

9th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

ICP Unit 1 & 3 Vocab Quiz

ICP Unit 1 & 3 Vocab Quiz

9th Grade - University

20 Qs

Operators in Java

Operators in Java

9th Grade

15 Qs

Variables,Operators and Data Types [OCR]

Variables,Operators and Data Types [OCR]

9th Grade

17 Qs

Unit 4 Variables, Conditionals & Functions CS20-21

Unit 4 Variables, Conditionals & Functions CS20-21

9th - 12th Grade

18 Qs

CodeHS 2.13 Short-Circuit Evaluation

CodeHS 2.13 Short-Circuit Evaluation

9th - 12th Grade

11 Qs

Computer Science Coding

Computer Science Coding

8th - 9th Grade

18 Qs

Toán tử trong C ++

Toán tử trong C ++

10th - 12th Grade

20 Qs

APCSP CodeHS Unit 3

APCSP CodeHS Unit 3

10th - 12th Grade

20 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?