3 Hours / 70 Marks: Seat No
3 Hours / 70 Marks: Seat No
21222
22619 3. Attempt any THREE :
(a)
4 3 = 12
Define function. How to define user defined function in PHP ? Give example.
(b) Explain method overloading with example.
3 Hours / 70 Marks Seat No. (c) Define session & cookie. Explain use of session start.
15 minutes extra for each hour
(d) Explain delete operation of PHP on table data.
Instructions : (1) All Questions are compulsory.
(2) Illustrate your answers with neat sketches wherever necessary. 4. Attempt any THREE : 4 3 = 12
(3) Figures to the right indicate full marks.
(a) Write PHP script to sort any five numbers using array function.
(4) Assume suitable data, if necessary.
(b) Write PHP program for cloning of an object.
(c) Create customer form like customer name, address, mobile no, date of birth
Marks using different form of input elements & display user inserted values in new
PHP form.
1. Attempt any FIVE : 2 5 = 10
(d) Inserting and retrieving the query result operations.
(a) Describe advantage of PHP.
(e) How do you validate user inputs in PHP ?
(b) What is array ? How to store data in array ?
(f) Write syntax of PHP. (c) Create a class as “Percentage” with two properties length & width. Calculate
area of rectangle for two objects.
(g) How to create session variable in PHP ?
(b) Write a program to create associative array in PHP. (c) (i) What is inheritance ?
(ii) Write update operation on table data.
(c) Define Introspection and explain it with suitable example.
(d) Write difference between get( ) & post( ) method of form (Any four points). _______________
[1 of 2] P.T.O.