[go: up one dir, main page]

0% found this document useful (0 votes)
104 views3 pages

Marks 0 7 Hours / 3: Seat No

The document appears to be an exam paper for a PHP programming exam. It contains 6 questions with multiple parts each testing knowledge of PHP concepts and abilities like arrays, classes, objects, functions, loops, strings, sessions, cookies, MySQL and more. Students are instructed to answer questions providing code examples where necessary.

Uploaded by

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

Marks 0 7 Hours / 3: Seat No

The document appears to be an exam paper for a PHP programming exam. It contains 6 questions with multiple parts each testing knowledge of PHP concepts and abilities like arrays, classes, objects, functions, loops, strings, sessions, cookies, MySQL and more. Students are instructed to answer questions providing code examples where necessary.

Uploaded by

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

22619

23124
3 Hours / 70 Marks Seat No.

Instructions : (1) All Questions are compulsory.


(2) Illustrate your answers with neat sketches wherever necessary.
(3) Figures to the right indicate full marks.
(4) Assume suitable data, if necessary.
(5) Mobile Phone, Pager and any other Electronic Communication devices
are not permissible in Examination Hall.

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.

2. Attempt any THREE of the following : 12


(a) Develop a simple program for sending and receiving plain text message.
(b) Explain the use of break and continue statement.
(c) Explain constructor and destructor in PHP.
(d) Explain update and delete operations on table data.

3. Attempt any THREE of the following : 12


(a) Differentiate between session and cookies.
(b) List loop control structures. Explain any one loop control structure.
[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( )

4. Attempt any THREE of the following : 12


(a) Develop a program to connect PHP with MySQL.
(b) Develop a PHP program for overriding.
(c) Explain procedure to create PDF in PHP. Write example.
(d) Design a web page using following form controls :
(i) Radio Button (ii) Checkbox
(e) Explain the following terms :
(i) Variables (ii) Datatypes
(iii) Constant (iv) Operators

5. Attempt any TWO of the following : 12


(a) Write a PHP program on Introspection.
(b) List string function in PHP. Explain any two.
(c) Write a PHP program to demonstrate session management.

6. Attempt any TWO of the following : 12


(a) Develop a PHP program to
(i) Enter data into database
(ii) Retrieve and present data from database
(b) Develop a PHP program to create constructor to initialize object of class.
(c) Develop a PHP program without using string functions :
(i) To calculate length of string
(ii) To count the number of words in string
_______________

You might also like