Search Header Logo

Quiz PHP Dasar

Authored by Tugas Penugasanepplg

Computers

10th Grade

Used 1+ times

Quiz PHP Dasar
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Apa hasil dari operasi 5 + 3 * 2 dalam PHP?

16

11

8

10

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Operator manakah yang digunakan untuk menugaskan nilai?

+

=

==

&&

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Apa hasil dari ++$a jika $a awalnya 5?

5

6

7

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Apa fungsi dari operator === dalam PHP?

Membandingkan nilai saja

Membandingkan tipe data dan nilai

Menugaskan nilai

Operator logika

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Manakah dari berikut ini yang merupakan operator logika?

+

&&

*

/

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Apa hasil dari 5 & 3 dalam operasi bitwise?

7

1

5

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Dalam PHP, operator ternary dituliskan dalam format:

condition ? true : false

if condition then true else false

if (condition) { true }

condition : true ? false

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?