
EX 29: Java Operators Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
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
Similar Resources on Wayground
10 questions
Bitwise Operators in C Language

Quiz
•
12th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
20 questions
Javascript Conditional Statements

Quiz
•
9th - 12th Grade
15 questions
Java Operators Quiz

Quiz
•
12th Grade
15 questions
Java Strings and Math Quiz

Quiz
•
12th Grade
15 questions
PCEP Section 1D: Choose operators (May 7th)

Quiz
•
12th Grade
20 questions
JavaScript Operators

Quiz
•
9th - 12th Grade
16 questions
Javascript Basics

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade