
Operators in Java

Quiz
•
Computers
•
9th Grade
•
Medium
Sangameswari Ravindran
Used 387+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The values involved in any mathematical operations are known as ____________
Operators
Operands
Symbols
Tokens
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The operators used in Arithmetic expressions can be classified into
Unary operator
Binary operator
Ternary operator
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__________ operator increases the value of the operand by 1.
--
-
++
+
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if p=10, then the output of the expression c= p++ *5 is
50
55
45
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if a = 30, then value of b = a--+--a
b= 56
b= 58
b= 57
b= 59
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ternary operators are also called as
increment operator
decrement operator
Conditional assignment
none of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of the following statements will be
int a = 14; b= 4;
boolean x=(a>b)? true:false
true
false
error
none of the above
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Java Conditional Constructs

Quiz
•
9th - 10th Grade
10 questions
Python - Operators and Conditional Statement

Quiz
•
3rd - 10th Grade
20 questions
Operators (Computer Science - Python)

Quiz
•
7th - 12th Grade
16 questions
Quiz 1

Quiz
•
9th Grade
14 questions
ICT 9 - LESSON 1: CONNECTING DATA THROUGH OPERATORS

Quiz
•
9th Grade
20 questions
JavaScript Operators

Quiz
•
9th - 12th Grade
19 questions
Operators

Quiz
•
9th Grade
10 questions
Formulas in Excel

Quiz
•
6th - 9th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade