| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. What will be the output of the following PHP code?

Correct Answer is : SESSION

2. What will be the output of the following PHP code? \n"); ?>

Correct Answer is : identity

3. What will be the output of the following PHP code?

Correct Answer is : integer

4. What will be the output of the following PHP code?

Correct Answer is : FALSE

5. What will be the output of the following PHP code?

Correct Answer is : –force

6. What will be the output if we replace the line $num = preg_grep(“/[0-5]/”, $number); with $num = preg_grep(“/[0-5]/”, $number, PREG_GREP_INVERT);?

Correct Answer is : 2

7. Which one of the following functions is used to search a string?

Correct Answer is : 0

8. What will be the output of the following PHP code?

Correct Answer is : pointer

9. Which one of the following preg PHP function is used to do a find and replace on a string or an array?

Correct Answer is : FALSE

10. What will be the output of the following PHP code?

Correct Answer is : MyISAM

11. Which one of the following preg PHP functions is used to take a string, and put it in an array?

Correct Answer is : MEMORY

12. What will be the output of the following PHP code?

Correct Answer is : key cache

13. Which one of the following is not a preg PHP function?

Correct Answer is : table_cache

14. Parameter flags was added in which version of PHP?

Correct Answer is : view

15. What is the full form of DNS?

Correct Answer is : column name

16. Which one of the following function checks for the existence of DNS records?

Correct Answer is : JOIN

17. Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?

Correct Answer is : -1.58

18. Which one of the following function is used to retrieve the MX records for the domain specified by hostname?

Correct Answer is : 64

19. What is the default port number of HTTPs?

Correct Answer is : 65

20. Which one of the following function returns the port number of a specified service?

Correct Answer is : CREATE FUNCTION