Operators in Java

Quiz
•
Computers
•
University
•
Hard
Thomas Martinez
Used 1+ 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
CMP128 Java Ch. 05 Methods

Quiz
•
University
10 questions
DEBUG THE CODE

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
10 questions
Briefing Operator Java

Quiz
•
University
15 questions
Soal Java

Quiz
•
11th Grade - University
10 questions
Java Programming Basics

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
15 questions
Bootcamp Day 3 - Java Array

Quiz
•
University
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