Assignments
Assignments
Assignments
Assignment :1
Assignment : 2
1) What is array? List types of array.
2) Explain numeric array with example.
3) Explain associative array with example.
4) Explain default arguments for user defined function in PHP.
5) Explain call by value and call by reference in function with example.
6) List out math functions and explain any three with example.
7) List various string functions and explain any 3with example.
8) Explain gettype( ) and settype( ) with example.
9) List out types of string declaration.Explain heredoc and nowdoc.
Assignment : 3
1) How to create class and object in PHP. Explain with example.
2) Explain constructor with example.
3) Explain destructor with example.
4) Explain Inheritance with example.
5) Explain function overloading and function overriding.
6) Explain Interface with example.
Assignment : 4
1) List all input element and explain radio button and checkbox in detail.
2) Explain how to submit FORM data using GET and POST method(With example).
3) What is Cookie? Explain with Example.
4) What is Session variable? Explain with Example.
5) Explain form validation in PHP with example.
6) Design student registration form with elements like Text Box, Radio Button, Check Box and
Submit Button.
Assignment : 5
1) What is MySQL? Explain field modifier in MySQL.
2) List types of storage engines and explain any two in detail.
3) Explain following database function.
a. mysql_fetch_rows()
b. mysql_connect()
c. mysql_query()
d. mysql_select_db
4) Write PHP script to create database VPMP
5) Write PHP Script to display records from Employee table (ENo, EName and Salary)
6) Write PHP script to edit/update record from Employee table.
7) Explain retrieving data from table using mysql_numrows().