0% found this document useful (0 votes)
38 views1 page

3 Hours / 70 Marks: Seat No

php diploma question paper
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)
38 views1 page

3 Hours / 70 Marks: Seat No

php diploma question paper
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/ 1

22619 [2 of 2]

23124
22619 (c) Explain the operations on string :
(i)
(ii)
strrev( )
strpos( )
(d) Explain the following :
3 Hours / 70 Marks Seat No.
(i) POD : :_construct( )
(ii) mysqli_connect( )
Instructions : (1) All Questions are compulsory.
(2) Illustrate your answers with neat sketches wherever necessary. 4. Attempt any THREE of the following : 12
(3) Figures to the right indicate full marks. (a) Develop a program to connect PHP with MySQL.
(4) Assume suitable data, if necessary. (b) Develop a PHP program for overriding.
(5) Mobile Phone, Pager and any other Electronic Communication (c) Explain procedure to create PDF in PHP. Write example.
devices are not permissible in Examination Hall.
(d) Design a web page using following form controls :
(i) Radio Button (ii) Checkbox
Marks
(e) Explain the following terms :
1. Attempt any FIVE of the following : 10
(i) Variables (ii) Datatypes
(a) List attributes of cookie.
(iii) Constant (iv) Operators
(b) List different types of arrays.
(c) Explain cloning object.
5. Attempt any TWO of the following : 12
(d) State any 2 difference between for and for each.
(a) Write a PHP program on Introspection.
(e) Explain class and object creation.
(f) Explain functions. List its types. (b) List string function in PHP. Explain any two.
(g) Define MySQL. (c) Write a PHP program to demonstrate session management.

6. Attempt any TWO of the following : 12


2. Attempt any THREE of the following : 12
(a) Develop a simple program for sending and receiving plain text message. (a) Develop a PHP program to

(b) Explain the use of break and continue statement. (i) Enter data into database
(c) Explain constructor and destructor in PHP. (ii) Retrieve and present data from database
(d) Explain update and delete operations on table data. (b) Develop a PHP program to create constructor to initialize object of class.
(c) Develop a PHP program without using string functions :
3. Attempt any THREE of the following : 12 (i) To calculate length of string
(a) Differentiate between session and cookies. (ii) To count the number of words in string
(b) List loop control structures. Explain any one loop control structure.
_______________

[1 of 2] P.T.O.

You might also like