You can always press Enter⏎ to continue
PHP Certification Quiz
1
Instructions For Quiz
This Mock Test has 10 Questions
Each Question is of 1 marks so total 10 marks
Multiple Choice Questions with only ONE valid answer
Previous
Next
Submit
Press
Enter
2
1) Is multiple inheritance supported in PHP?
*
This field is required.
NO
YES
Previous
Next
Submit
Press
Enter
3
2) What is needed to be able to use image function?
*
This field is required.
GB library
GU library
option 1 & 2
GD library
Previous
Next
Submit
Press
Enter
4
3) What are the functions to be used to get the width in image properties .
*
This field is required.
getimagewidth()
imagewidth()
imagesx()
image_width()
Previous
Next
Submit
Press
Enter
5
4) What are the functions to be used to get the hight in image properties.
*
This field is required.
getimagehight()
imagesy()
image_hight()
imagehight()
Previous
Next
Submit
Press
Enter
6
5) How can we display information of a variable and readable by human with PHP?
*
This field is required.
echo()
print()
print_r()
Previous
Next
Submit
Press
Enter
7
6) What is the function file_get_contents() usefull for?
*
This field is required.
read
write
save
upload
Previous
Next
Submit
Press
Enter
8
7) How is it possible to know the number of rows returned in result set?
*
This field is required.
mysql_num_row()
mysql_rows()
mysql_num_rows()
Previous
Next
Submit
Press
Enter
9
8) Which function gives us the number of affected entries by a query?
*
This field is required.
mysql_affected_rows()
mysql_affected()
mysql_affect_rows()
Previous
Next
Submit
Press
Enter
10
9) How can we check the value of a given variable is a number?
*
This field is required.
numeric()
number()
is_number()
is_numeric()
Previous
Next
Submit
Press
Enter
11
10) How can we check the value of a given variable is alphanumeric?
*
This field is required.
ctype_alnum
ctype_alphanumeric
alnum()
alphanumeric()
Previous
Next
Submit
Press
Enter
Should be Empty:
Question Label
1
of
11
See All
Go Back
Submit