
6. Menggunakan Array dalam Perulangan
Authored by Wawan Wawan
Computers
11th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Salah satu keuntungan menggunakan array dalam perulangan adalah …
Membuat kode lebih panjang
Menyulitkan dalam input data
Kode program menjadi lebih pendek dan efisien
Tidak bisa digunakan untuk input otomatis
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sintaks berikut digunakan untuk mengisi array dengan input pengguna: for (int i = 0; i > angka[i]; } Apa yang dilakukan kode tersebut?
Menyimpan 5 teks
Menampilkan isi array
Mengisi array angka dengan 5 input dari pengguna
Menyalin array ke file
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi dari indeks i dalam angka[i] pada perulangan adalah untuk …
Menentukan panjang array
Menunjukkan elemen array saat ini yang sedang diproses
Menghapus isi array
Menyalin data ke array baru
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika kita ingin menampilkan semua isi array nilai[5] dengan perulangan, maka digunakan perulangan …
for (int i = 1; i <= 5; i++)
for (int i = 0; i < 5; i++)
for (int i = 0; i <= 5; i++)
for (int i = 1; i < 5; i++)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tujuan utama penggunaan perulangan for saat bekerja dengan array adalah …
Untuk mematikan program
Mengulang proses untuk semua elemen array
Membuat variabel baru
Menghapus array
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagian program yang digunakan untuk menampilkan isi array menggunakan perulangan adalah …
cin << angka[i];
cout << angka[i];
input angka[i];
scanf(angka[i]);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut ini adalah salah satu contoh perhitungan yang bisa dilakukan dengan array dan perulangan, kecuali …
Menghitung total seluruh isi array
Menentukan panjang string
Menghitung rata-rata nilai
Mencari nilai terbesar
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
10 questions
TIN 10 - BÀI 4
Quiz
•
10th - 11th Grade
10 questions
Windows 7 Installation
Quiz
•
10th - 12th Grade
11 questions
What is a computer
Quiz
•
KG - University
10 questions
Spoljna memorija - HDD
Quiz
•
9th - 11th Grade
12 questions
Google Classroom
Quiz
•
7th Grade - University
12 questions
Effect of ICT
Quiz
•
9th - 12th Grade
10 questions
การออกแบบเชิงวิศวกรรมและเทคโนโลยี ม.5
Quiz
•
11th Grade
10 questions
Python Testing
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Los mandatos y las recetas
Lesson
•
11th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade