0% found this document useful (0 votes)
84 views2 pages

Assignments

This document outlines assignments for an introduction to web development course. It includes 5 assignments that cover fundamental PHP concepts like variables, operators, conditional statements, arrays, functions, classes, objects, forms, cookies, sessions, and MySQL. The assignments involve explaining concepts, writing PHP code, and designing forms. They require students to learn about PHP syntax and structure, different data types, form handling, and interacting with a MySQL database.

Uploaded by

Moviez king
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views2 pages

Assignments

This document outlines assignments for an introduction to web development course. It includes 5 assignments that cover fundamental PHP concepts like variables, operators, conditional statements, arrays, functions, classes, objects, forms, cookies, sessions, and MySQL. The assignments involve explaining concepts, writing PHP code, and designing forms. They require students to learn about PHP syntax and structure, different data types, form handling, and interacting with a MySQL database.

Uploaded by

Moviez king
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Subject Name: Introduction to Web Development Subject Code: 4340704

Assignments

Assignment :1

1) What is website? Explain types of website.


2) Write advantages of PHP.
3) Explain PHP structure and syntax rules with example.
4) Give difference between echo and print.
5) What is constant? Explain types of constant with example
6) What is variable? Explain types of variable with example. Also give variable naming rules.
7) List and explain types of operators.
8) Explain various PHP conditional structures with example.
9) Explain various PHP loop structures with example.
10) Explain Break and continue with example.

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.

Prepared By: Department of Computer Engineering Page 1


Subject Name: Introduction to Web Development Subject Code: 4340704

7) Explain cloning of object.


8) Explain Abstract class 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().

Prepared By: Department of Computer Engineering Page 2

You might also like