
JAVA-OPERATORS
Authored by RAVINDER B
Computers
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int a = 10, b = 5, c = 1;
System.out.println(a < b ? a : b > c ? b : c);
10
5
1
Compilation error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int a = 3;
System.out.println(a << 2 + 1);
24
48
12
8
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
boolean x = true, y = false;
System.out.println(x & y || x);
true
false
0
ERROR
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
boolean a = false;
boolean b = (a = true) || (5 < 4);
System.out.println(a + " " + b);
true true
true false
false false
false true
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int a = 5, b = 10, c = 15;
System.out.println(a < b && b < c || c < a);
true
false
Compilation error
NONE
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int x = 5;
System.out.println(x++ + ++x * x++);
47
49
50
53
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
System.out.println(10 > 9 == 9 > 10);
true
false
Compilation error
Runtime error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Python-Quiz-Basic-Datatypes
Quiz
•
12th Grade - Professi...
10 questions
Software Security
Quiz
•
University - Professi...
10 questions
C Programming
Quiz
•
Professional Development
10 questions
BASIC OF COMPUTER
Quiz
•
Professional Development
10 questions
Web Browsing
Quiz
•
10th Grade - Professi...
13 questions
G Suite
Quiz
•
4th Grade - Professio...
10 questions
Introduction to Hyperconverged: HCI 101
Quiz
•
Professional Development
10 questions
Kiểu kí tự
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade