PHP Programming → Page 2
PHP Programming solved MCQ sets : PHP MCQ Online Questions and Answers : PHP is the popular server-side scripting language. Knowledge of PHP language is now essential for dynamic web page development.PHP can be used to generate dynamic web pages (i.e hundreds of different page contents using same template file) that helps us to edit, update and manange a bunch of web pages from a ...READ MORE
TEST INSTRUCTION: CLICK OPTION (A, B, C, D) TO SEE ANSWER.
Q. | 1. Which of the following variables is not a predefined variable?A. $get B. $ask C. $request D. $post Show Answer |
Q. | 2. When you need to obtain the ASCII value of a character which of the following function you apply in PHP?A. chr( ); B. asc( ); C. ord( ); D. val( ); Show Answer |
Q. | 3. Which of the following method sends input to a script via a URL?A. Get B. Post C. Both D. None Show Answer |
Q. | 4. Which of the following function returns a text in title case from a variable?A. ucwords($var) B. upper($var) C. toupper($var) D. ucword($var) Show Answer |
Q. | 5. Which of the following function returns the number of characters in a string variable?A. count($variable) B. len($variable) C. strcount($variable) D. strlen($variable) Show Answer |
12