
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
17 questions
Arduino Quiz #10: Arrays and Loops

Quiz
•
11th Grade
20 questions
ASESMEN DIAGNOSTIK INFORMATIKA KELAS 9

Quiz
•
9th Grade - University
15 questions
Understanding Loops in C Programming

Quiz
•
1st Grade - University
15 questions
Kelas 7 - Halaman 12 (UH Bab 1)

Quiz
•
7th Grade - University
20 questions
Kelas 7 - Halaman 35 (PTS)

Quiz
•
7th Grade - University
20 questions
Тест по основам Python(intro1)

Quiz
•
9th - 12th Grade
15 questions
Quiz Array Kelas XI

Quiz
•
11th Grade
15 questions
Quiz Pemrograman Arduino

Quiz
•
10th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade