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

QB PHP

The document contains a series of questions and tasks related to PHP programming, SQL commands, and web development concepts. Topics include data encapsulation, inheritance, database operations, PHP functions, and the differences between GET and POST methods. It also covers cookies, sessions, method overloading, and provides examples of web pages with validations and multiple forms.

Uploaded by

pifoya3648
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)
5 views2 pages

QB PHP

The document contains a series of questions and tasks related to PHP programming, SQL commands, and web development concepts. Topics include data encapsulation, inheritance, database operations, PHP functions, and the differences between GET and POST methods. It also covers cookies, sessions, method overloading, and provides examples of web pages with validations and multiple forms.

Uploaded by

pifoya3648
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

1) Define data encapsulation.

2) Define inheritance.
3) List serializable objects in PHP
4) Describe the PHP mail function?
5) Write a SQL command to update and delete database?
6) Difference between get and post method (Any 4 points)?
7) Describe term Introspection?
8) Write steps to create a database using PHP?
9) Explain method overriding in PHP with suitable example?
10) Create webpage with applying suitable validations?

11) Write a PHP program to demonstrate function overloading.


12) Describe parameterized constructor with suitable example.
13) Compare method overloading and method overriding.
14) Compare interface and abstract class.
15) How to define properties and method of a class? Explain with suitable example.
16) How to define and use destructor in PHP.
17) What is role of server in PHP.
18) How to create cookies.
19) Define cookies and session.
20) .Describe the PHP mail function.
21) Difference between GET method and POST method
22) Write a suitable example of Web Page having multiple forms.
23) Write a suitable example of form having multiple submit buttons.
24) Create webpage with applying suitable validations.
25) How to create, modify and delete cookies.
26) How top start session, get session and destroy session.
27) Difference between cookies and session.
28) Write a program for cloning of an object? List the data types support by MySQL.
29) Write a SQL command to create and select database.
30) Write a SQL command to create and drop table.
31) Write a syntax and example of insert SQL command.
32) Describe features of MySQL. 2. Write steps to connect PHP application to MySQL database.
33) Write the PHP code for fetching the data from a database to webpage.
34) Write PHP script to update records in table of MySQL database.
35) Write PHP script to delete records in table of MySQL database.
36) Write a PHP script to insert one record in student registration table ( roll_no ,
name, city, mobile no) in MySQL database.

You might also like