
Kuis Pemrograman PHP Dasar 2025

Quiz
•
Computers
•
University
•
Easy
SUNNY SS
Used 4+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam struktur if, apa yang terjadi jika kondisi bernilai salah dan tidak ada blok else?
Program error
Blok if tetap dijalankan
Tidak ada eksekusi
Nilai default otomatis
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah manakah yang digunakan untuk membuat loncatan ke bagian lain dalam kode berdasarkan label?
jump
goto
label
call
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut ini adalah contoh penggunaan operator logika OR, yaitu...
$a == $b && $c != $d
$a > 10 || $b < 5
!($a === $b)
$a xor $b
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang merupakan sintaks benar untuk perintah if?
if $x = 5 { echo "Benar"; }
if ($x == 5) echo "Benar"
if ($x = 5) then echo "Benar";
if ($x = 5) echo "Benar";
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Apa yang akan ditampilkan oleh script berikut?
Lulus
Tidak Lulus
Error
Kosong
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika label tidak ditemukan dalam perintah goto?
Program terus berjalan
Muncul pesan error
Label dibuat secara otomatis
Tidak ada efek
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari script berikut?
$x = true; if (!$x) echo "False"; else echo "True";
False
True
Error
Kosong
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
PHP + MySQL

Quiz
•
7th Grade - University
20 questions
ITO XI & FEST I-LABS

Quiz
•
University
20 questions
Quiz PRD Teknik Industri 2023

Quiz
•
University
25 questions
PHP dan MySQL

Quiz
•
University
25 questions
latihan PHP tahap 2

Quiz
•
11th Grade - University
20 questions
PHP First Internal Practical Viva

Quiz
•
University
20 questions
Algoritma Pemrograman 1

Quiz
•
University
20 questions
PHP Quiz 1

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University