Java Operator

Quiz
•
Computers
•
5th Grade
•
Hard

dot 5th
Used 680+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the new value of A be?
A=1;
a++;
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the new value of A be?
A=1;
A--;
0
1
2
-1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What's the value of below?
int i=5;
System.out.println(i);
System.out.println(++i);
6
7
67
7
8
5
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code output?
int x = 1;
System.out.println(x++);
1
2
compilation error
runtime error
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which statement(s) are equivalent to i = i + 1?
i += 1
i++
i -= 1
i--
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol represents the and operator in Java?
AND
and
&
&&
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol represents the or operator in Java?
OR
or
||
|
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
1.6 Struktur data dan modular sk tingkatan 4

Quiz
•
4th - 5th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
10 questions
Bài tập trắc nghiệm C++

Quiz
•
3rd - 12th Grade
10 questions
Programming - Iteration, Basic Programming Constructs & Loop

Quiz
•
2nd - 12th Grade
10 questions
Logic

Quiz
•
5th - 9th Grade
15 questions
IEEE Day

Quiz
•
KG - 5th Grade
15 questions
Python Basics

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