WEB UNIT 12 NEW

WEB UNIT 12 NEW

University

16 Qs

quiz-placeholder

Similar activities

WEB UNIT12

WEB UNIT12

University

16 Qs

C Quiz

C Quiz

University

15 Qs

PHP Beginners Quiz

PHP Beginners Quiz

University

15 Qs

Day5_Arrays

Day5_Arrays

University - Professional Development

12 Qs

Quiz 1 PHP

Quiz 1 PHP

University

20 Qs

Course_ 3

Course_ 3

University

20 Qs

Adjusting Entries

Adjusting Entries

University

20 Qs

 Quiz-4: Function & Array

Quiz-4: Function & Array

University

15 Qs

WEB UNIT 12 NEW

WEB UNIT 12 NEW

Assessment

Quiz

Other

University

Medium

Created by

Sini Saneesh

Used 6+ times

FREE Resource

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()

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()

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()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ is used to format text strings in PHP.
getc()
sprintf()
gets()
get()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arrays with named keys in PHP are called ________
Associative arrays
Indexed arrays
Multidimensional arrays
named arrays

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _____ function is used for deleting array elements in PHP.
delete()
erase()
unset()
clear()

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

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?