
PHP Quiz
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Easy
Alfian Nur
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa sintaks untuk mendeklarasikan variabel dalam PHP?
$variable_name
$name_variable
variable_name$
variable$name
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Tipe data apa yang digunakan untuk menyimpan satu karakter dalam PHP?
integer
boolean
array
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa hasil dari kode berikut? $x = 5; $y = 10; echo $x + $y;
50
25
15
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Struktur kontrol mana yang digunakan untuk mengeksekusi sebuah blok kode berulang selama suatu kondisi itu bernilai benar?
pernyataan switch
pernyataan if
perulangan while
perulangan for
5.
OPEN ENDED QUESTION
3 mins • 5 pts
Apa hasil dari kode berikut? $x = 1; while ($x <= 5) { echo $x; $x++; }
Evaluate responses using AI:
OFF
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Fungsi apa yang digunakan untuk mendapatkan panjang sebuah string dalam PHP?
strlen()
strsize()
strcount()
strlength()
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Apa hasil dari kode berikut? $colors = array('merah', 'hijau', 'biru'); echo $colors[1];
kuning
biru
hijau
merah
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
20 questions
Quiz Number 2 in CSS
Quiz
•
12th Grade - University
20 questions
PR 2 Quiz # 2
Quiz
•
12th Grade
20 questions
Workshop : Pelatihan Basic Cyber Security
Quiz
•
12th Grade
15 questions
QUIZ TEKS LHO
Quiz
•
12th Grade
20 questions
Ujian Formarif Bahasa Daerah
Quiz
•
12th Grade
15 questions
QUIZ 1 FOSFOR'S 2021
Quiz
•
KG - University
20 questions
Peribadi Mulia Hiasan Diri
Quiz
•
5th Grade - University
15 questions
Training Facilitator
Quiz
•
1st Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
