
Array
Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Trima Putri Patmawati
Used 1+ times
FREE Resource
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Pemrograman Berbasis TGM : Pengantar Pemrograman Berbasis Teks
Quiz
•
11th Grade
15 questions
Bài 26
Quiz
•
10th Grade - University
25 questions
Kuis Tambahan Python
Quiz
•
9th - 12th Grade
25 questions
Kelas 9 - Halaman 49 (PTS)
Quiz
•
9th Grade - University
21 questions
Компьютерлік білімдер тесті
Quiz
•
11th Grade
15 questions
Exploring Python Programming Concepts
Quiz
•
11th Grade
15 questions
Understanding Loops in C Programming
Quiz
•
1st Grade - University
20 questions
Тест по основам Python(intro1)
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade