
Remedial Ulangan Harian Kelas XI.6
Quiz
•
Information Technology (IT)
•
11th Grade
•
Practice Problem
•
Hard
Muhammad Naswar Abbas
Used 2+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Bagaimana cara mendeklarasikan array dalam bahasa pemrograman Java?
`int array[] = new int[5];`
`int array = new int[5];`
`array = new int[5];`
`int[] array = new int[5];`
Answer explanation
Artinya kita membuat array dengan tipe data integer yang bisa menampung 5 angka.
Ingat: [] menunjukkan bahwa variabel tersebut adalah array, bukan hanya satu nilai.
2.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Dalam bahasa pemrograman, array digunakan untuk .....
Menyimpan satu nilai dalam satu variabel
Menyimpan banyak nilai dalam satu variabel
Menyimpan data dalam bentuk teks saja
Menyimpan data dalam bentuk angka saja
Answer explanation
Jadi, dibanding membuat banyak variabel (nilai1, nilai2, nilai3...), kita cukup buat satu array.
3.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Apa yang dimaksud dengan array dalam pemrograman?
Variabel tunggal untuk menyimpan satu nilai
Struktur data untuk menyimpan banyak nilai dengan tipe yang sama
Fungsi untuk menghitung jumlah data
Algoritma untuk mengurutkan data
Answer explanation
Semua isi array harus satu tipe data, misalnya semua integer, semua string, atau semua char.
4.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Apa yang terjadi jika kita mengakses indeks array di luar batas yang telah ditentukan .....
Program akan otomatis menambahkan elemen baru
Akan terjadi error (out of bounds)
Nilai yang diakses akan selalu 0
Tidak ada efek apapun
Answer explanation
Karena array punya ukuran tetap, kalau kita coba akses di luar batas, program akan error.
5.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Jika dibuat array int x[3] = {5, 10, 15}; maka nilai dari x[1] adalah …
5
10
15
20
Answer explanation
Contoh array int x[3] = {5, 10, 15};
x[0] = 5, x[1] = 10, x[2] = 15
➝ Jadi x[1] = 10.
6.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Sekumpulan data yang bertipe sama dan antara data satu dengan data yang lain dibedakan dengan indeksnya merupakan pengertian dari....
Integer
Array
Variabel
Char
Answer explanation
Artinya, setiap elemen array punya posisi (indeks), misalnya array[0], array[1], array[2].
7.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Apa yang dimaksud dengan "index" dalam konteks array .....
Nilai yang disimpan dalam array.
Tipe data dari elemen array.
Posisi atau lokasi elemen dalam array.
Jumlah total elemen dasar
Answer explanation
Indeks dimulai dari 0, bukan 1.
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
Already have an account?
Similar Resources on Wayground
25 questions
STS Informatika Kelas 8 Semester 1
Quiz
•
8th Grade - University
20 questions
Quiz Mengenal Data VII
Quiz
•
7th Grade - University
20 questions
Sensor dan Servo Motor Arduino
Quiz
•
11th Grade
20 questions
PTS INFORMATIKA SEMESTER GENAP
Quiz
•
8th Grade - University
20 questions
Problem Solving and Program Design
Quiz
•
11th Grade
20 questions
Literasi Digital " Mesin Pencari"
Quiz
•
11th Grade
20 questions
Quiz Keamanan Data dan Informasi
Quiz
•
9th Grade - University
21 questions
Quiz tentang App Inventor
Quiz
•
11th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
