
quiz strategi algoritmik
Authored by PLKSMA JUL-DES2024
Computers
11th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari operasi 5 % 2 dalam bahasa C?
1
2
0
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang digunakan untuk mengambil input dari pengguna dalam bahasa C?
printf
scanf
input
getchar
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
int x = 10;
printf("%d", x++);
9
10
11
undefined
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang digunakan untuk membuat loop dalam bahasa C?
if
switch
for
goto
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
int arr[] = {1, 2, 3, 4, 5};
printf("%d", arr[3]);
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari return 0; dalam program C?
Menandakan program telah berjalan sukses
Menandakan program gagal
Mengakhiri program tanpa kembali nilai apapun
Mengakhiri program dengan kesalahan
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
char str[] = "Hello";
printf("%c", str[1]);
h
e
l
o
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?