Quiz string dalam php

Quiz string dalam php

11th Grade

10 Qs

quiz-placeholder

Similar activities

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

หน่วยที่ 1 ความรู้พื้นฐานการจัดการ ข้อมูลขนาดใหญ่ (Big Data)

หน่วยที่ 1 ความรู้พื้นฐานการจัดการ ข้อมูลขนาดใหญ่ (Big Data)

9th - 12th Grade

15 Qs

Sistem Komputer - Sistem Bilangan - X RPL

Sistem Komputer - Sistem Bilangan - X RPL

10th - 11th Grade

15 Qs

Ap computer science a

Ap computer science a

1st - 12th Grade

15 Qs

XI_осн_веб_кон

XI_осн_веб_кон

9th - 12th Grade

10 Qs

Bài 29. Nhận biết lỗi chương trình

Bài 29. Nhận biết lỗi chương trình

9th - 12th Grade

14 Qs

KUIS Analisis Data

KUIS Analisis Data

11th Grade

10 Qs

Quiz string dalam php

Quiz string dalam php

Assessment

Quiz

Computers

11th Grade

Practice Problem

Easy

Created by

FIKA LAILA

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Apa fungsi dari strlen() dalam PHP?

Mengubah huruf dalam string menjadi huruf besar

Menghitung panjang sebuah string

Menghapus spasi di awal dan akhir string

Mengganti teks dalam string

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fungsi manakah yang digunakan untuk mengubah semua huruf dalam string menjadi huruf kecil?

strtoupper()

strtolower()

str_replace()

substr()

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Apa hasil dari kode berikut ini? php Salin kode $text = "Hello, World!"; echo strtoupper($text);

hello, world!

HELLO, WORLD!

Hello, World!

HELLO world!

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fungsi manakah yang digunakan untuk menghapus spasi di awal dan akhir string?

trim()

explode()

strlen()

strtolower()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Apa hasil dari kode berikut ini? php Salin kode $text = "Hello, PHP!"; echo substr($text, 7, 3);

PHP

Hello

, P

Hel

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

<?php

$text = " Mastering PHP is fun! ";

$result = strrev(trim(substr($text, 4, 10)));

echo $result;

?>

Apa output dari kode di atas?

GNIRETSA

GNIRET

GNIRETS

MASTERS

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Di dalam OOP, manakah yang benar tentang public $title; dalam kelas?

title hanya bisa diakses di dalam kelas.

title bisa diakses di dalam dan luar kelas.

title tidak bisa digunakan untuk menyimpan string.

title hanya bisa diubah di dalam metode.

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?