EX 29: Java Operators Quiz

EX 29: Java Operators Quiz

12th Grade

15 Qs

quiz-placeholder

Similar activities

C# Basics

C# Basics

12th Grade - Professional Development

10 Qs

Unit 3 Python TEST

Unit 3 Python TEST

11th - 12th Grade

20 Qs

AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

9th - 12th Grade

10 Qs

KUIS_INFORMATIKA_AlGO-PEMROGRAMAN_SMA_X

KUIS_INFORMATIKA_AlGO-PEMROGRAMAN_SMA_X

9th - 12th Grade

10 Qs

Bitwise Masks

Bitwise Masks

12th Grade

15 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Computer programming for 2nd chap.

Computer programming for 2nd chap.

10th Grade - Professional Development

12 Qs

Quiz - 6 on Relational & Logical Operators

Quiz - 6 on Relational & Logical Operators

12th Grade

10 Qs

EX 29: Java Operators Quiz

EX 29: Java Operators Quiz

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Khairul Imtiyaz

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for simple assignment in Java?

=

-

+

*

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the unary plus operator '+' indicate in Java?

Decrement value

Increment value

Positive value

Negative value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for division in Java?

-

/

*

+

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the decrement operator '--' do in Java?

Inverts the value of a boolean

Decrements a value by 1

Increments a value by 1

Negates an expression

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for bitwise AND in Java?

^

|

~

&

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the logical complement operator '!' do in Java?

Decrements a value by 1

Inverts the value of a boolean

Negates an expression

Increments a value by 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for bitwise exclusive OR in Java?

~

^

|

&

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?

Discover more resources for Computers