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

3 Hours / 70 Marks: Seat No

This document outlines instructions for a PHP exam consisting of 70 total marks. It informs students that all questions are compulsory and to illustrate answers with sketches where necessary. Marks are provided for each of the 6 questions. Question 1 has students attempt 5 out of 7 tasks, Question 2 has 3 out of 4 tasks, and so on for the remaining questions. The tasks cover a range of PHP and MySQL topics like cookies, arrays, cloning objects, functions, sessions vs cookies, loops, string operations, connecting to databases, overriding, creating PDFs, and more.

Uploaded by

Tanishka Patil
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)
49 views2 pages

3 Hours / 70 Marks: Seat No

This document outlines instructions for a PHP exam consisting of 70 total marks. It informs students that all questions are compulsory and to illustrate answers with sketches where necessary. Marks are provided for each of the 6 questions. Question 1 has students attempt 5 out of 7 tasks, Question 2 has 3 out of 4 tasks, and so on for the remaining questions. The tasks cover a range of PHP and MySQL topics like cookies, arrays, cloning objects, functions, sessions vs cookies, loops, string operations, connecting to databases, overriding, creating PDFs, and more.

Uploaded by

Tanishka Patil
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

23124

22619
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