Search Header Logo

PRODUKTIF 2

Authored by Hasin Kom

Geography, Social Studies, Computers

3rd Grade

Used 7+ times

PRODUKTIF 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PHP Merupakan singkatan dari?

Private Home Page

Personal Hypertext Processor

PHP: Hypertext Processor

Program Hypertext Processor

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kode PHP diawali dan di akhiri dengan tanda?

<?php … </?php>

<script> … </script>

<?php … ?>

<php … /?>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sintak untuk mencetak output ‘Hello World’ di PHP?

cout<<“Hello World”;

System.out.print(“Hello World”);

document.write (“Hello World”)

echo “Hello World”;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perhatikan kode berikut:

$a=5;

switch ($a){

case 1 :

echo 1;

break;

case 2 :

echo 2;

break;

case 3 :

echo 3;

break;

default :

echo 4;

}

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<?php

echo str_replace("world","Hasin","Hello world!");

?>

Kode diatas menghasilkan

Hello Word

Hello Hasin

Hasin World

Hasin Hello

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<?php

$str="Selamat Datang Kaula Muda";

$b =explode(" ",str_replace('Datang', 'Siang', $str));

echo $b[1];

?>

Selamat

Datang

Siang

Muda

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

echo strlen(str_replace('Hello','Hi',strlen('Semangat Semua')));

Semangat

5

2

14

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?