
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
20 questions
Review Training AP 532

Quiz
•
University
25 questions
PHP

Quiz
•
University
25 questions
Module 1 - Short Quiz

Quiz
•
University
25 questions
PHP

Quiz
•
University
25 questions
Latihan soal Algoritma dan Pemrograman

Quiz
•
University
21 questions
Тест по PHP для старшеклассников

Quiz
•
8th Grade - University
25 questions
Basic Programing Mid

Quiz
•
University
20 questions
Kuis LPK Fungsi

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade