WBP Merged QP
WBP Merged QP
22619
3 Hours / 70 Marks Seat No.
15 minutes extra for each hour
Marks
(d) Write difference between get( ) & post( ) method of form (Any four points).
[1 of 2] P.T.O.
22619 [2 of 2]
3. Attempt any THREE : 4 3 = 12
(a) Define function. How to define user defined function in PHP ? Give example.
(b) Explain method overloading with example.
(c) Define session & cookie. Explain use of session start.
(d) Explain delete operation of PHP on table data.
_______________
22232
22619
3 Hours / 70 Marks Seat No.
Marks
1. Attempt any FIVE of the following : 10
(a) State the advantages of PHP (any four).
(b) State the use of strlen() & strrev().
(c) Define introspection.
(d) Enlist the attributes of cookies.
(e) Write syntax of constructing PHP webpage with MySQL.
(f) Define GET & POST methods.
(g) State the use of “$” sign in PHP.
[1 of 2] P.T.O.
22619 [2 of 2]
3. Attempt any THREE of the following : 12
(a) Differentiate between implode and explode functions.
(b) Explain the concept of cloning of an object.
(c) Describe the procedure of validation of web page.
(d) Write update & delete operations on table data.
_____________
23124
22619
3 Hours / 70 Marks Seat No.
Marks
1. Attempt any FIVE of the following : 10
(a) List attributes of cookie.
(b) List different types of arrays.
(c) Explain cloning object.
(d) State any 2 difference between for and for each.
(e) Explain class and object creation.
(f) Explain functions. List its types.
(g) Define MySQL.
[1 of 2] P.T.O.
22619 [2 of 2]
(c) Explain the operations on string :
(i) strrev( )
(ii) strpos( )
(d) Explain the following :
(i) POD : :_construct( )
(ii) mysqli_connect( )
Marks
[1 of 2] P.T.O.
22619 [2 of 2]
3. Attempt any THREE of the following : 12
(a) Explain Indexed & Associative arrays with suitable example.
(b) Explain constructor with example.
(c) Define session & cookie. Explain use of session start.
(d) Explain inserting and retriving the query result operations.
Marks
[1 of 4] P.T.O.
22619 [2 of 4]
(c) Write a PHP program
(d) Write a PHP program to count total number of rows in the database table.
(c) Write a PHP program to draw a rectangle filled with red colour.
(i) MySQL_select_db( )
(ii) ImageCopyResized( )
(b) Develop PHP program to create database and insert records in database.
(e) Create a form given below also write PHP code to find given number is odd or
even.
Fig. – 1
22619 [3 of 4]
5. Attempt any TWO of the following : 12
(c) Display the given text “this is server side coding using PHP” in PDF format
using PHP.
(a) Create a html form “result.html” to accept Rollno of student using submit
button. Write “result.php” code to check the result of student “pass’ or “fail”.
Create a table result_table in MySQL database “My_db” with two columns
Rollno and Status. Also write PHP code to delete a record from result_table.
(c) Explain :
(i) _clone( )
(ii) class_exists( )
(iii) get_parent_class( )
_______________
P.T.O.
22619 [4 of 4]