Assignment 1
1) Write a short note on history of PHP?
2) List any four advantages of PHP?
3)Define the use of for,for each loop in php with
example?
4)State the use of “$” sign in PHP?
5) What is data type? List different data types in php
and explain any two?
6)Explain the difference between HTML and PHP?
7)Explain Scope of the variables in detail?
8) Difference between While loop and Do While Loop
with example?
9)Difference between Break and Continue?
10) What is meant by type jugging and type casting?
11) Define variable and constant. How to declare it
in php with example?
12) Write a short note on decision making control
statements with syntax and example ?
13) Define each types of operator and give example
of each any 2 operator?