
Struktur Kontrol Perulangan, Array, dan Function (Bahasa C)
Authored by Eko Zulkaryanto
Computers
10th Grade
Used 27+ times

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
1 min • 1 pt
Berikut ini sintaks yang BUKAN untuk membuat program perulangan adalah ...
for
do while
while
if
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Sintaks pemrograman Bahasa C di bawah ini yang benar untuk membuat perulangan 10 kali adalah ...
for(i = 0; i < 10; i++){
printf("SMK Bisa!\n");
}
if(i = 0; i < 10; i++){
printf("SMK Bisa!\n");
}
do(i = 0; i < 10; i++){
printf("SMK Bisa!\n");
}
while(i = 0; i < 10; i++){
printf("SMK Bisa!\n");
}
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Untuk membuat perulangan 10 kali dengan for yang benar adalah ...
for(i = 1; i < 10; i++){
printf("SMK Bisa!\n");
}
for(i = 0; i <= 10; i++){
printf("SMK Bisa!\n");
}
for(i = 0; i < 10; i++){
printf("SMK Bisa!\n");
}
for(i = 1; i <= 9; i++){
printf("SMK Bisa!\n");
}
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Berikut ini yang merupakan variabel array 2 dimensi, yaitu ...
int nilai[10];
float matrix[2][2];
int skor[20]
char nama[50]
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Berikut ini array yang dapat menyimpan bilangan desimal sebanyak 15 data adalah ...
char nilai[15];
int nilai[10];
float nilai[15];
float nilai[10];
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Diketahui sebuah array berikut: nilai[10] = {80, 81, 82, 83, 85, 88, 90, 92, 78, 78}, maka jika lakukan perintah printf("%d", nilai[1]), yang berarti bahwa akan dicetak nilai pada indeks ke 1, maka output program tersebut adalah ...
80
81
82
83
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Untuk dapat menyimpan seluruh nama "Eko Zulkaryanto" maka diperlukan sebuah variabel array dengan ukurannya yang tepat, yaitu ...
char nama[10]
char nama[5]
char nama[14]
char nama[15]
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
20 questions
Perakitan dan Pengujian Komputer - KJD
Quiz
•
10th Grade
20 questions
SOFTWARE 7I
Quiz
•
7th Grade - University
10 questions
Quiz Kelas 4
Quiz
•
10th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
16 questions
ETİK BİLGİ VE SİBER SUÇLAR
Quiz
•
1st - 12th Grade
17 questions
FormazioneSicurezzaSpecifica_Mod. 3.1
Quiz
•
9th - 12th Grade
15 questions
Dasar Kompetensi Keahlian IPv6
Quiz
•
10th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade