Search Header Logo

PHP - Basic kelas X

Authored by Walid Umar

Computers

University

Used 1+ times

PHP - Basic kelas X
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  • PHP is an acronym for................

PHP: Hypertext Preprocessor

PHP: Personal Home Page

Pemberi harapan palsu

P-Hypertext preprocessor

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

file dalam bahasa pemrograman memiliki ekstensi yang berbeda, HTML menggunakan ekstensi .html, CSS menggunakan ekstensi .css, bahasa pemrograman dinamis php menggunakan ekstensi ???

.php

.p-h-p

.p.h.p

._php

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

untuk membuat tampilan php seperti pada gambar berikut, maka script php yg bisa digunakan adalah......

<?php
$txt = "PHP";
echo "I love $txt!";
?>

<?php
$txt = "php";
echo "I love $txt!";
?>

<?php
$txt = "PHP!";
echo "I love $txt!";
?>

<? php
$txt = "PHP";
echo "I love $txt!";
?>

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Apa output dari kode PHP berikut?

1

2

3

2.5

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

  1. Apa output dari kode berikut?

20

30

10

40

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. Jika sebuah variabel $a = 8 dan $b = 2, apa hasil dari ekspresi $a * $b?

10

16

8

12

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. Jika $a = 5 dan $b = 3, berapakah hasil dari $a += $b?

15

8

13

2

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?

Discover more resources for Computers