0% found this document useful (0 votes)
3 views

Assignment 1

The document outlines an assignment consisting of various questions related to PHP programming, including its history, advantages, loops, data types, and variable scope. It also covers differences between HTML and PHP, control statements, and operators. Each question prompts for definitions, examples, and explanations to enhance understanding of PHP concepts.

Uploaded by

NTR Thor OP
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Assignment 1

The document outlines an assignment consisting of various questions related to PHP programming, including its history, advantages, loops, data types, and variable scope. It also covers differences between HTML and PHP, control statements, and operators. Each question prompts for definitions, examples, and explanations to enhance understanding of PHP concepts.

Uploaded by

NTR Thor OP
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

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?

You might also like