Quiz Array
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Hard
Yoga Nugraha
Used 2+ times
FREE Resource
Enhance your content in a minute
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.
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
15 questions
Quiz Pemrograman Python
Quiz
•
10th Grade - University
10 questions
UTS TKA
Quiz
•
10th Grade
10 questions
Analisis Data
Quiz
•
8th Grade - University
10 questions
Informatika 2
Quiz
•
7th Grade - University
10 questions
Uji Pemahaman Excel dan Spreadsheet
Quiz
•
11th Grade
15 questions
X - BAB 5 - Analisis Data - Pengantar - Faris
Quiz
•
10th Grade
10 questions
Berpikir Komputasional
Quiz
•
10th Grade
15 questions
Module 5: Creating Dynamic Web Pages with Scripting
Quiz
•
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)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
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
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
33 questions
Algebra 1 Semester 1 Final 2025
Quiz
•
8th - 10th Grade
