
Array
Quiz
•
Information Technology (IT)
•
11th Grade
•
Practice Problem
•
Medium
Trima Putri Patmawati
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
1. Apa yang dimaksud dengan array satu dimensi?
Kumpulan data bertipe sama berbentuk baris dan kolom
Kumpulan data bertipe berbeda dalam satu variabel
Kumpulan data bertipe sama yang disusun secara linear
Kumpulan karakter dalam string
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Manakah deklarasi array satu dimensi yang benar dalam C++?
int data();
int data[5];
array<int> data[5];
data int[5];
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Berapa indeks terakhir dari array int nilai[10];?
10
9
11
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa hasil dari program berikut?
int data[3] = {2, 4, 6};
cout << data[1];
2
4
6
error
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Fungsi for dalam penggunaan array biasanya digunakan untuk:
Membuat array baru
Menampilkan atau mengisi elemen array
Mencari panjang array
Menghapus array
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Berikut ini kode yang akan mencetak semua elemen array angka[5], kecuali:
for(int i=0; i<5; i++) cout << angka[i];
cout << angka[0] + angka[1] + angka[2] + angka[3] + angka[4];
while(i<5) { cout<<angka[i]; i++; }
cout << angka;
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Array int x[4] = {1, 2}; memiliki elemen sisa yang belum ditentukan, nilainya akan:
Menyebabkan error
Diisi angka acak
Diisi dengan 0
Diisi dengan NULL
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
15 questions
Recap Handout 3 & 4
Quiz
•
6th Grade - University
15 questions
Tugas Informatika Kelas 7
Quiz
•
7th Grade - University
15 questions
KEAMANAN DATA
Quiz
•
9th - 12th Grade
15 questions
Table,Image formatting
Quiz
•
5th Grade - University
20 questions
QUIZ TOPOLOGI JARINGAN
Quiz
•
11th Grade
20 questions
ELEMEN INFORMATIKA
Quiz
•
9th - 12th Grade
15 questions
Sistem Komputer
Quiz
•
5th Grade - University
20 questions
Kelas 8 - Halaman 10 (UH Bab 1)
Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
36 questions
Benchmark 2 Review (LEAP)
Quiz
•
11th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
