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
10 questions
CS 50 Terminology

Quiz
•
6th - 10th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
15 questions
Python Basics Quiz 1

Quiz
•
8th Grade - University
19 questions
Java Base

Quiz
•
9th - 12th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st

Quiz
•
9th - 12th Grade
12 questions
C# Arrays

Quiz
•
9th - 12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
11 questions
Diagnostico ProgramacionB25

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade