Struktur Kontrol Perulangan, Array, dan Function (Bahasa C)

Quiz
•
Computers
•
10th Grade
•
Medium
Eko Zulkaryanto
Used 27+ times
FREE Resource
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
Similar Resources on Wayground
20 questions
Perangkat Lunak dan Struktur Pemrograman (UH 2)

Quiz
•
10th Grade
20 questions
PENILAIAN FORMATIF ALGORITMA DAN PEMROGRAMAN

Quiz
•
10th Grade
20 questions
สารสนเทศ 4/2

Quiz
•
10th Grade
20 questions
Array

Quiz
•
10th - 12th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
20 questions
UH TIK - Algoritma & Bahasa Pemrograman dan Dampak Sosial TIK

Quiz
•
10th Grade
15 questions
Pemrograman Dasar - Perulangan

Quiz
•
10th Grade
20 questions
for Döngüsü

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade