Java Operators

Quiz
•
Computers
•
University
•
Hard

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
Similar Resources on Wayground
10 questions
Java Static

Quiz
•
University
10 questions
exception

Quiz
•
University
10 questions
Inheritance

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
10 questions
java operators

Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
12 questions
Operators in C

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade