Welcome to CHOOLS PHP ASSESSMENT (YOU HAVE ONLY 30 MINUTES TO COMPLETE THIS PART [20 Questions]) **** Wishing You All The Best **** Instructions : To start the quiz, please provide your name, email id and phone number. All questions are mandatory* Answering each question is required before going on to the next page of questions. Your response is subject to change at any time. After completed the quiz click the submit button. If, once the time is up, it will be automatically submitted. The report will be mailed to your email address after the quiz is finished. 1. Which type is used to store the database call? object class resource string2. There are two variables a, b which declared in global scope, which is the correct PHP statement to access them within a function? global $a, $b; global $a $b; global ($a, $b); php_global $a, $b;3. Multi-line comments can be written within the ____. // and // ## and ## /* and */ /// and ///4. A variable declared outside a function has a ____. local scope global scope5. Which function is used to replace text within a string? str_replace() replace() replace_str() string-replace()6. A PHP script starts with ____ and ends with ___. <?php and ?> <php> and </php> <?php and /?php> </php and />7. There is a variable "name" that contains the name of a person, which is/are the correct print statement(s) to print the "name" suffix with "Hello". print "Hello $name"; print "Hello " . $name; print ("Hello $name"); All of the above8. Which sign is used to declare variables in PHP? @ & $ _9. What will be the output of the following PHP code? <?<?phpvar_dump (print "Hello");?> Helloint(5) Helloint(6) Helloint(1) Hellonumber(5)10. Which function is used to convert the ASCII value to the character? asc() str() char() chr()11. Which statement is faster echo or print? echo print12. Which is not a valid variable scope in PHP? local global static external13. "Array" is a data type in PHP? Yes No14. Which PHP keyword is used to access a global variable inside the function? php_ global global global_variable globalscope15. In the syntax of $GLOBALS[index], what does "index" hold? Index (starting from 0) of the variable Index (starting from 1) of the variable Name of the variable Line number of the variable where the variable was declared16. PHP statements end with a ______. semicolon (;) colon (:) dot (.) comma (,)17. Which function converts a string of ASCII characters to hexadecimal values? bin2hex() str2hex() hex() str_hex()18. Single line comments can be placed in PHP script by using which symbol? // # $ Both A. and B.19. What is NULL in PHP? Value Keyword Data Type Function20. Who developed PHP? Guido van Rossum Rasmus Lerdorf Jesse James Garrett Douglas CrockfordPlease fill in the comment box below.