.
QB
1. List any four advantages of PHP?
2. State the use of “$” sign in PHP.
3. Write a program using foreach loop.
4. Write syntax of PHP.
5. Write down rules for declaring PHP variable
6. Explain different loops in PHP with example.
7. Explain the use of break and continue statements.
8. Write syntax of for each loop
9. List Any Four data types in php?
10. Describe the syntax of if-else control
11. What is Array? How to store data in Array?
12. Differentiate between implode and explode functions.
13. Define Function? Write syntax of function?
14. Explain Indexed and Associative arrays with suitable example.
15. . Differentiate between implode and explode functions
16. Write the use of array_flip()
17. Explain the following string functions with example.
i) str_replace() ii) ucwords() iii) strlen() iv) strtoupper()
18. What is array? How to store data in array?
19. Write a program to create associative array in PHP.
20. Define function. How to define user defined function in PHP? Give example.
21. Write PHP script to sort any five numbers using array function.
22. Explain any four string functions in PHP with example.
23. Define Array. State its example.
24. Explain Indexed array and associative
arrays with suitable examples.
25. Explain two functions to scale the given
image.
26. Define user defined function with example.
27. Write a PHP program to i) Calculate length
of string ii)Count number of words in string
28. Write a PHP program to find average of ten numbers?
29. Describe the syntax of if-else control statement with example in PHP.
30. Write a Program to create Associative array in PHP?