
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
Similar Resources on Wayground
16 questions
2.3 Programming Data Review

Quiz
•
9th - 12th Grade
15 questions
Quiz Informatika Genap KLs 7

Quiz
•
7th Grade - University
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
20 questions
Java Programming Quiz

Quiz
•
11th Grade
16 questions
HTML Questions (100 Marks)

Quiz
•
9th - 12th Grade
15 questions
Kekurangan dan Keunggulan Struktur Data

Quiz
•
11th Grade - University
20 questions
WEB 1.1

Quiz
•
11th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
28 questions
Ser vs estar

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
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade