Attend MockTest

  1. Which of the following must be installed on your computer so as to run PHP script ?

  2. We can use _____ to comment a single line

  3. Which of the following php statement(s) will store 111 in variable num ?

  4. Which of following variables can be assigned a value to it ?

  5. Which variable is used to collect form data sent with both the GET and POST methods ?

  6. Which function returns an array consisting of associative key/value pairs ?

  7. If you need to get the array sorted in the manner we humans would have done it i.e picture1 then picture2 etc. Which of the following function should be used ?

  8. The practice of separating the user from the true inner workings of an application through well-known interfaces is known as

  9. Which of the following term originates from the Greek language that means "having multiple forms," defines OOP ability to redefine, a class characteristics ?

  10. The practice of creating objects based on predefined classes is often referred to as

  11. Which one of the following property scopes is not supported by PHP ?

  12.  Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo ?

  13.  Which one of the following is the right way to call a class constant, given that the class is mathFunction ?

  14.  Which one of the following is the right way to invoke a method ?

  15. Which of the following is/are the right way to declare a method ?