
Quiz Array
Authored by Yoga Nugraha
Information Technology (IT)
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Manakah cara yang benar untuk membuat array biasa di PHP ?
$buah = array("apel","jeruk","mangga");
$buah = ("apel","jeruk","mangga");
$buah = ["apel":"jeruk":"mangga"];
$buah = "apel","jeruk","mangga";
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Bagaimana cara mengakses elemen pertama dari array berikut ?
$angka = array(10, 20, 30);
$angka[0]
$angka[1]
$angka(0)
$angka->0
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Output dari kode berikut adalah ?
$warna = array("merah","hijau","biru");
echo $warna[2];
merah
hijau
biru
error
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Manakah yang merupakan array asosiatif di PHP ?
$data = array("apel","jeruk","mangga");
$data = array("nama"=>"Budi","umur"=>17);
$data = ["merah","biru","hijau"];
$data = "nama"=>"Budi","umur"=>17;
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Bagaimana cara menampilkan "Andi"?
echo $siswa["nama"];
echo $siswa[0];
echo $siswa->nama;
echo $siswa[nama];
6.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Apa hasil dari kode berikut ?
80
90
IPA
Error
7.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Manakah pernyataan yang benar tentang array multidimensi ?
Array multidimensi hanya berisi angka saja.
Array multidimensi adalah array yang menyimpan array lain sebagai elemennya.
Array multidimensi tidak dapat dibuat di PHP.
Array multidimensi hanya bisa 2 dimensi saja.
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
15 questions
`EVALUASI PEMBELAJARAN MAPEL DASAR PRODUKTIF TKJ
Quiz
•
10th Grade
10 questions
Pre Test - Microsoft Excel
Quiz
•
10th Grade
10 questions
Soal Asesmen Diagnostik
Quiz
•
10th Grade
10 questions
Informatika - Berfikir Komputasional
Quiz
•
10th Grade
10 questions
UH - Informatika BK
Quiz
•
10th Grade
10 questions
Asesmen "Pengelola Kata Sandi"
Quiz
•
10th Grade - University
15 questions
Se liga 3º trimestre 1º ano
Quiz
•
10th Grade
10 questions
Quiz aula 8
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade