PHP STRING AND OPERATORS

PHP STRING AND OPERATORS

University

15 Qs

quiz-placeholder

Similar activities

PHP MySQL

PHP MySQL

University

15 Qs

Basic Java

Basic Java

University

15 Qs

String Methods Review

String Methods Review

9th Grade - University

10 Qs

Mini Quiz IF2112

Mini Quiz IF2112

University

15 Qs

Operatori si functii

Operatori si functii

12th Grade - University

12 Qs

Laravel Post Test

Laravel Post Test

University

11 Qs

PHP

PHP

University

10 Qs

JS&MORE

JS&MORE

University

10 Qs

PHP STRING AND OPERATORS

PHP STRING AND OPERATORS

Assessment

Quiz

Computers

University

Medium

Created by

Tmt. (UG&PG)-SF)

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 1. In PHP constants are defined by using _____ function.

define()

DEFINE()

_define()

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 2. Which operator is used to concatenate two strings in PHP

&&

.

3.

FILL IN THE BLANK QUESTION

10 sec • 1 pt

  1. 3. ___ escape sequence is used to insert new line in PHP.

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

  1. 4. The ____ is a string function which is used to convert any string to lowercase.

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 5. The ____ is a string function used to reverse a string in PHP.

strrev()

Strev()

strreverse()

6.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

6.Compound assignment operator are also known as ____ assignment operator.

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 7. ___ operator is introduced in PHP7 and used to compare values of two variables but not their data types.

<==>

<-->

<=>

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?