Following quiz provides Multiple Choice Questions (MCQs) related to PHP . You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - Guess the proper function to unset a variable? |
|
Show Answer |
Answer is : Option B |
Q 2 - What is the full form of POSIX in PHP? |
|
Show Answer |
Answer is : Option A |
Q 3 - Select the correct output of the following code in PHP? <?php for ($x = 0; $x <= 10; print ++$x) { print ++$x; } ?> |
|
Show Answer |
Answer is : Option A |
Q 4 - Select the correct output of the following PHP code? <?php define("var1", "I Love PHP", true); echo var1; ?> |
|
Show Answer |
Answer is : Option B |
Q 5 - Select the function that will add some value to the end of an array in PHP? |
|
Show Answer |
Answer is : Option D |
Q 6 - select the PHP function that helps to find files? |
|
Show Answer |
Answer is : Option B |
Q 7 - Select the correct method for creating a PHP function? |
|
Show Answer |
Answer is : Option C |
Q 8 - which is correct for the function sprintf() in PHP? |
|
Show Answer |
Answer is : Option A |
Q 9 - Select the right function to search a character in a string in PHP? |
|
Show Answer |
Answer is : Option C |
Q 10 - Which of the following is true in the case of the strcmp() function in PHP? |
|
Show Answer |
Answer is : Option D |