
Q1.2 subcmpk 3 Seleksi Kondisi
Authored by Yoannita UMDP
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
The statement i++; is equivalent to
(Perintah i++ sama artinya dengan)
i = i + i;
i = i + 1;
i = i - 1;
i--;
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is evaluated first:
Simbol mana yang akan dieksekusi terlebih dahulu?
&&
||
!
no difference between &&, || and !
tidak ada perbedaan antara &&, || dan !
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
i++; sama artinya dengan
i = i + i;
i = i + 1;
i = i - 1;
i --;
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Simbol Operator Modulo (sisa bagi)
%
*
#
^
&
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Perintah berikut digunakan untuk mengisi nilai variabel xyz dengan isi nilai variabel abc
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
int x = 1000;
x /= 2;
System.out.print(x);
Hasil:
1002
500
998
2
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
int x = 1000;
x %= 2;
System.out.print(x);
Hasil:
1002
500
998
0
2
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?