
ATS Quiz Genap
Authored by task rpl6
Information Technology (IT)
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What part of the operator is a *=c?
relational
assignment
logical
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What operator does '!=' represent?
logical
arithmetic
increment
relational
3.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
If the syntax is i = i + 1, what is it equivalent to?
i -= 1
i += 1
d
i--
4.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
What is the output of the following code: int a1 = 100 + 50 * 4; int a2 = a1 * 2; int a3 = a2 + a2; System.out.println(a3);
1200
2400
1000
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
If there are two operands with values 1 and 0 given the operator 'or', what will be the result?
false
true
6.
MULTIPLE CHOICE QUESTION
3 mins • 5 pts
What is the output of the following code: class increment { public static void main(String args[]) {
double var1 = 1 + 5;
double var2 = var1 / 4;
int var3 = 1 + 5;
int var4 = var3 / 4;
System.out.print(var2 + "dan" + var4); } }
1 dan 1
1 dan 1.5
1.5 dan 1
7.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
What is the output of the following code: int a = 5; int b = 8; int c = 3; System.out.println(a + b / c * 2);
6
9
8
11
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?