PHP QUIZ

Instructions:

  • Total Number of Questions: 10
  • Score out of: 10
  • Time alloted: 30 seconds per question, total 30 minutes
  • Each question carry 1 mark
  • No negtive marking

NOTE:

Select one option as answer, for per question and then Click 'Submit and Next' button for next question

Click the 'Result' button after 10th question to get you score.

Do not refresh the Page.

1. If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed?

2. Which of the following is used to validate and sanitize external input?

3. Which of the following function in php will check if a function exists?

4. In PHP which function is used to remove whitespace from the start and end of a variable?

5. Which of the following is used to declare a constant?

6. Which of the following method is used to tweak an object’s cloning behavior?

7. Which one of the following is not an encryption method in PHP?

8. Where we can update permalink in WordPress admin panel?

9. How to get an widget named 'sample-widget' in wordpress?

10. PHP allows us to use include (”header.php”) two times in a PHP page “index.php”?

Close