PBO - Topik 1 dan 2

PBO - Topik 1 dan 2

12th Grade

20 Qs

quiz-placeholder

Similar activities

QUIS ALPRO 1

QUIS ALPRO 1

12th Grade - University

20 Qs

Ulangan Harian

Ulangan Harian

9th - 12th Grade

25 Qs

Quiz Pemrograman Phyton

Quiz Pemrograman Phyton

9th - 12th Grade

20 Qs

Kualitas Source Code Program

Kualitas Source Code Program

12th Grade

20 Qs

XI RPL - PHP

XI RPL - PHP

12th Grade

20 Qs

QUIZ 1 ABRAHAM SEM-II SMA KRISTEN BASIC BATAM

QUIZ 1 ABRAHAM SEM-II SMA KRISTEN BASIC BATAM

12th Grade

20 Qs

Kodular: Penerapan Blok Kode

Kodular: Penerapan Blok Kode

9th - 12th Grade

20 Qs

Algoritma dan Struktur Data

Algoritma dan Struktur Data

12th Grade

21 Qs

PBO - Topik 1 dan 2

PBO - Topik 1 dan 2

Assessment

Quiz

Computers

12th Grade

Hard

Created by

HESTI NUGROHO

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Yang bukan termasuk aturan penulisan nama variabel di PHP

Variabel diawali dengan tanda $

Karakter pertama setelah tanda $ harus huruf atau garis bawah ( _ )

Penamaan variabel bersifat case sensitive

Variabel boleh menggunakan spasi

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Penulisan data string yang benar

$email = /wahyu@gmail.com/;

$email = "wahyu@gmail.com";

$email = /*wahyu@gmail.com*/;

$email = (wahyu@gmail.com);

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Output dari kode berikut

$x = 1;

$x += 2;

$x -= 1;

echo $x;

adalah....

1

3

2

0

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Output dari kode berikut

$a = 2;

$b = 1;

if($a == 2 && $b == 2){

   $x = 'benar';

}else{

   $x = 'salah';

}

echo$x;

adalah….

benar

salah

error

//true statement

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Output dari kode berikut

$a = 2;

$b = 1;

if($a == 2 || $b == 2){

   $x = 'benar';

}else{

   $x = 'salah';

}

echo$x;

adalah….

benar

salah

error

//true statement

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Output dari kode berikut

$nomor = 12;

$nomor .= 34;

$nomor .= 56;

echo $nomor;

adalah....

102

123456

563412

654321

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Output dari kode berikut

$nomor = '12';

$nomor += '34';

$nomor += '56';

echo $nomor;

adalah....

102

123456

563412

654321

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?