Yang bukan termasuk aturan penulisan nama variabel di PHP
PBO - Topik 1 dan 2

Quiz
•
Computers
•
12th Grade
•
Hard
HESTI NUGROHO
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Variabel diawali dengan tanda $
Karakter pertama setelah tanda $ harus huruf atau garis bawah ( _ )
Penamaan variabel bersifat case sensitive
Variabel boleh menggunakan spasi
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Penulisan data string yang benar
$email = /wahyu@gmail.com/;
$email = "wahyu@gmail.com";
$email = /*wahyu@gmail.com*/;
$email = (wahyu@gmail.com);
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output dari kode berikut
$x = 1;
$x += 2;
$x -= 1;
echo $x;
adalah....
1
3
2
0
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output dari kode berikut
$a = 2;
$b = 1;
if($a == 2 && $b == 2){
$x = 'benar';
}else{
$x = 'salah';
}
echo$x;
adalah….
benar
salah
error
//true statement
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output dari kode berikut
$a = 2;
$b = 1;
if($a == 2 || $b == 2){
$x = 'benar';
}else{
$x = 'salah';
}
echo$x;
adalah….
benar
salah
error
//true statement
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output dari kode berikut
$nomor = 12;
$nomor .= 34;
$nomor .= 56;
echo $nomor;
adalah....
102
123456
563412
654321
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output dari kode berikut
$nomor = '12';
$nomor += '34';
$nomor += '56';
echo $nomor;
adalah....
102
123456
563412
654321
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Kodular: Penerapan Blok Kode

Quiz
•
9th - 12th Grade
20 questions
ALGORITMA PEMROGRAMAN LANJUTAN KELAS 8

Quiz
•
8th Grade - University
20 questions
Array

Quiz
•
10th - 12th Grade
20 questions
Unit 1 - Introduction to Kotlin (L2)[ID]

Quiz
•
12th Grade
20 questions
Uji Pengetahuan Dasar Informatika

Quiz
•
8th Grade - University
15 questions
Latihan Pemrograman

Quiz
•
12th Grade
15 questions
Dasar Algoritma dan Pemrograman

Quiz
•
7th Grade - University
20 questions
Pemrograman Web (Edisi 1)

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade