Quiz Array

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Yoga Nugraha
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Quick Sort

Quiz
•
University
6 questions
Bahasa pemrograman C

Quiz
•
11th Grade
10 questions
Cuestionario sobre Linux y Comandos

Quiz
•
University
5 questions
Pre Test Array

Quiz
•
11th Grade
15 questions
IT-WS06 (Lesson 2)

Quiz
•
University
15 questions
Массив

Quiz
•
University
12 questions
Skill #2 Array

Quiz
•
12th Grade
8 questions
3TDS - Programação Backend - Aula 12

Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry

Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade