
Quiz tentang Array dalam C++
Authored by Tuty Marlina
Computers
11th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa yang dimaksud dengan array dalam C++?
Jenis data untuk menyimpan karakter
Kumpulan variabel dengan tipe data yang sama
Sebuah fungsi untuk mengulangi proses
Sebuah konstanta dalam program
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Bagaimana cara mendeklarasikan array dengan 10 elemen bertipe `int`?
`int arr[10];`
`array int[10];`
`int array(10);`
`int arr[10] = {};`
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Bagaimana cara mengakses elemen pertama dari array `arr`?
`arr[0]`
`arr[1]`
`arr[10]`
`arr[0] + 1`
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa yang terjadi jika Anda mencoba mengakses elemen ke-11 dari array yang hanya memiliki 10 elemen?
Program akan berhenti
Program akan menampilkan pesan kesalahan
Program akan mengakses data acak di memori
Program akan kembali ke elemen pertama
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Bagaimana cara mendeklarasikan array dua dimensi dengan 3 baris dan 4 kolom bertipe `int`?
`int arr[3][4];`
`int arr(3,4);`
`int arr[4][3];`
`int arr[] = {3,4};`
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa output dari kode berikut? int arr[5] = {1, 2, 3, 4, 5}; cout << arr[2];
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Bagaimana cara mendeklarasikan fungsi yang menerima array sebagai argumen di C++?
`void function(int arr[]);`
`void function(int[] arr);`
`void function(arr[] int);`
`void function(int arr[10]);`
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
45 questions
GCSE Computing
Quiz
•
10th - 11th Grade
50 questions
Soal Kejuruan TKJ 4
Quiz
•
10th - 11th Grade
50 questions
Quiz Latihan Soal-Soal UTS Pengantar Organisasi Komputer
Quiz
•
KG - University
48 questions
Adobe Photoshop
Quiz
•
11th Grade
50 questions
pangkalan data lanjutan tingkatan 5
Quiz
•
1st Grade - University
50 questions
Latihan Soal Kelas 9
Quiz
•
9th Grade - University
50 questions
ULANGAN HARIAN MPP KE 4
Quiz
•
11th Grade
50 questions
Teknologi Jaringan Kabel dan Nirkabel ( Mapel Pilihan )
Quiz
•
11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
10 questions
Evaluating Piecewise Functions Practice
Quiz
•
11th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade