Operators in Java

Operators in Java

University

14 Qs

quiz-placeholder

Similar activities

Java Control Flow statements

Java Control Flow statements

University

10 Qs

Java Arrays

Java Arrays

University

10 Qs

Briefing Operator Java

Briefing Operator Java

University

10 Qs

Java Operators

Java Operators

University

14 Qs

javaquizvivek

javaquizvivek

University

12 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

II CSM A & B

II CSM A & B

University

15 Qs

Array Java

Array Java

University

15 Qs

Operators in Java

Operators in Java

Assessment

Quiz

Computers

University

Hard

Created by

Thomas Martinez

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

++ increases the value of a variable by 1

assignment operator

decrement operator

increment operator

sentinel

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What would the new value of A be?

A=1;

a++;

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's the value of below?


int i=5;

System.out.println(i++);

System.out.println(i);

System.out.println(++i);

5

6

7

6

6

7

6

7

8

5

5

6

4.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Which statement(s) are equivalent to i = i + 1?

i += 1

i++

i -= 1

i--

5.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Which are the types of operators seen? Select as many you think

bitwise operator

subtraction operator

equality operator

arithmetic operator

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

what is modulo operation used for ?

performs division

performs division and gives no remainder

performs division and gives remainder

does not perform division

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

arithmetic operators return a value. True or false?

true

false

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?