WEB UNIT12

WEB UNIT12

University

16 Qs

quiz-placeholder

Similar activities

The year 2021

The year 2021

7th Grade - University

11 Qs

Kuiz Kenali Ubat Anda (KUA) 2022

Kuiz Kenali Ubat Anda (KUA) 2022

KG - Professional Development

16 Qs

Session 3

Session 3

University

13 Qs

Safety Briefing Quiz

Safety Briefing Quiz

University

20 Qs

Computer System Servicing: Occupational Health and Safety

Computer System Servicing: Occupational Health and Safety

10th Grade - University

15 Qs

Thương Hiệu

Thương Hiệu

University - Professional Development

15 Qs

Chayamana Quiz Competition

Chayamana Quiz Competition

1st Grade - University

15 Qs

Hospitality and Service Excellent

Hospitality and Service Excellent

University

14 Qs

WEB UNIT12

WEB UNIT12

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

Sini Saneesh

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP the _______ function returns the total number of characters in a string.

len()
str_length()
length()
strlen()
D

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP the __________ functionis used to find out whether some text occurs within a string.

strstr()
find()
count()
str_find()
A

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP the __________ functionfinds the last match in the string, rather than the first

strpos()
str_last()
strrpos()
strpos_last()
C

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ is used to format text strings in PHP.

getc()
sprintf()
gets()
get()
B

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arrays with named keys in PHP are called ________

Associative arrays
Indexed arrays
Multidimensional arrays
named arrays
A

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _____ function is used for deleting array elements in PHP.

delete()
erase()
unset()
clear()
C

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP the_______ loops through a block of code for each element in an array.

foreach
while
do-while
for
A

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?