PHP Quiz
Start
Congratulations - you have completed PHP Quiz. You scored %%SCORE%% out of %%TOTAL%%.
Your answers are highlighted below.
Question 1 |
PHP syntax resembles to?
A | ASP.net |
B | Java |
C | .net |
D | Perl |
Question 2 |
Is multiple inheritance supported in PHP?
A | No |
B | Yes |
Question 3 |
What is needed to be able to use image function?
A | GB Library |
B | GU Library |
C | GE Library |
D | GD Library |
Question 4 |
What are the functions to be used to get the width in image properties .
A | getimagewidth() |
B | imagewidth() |
C | imagesx() |
D | image_width() |
Question 5 |
Which functions is used to get the height of an image
A | getimagehight() |
B | imagesy() |
C | image_hight() |
D | imagehight() |
Question 6 |
How can we display information of a variable which is readable by human?
A | echo() |
B | print() |
C | print_r() |
Question 7 |
What is the function file_get_contents() useful for?
A | read |
B | write |
C | save |
D | upload |
Question 8 |
How to determine number of rows returned in result set?
A | mysql_num_row() |
B | mysql_rows() |
C | mysql_num_rows() |
D | mysql_nums_row() |
Question 9 |
Which function gives us the number of affected entries by a query?
A | mysql_affected_rows() |
B | mysql_affected() |
C | mysql_affect_rows() |
Question 10 |
How can we check the value of a given variable is a number?
A | numeric() |
B | number() |
C | is_number() |
D | is_numeric() |
Question 11 |
How can we check the value of a given variable is alphanumeric?
A | ctype_alnum() |
B | ctype_alphanumeric() |
C | alnum() |
D | alphanumeric() |
Question 12 |
How do I check if a given variable is empty?
A | is_empty() |
B | empty() |
C | null() |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 12 questions to complete.
← |
List |
→ |
Return
Shaded items are complete.
1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 |
11 | 12 | End |
Return
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!