Posts

Showing posts with the label PHP Multiple Choice Questions

PHP Multiple Choice Questions

PHP MCQ 1) PHP stands for - Hypertext Preprocessor Pretext Hypertext Preprocessor Personal Home Processor None of the above  Answer: (a) Hypertext Preprocessor Description: PHP stands for Hypertext Preprocessor. PHP is an open-source, interpreted, and object-oriented scripting language that can be executed on the server-side. It is well suited for web development. 2) Who is known as the father of PHP? Drek Kolkevi List Barely Rasmus Lerdrof None of the above  Answer: (c) Rasmus Lerdrof Description: PHP was created by Rasmus Lerdorf in 1994 but appeared in the market in 1995. PHP 7.4.0 is the latest version of PHP, which was released on 28 November. 3) Variable name in PHP starts with - ! (Exclamation) $ (Dollar) & (Ampersand) # (Hash)  Answer: (b) $ (Dollar) Description: In PHP, a variable is declared using a $ (Dollar) sign followed by the variable name. As PHP is a loosely typed language, so we do not need to declare the data types of the variables. It automatically...