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. What is the correct syntax of echo statement in PHP? echo echo() echo = () Both A. and B.2. What is NULL in PHP? Value Keyword Data Type Function3. A PHP script starts with ____ and ends with ___. <?php and ?> <php> and </php> <?php and /?php> </php and />4. What will be the output of the following PHP code?<?php$x = 5;function myFunction(){echo "Result $x";}myFunction();?> Result $x Result 5 Result None of the above5. 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 declared6. PHP is an acronym for ____. Prefix Hypertext Preprocessor Prototype Hypertext Preprocessor Hypertext Preprocessor PHP: Hypertext Preprocessor7. Which function converts a string of ASCII characters to hexadecimal values? bin2hex() str2hex() hex() str_hex()8. Which data type is not supported by PHP? Integer Complex Float String9. What is the correct syntax of print statement in PHP? print print() print = () Both A. and B.10. What will be the output of the following PHP code?<?phpfunction myFunction(){$x = 5;echo "Result1: $x , ";}myFunction();echo "Result2: $x";?> Result1: 5 , Result2: Result1: 5 , Result2: 0 Result1: 5 , Result2: 5 None of the above11. How many variable scopes are there in PHP? 1 2 3 412. What will be the output of the following PHP code? <?<?phpvar_dump (print "Hello");?> Helloint(5) Helloint(6) Helloint(1) Hellonumber(5)13. Which PHP keyword is used to access a global variable inside the function? php_ global global global_variable globalscope14. String is placed within _____. Double quotes ("") Single quotes ('') Both A. and B. None of the above15. What is the name of an array that stores all global variables in PHP? $GLOBAL[] $global[] $GLOBALS[] $PHP_GLOBALS[]16. PHP keywords are case-sensitive? Yes No17. 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 above18. Which function is used to replace text within a string? str_replace() replace() replace_str() string-replace()19. What is the extension of a PHP file? .php .ph .phpfile All of the above20. Multi-line comments can be written within the ____. // and // ## and ## /* and */ /// and ///Please fill in the comment box below.