PHP Exercise Solutions
1) Fill in the blanks
a) The extension of a PHP code file is .py
b) Multi line comments are enclosed within /* */
c) Content of Dynamic Web page can change as per situation.
d) Server side languages are popularly known as scripting language.
e) echo is used to display a statement or
value on screen in PHP.
f) A variable name starts with $ (dollar) followed by the name of the variable.
2) True or False Statements
a) Variables are case sensitive. [True]
b) Boolean holds only true and false values. [True]
c) != operator is used to check if two values are
equal. [False]
d) A variable of Float data type can hold decimal
values. [True]
e) We need to mention a data type before declaring a
variable. [False]
f) PHP is a server side language. [True]
No comments:
Post a Comment