Java Operators

Java Operators

University

14 Qs

quiz-placeholder

Similar activities

Java Basic 1 - Quiz

Java Basic 1 - Quiz

8th Grade - University

19 Qs

Temel Java Bilgisi Ölçme Testi

Temel Java Bilgisi Ölçme Testi

University

10 Qs

One Dimensional Array

One Dimensional Array

9th Grade - University

14 Qs

Array

Array

University

11 Qs

Java Control Flow Statements

Java Control Flow Statements

University

10 Qs

Talent Next Java MCQ-1

Talent Next Java MCQ-1

University

10 Qs

Java March

Java March

KG - University

16 Qs

java quiz on Encapsulation and Abstraction

java quiz on Encapsulation and Abstraction

University

10 Qs

Java Operators

Java Operators

Assessment

Quiz

Computers

University

Hard

Created by

RESHMA NADAF

Used 1K+ 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?