Struktur Kontrol Perulangan, Array, dan Function (Bahasa C)
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Eko Zulkaryanto
Used 27+ times
FREE Resource
Enhance your content in a minute
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]
Create a free account and access millions of resources
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
BAB BK
Quiz
•
10th Grade
10 questions
Asesmen Diagnostik Sistem Komputer
Quiz
•
10th Grade - University
15 questions
Berfikir Komputasional
Quiz
•
10th Grade
10 questions
Циклы
Quiz
•
10th Grade
20 questions
UH - 01 VII
Quiz
•
1st - 12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
10 questions
Pertanyaan Berpikir Komputasional
Quiz
•
10th Grade
16 questions
Kod Arahan
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
