Apa yang dimaksud dengan array?

Quiz tentang Array dan Fungsi dalam Pemrograman

Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Muhammad Hidayatullah
Used 3+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sekumpulan fungsi yang tidak terdefinisi
Sekumpulan nilai yang tidak terurut
Sekumpulan variabel dengan tipe data yang sama
Sekumpulan variabel dengan tipe data yang berbeda
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indeks array dalam C++ dimulai dari angka berapa?
2
10
0
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika jumlah nilai yang ditambahkan ke array lebih banyak dari jumlah elemen yang dideklarasikan?
Program akan berjalan normal
Array akan otomatis menyesuaikan
Akan terjadi kesalahan (error)
Nilai akan diabaikan
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendeklarasikan array dengan 5 elemen integer?
int nilai_int[5];
int[5] nilai_int;
int nilai_int = {5};
array int nilai_int[5];
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan terjadi jika kita mengakses elemen array dengan indeks yang lebih besar dari jumlah elemen?
Nilai akan dikembalikan sebagai 0
Program akan berhenti
Akan terjadi kesalahan saat kompilasi
Akan terjadi kesalahan saat runtime
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan array multidimensi?
Array yang hanya memiliki satu dimensi
Array yang terdiri dari kumpulan array
Array yang tidak memiliki elemen
Array yang hanya menyimpan nilai integer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sintaks untuk mengakses elemen array adalah?
Nama_Array{indeks};
Nama_Array[indeks];
indeks{Nama_Array};
indeks[Nama_Array];
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
15 questions
Quiz Pemrograman Arduino

Quiz
•
10th Grade - University
15 questions
Quiz Array Kelas XI

Quiz
•
11th Grade
15 questions
Kuis Pemrograman Python: Kalkulator Sederhana

Quiz
•
11th Grade
10 questions
Quis code blocks

Quiz
•
11th Grade
15 questions
Kelas 7 - Halaman 12 (UH Bab 1)

Quiz
•
7th Grade - University
17 questions
Arduino Quiz #10: Arrays and Loops

Quiz
•
11th Grade
10 questions
3F_14042025_Verifica per orale Informatica

Quiz
•
11th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University