Kuis Pemrograman PHP Dasar 2025

Kuis Pemrograman PHP Dasar 2025

University

25 Qs

quiz-placeholder

Similar activities

[UTS] Ujian Tengah Semester Sistem Keamanan Komputer

[UTS] Ujian Tengah Semester Sistem Keamanan Komputer

University

20 Qs

PENILAIAN SUMATIF AKHIR TAHUN TIK| KELAS 7

PENILAIAN SUMATIF AKHIR TAHUN TIK| KELAS 7

7th Grade - University

20 Qs

Kuis LPK Fungsi

Kuis LPK Fungsi

University

20 Qs

QUIZ TENGAH SEMESTER

QUIZ TENGAH SEMESTER

University

20 Qs

Belajar Computers

Belajar Computers

University

20 Qs

Kuis 1 Dasar Pemrograman

Kuis 1 Dasar Pemrograman

University

20 Qs

MOTD 2 DSE-C

MOTD 2 DSE-C

University

20 Qs

QUIZ/PH1 Kelas X SMT II

QUIZ/PH1 Kelas X SMT II

University

20 Qs

Kuis Pemrograman PHP Dasar 2025

Kuis Pemrograman PHP Dasar 2025

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

SUNNY SS

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?