You are on page 1of 2

Seat Number CA-20

BCA-604
Server Side Scripting Using PHP
(73604)
Total Pages : 2]
Time : Two Hours Max. Marks : 60

Note : (1) Do not write anything on question paper except seat no.

(2) Graph or diagram should be drawn with the black ink pen being

used for writing paper or black HB pencil.

(3) Student should note, no supplement will be provided.

(4) Attempt any five questions.

1. (a) What is PHP ? Explain features of PHP. 6

(b) Write short notes on variable in PHP. 6

2. (a) Explain regular expression in PHP with example. 6

(b) Describe Get and Post method from form processing. 6

3. (a) Write a note on any three string handling functions in PHP

with example. 6

(b) Explain Exit, Return and Die statement in PHP. 6

4. (a) What is array ? Explain types of array in PHP. 6

(b) Explain PHP with HTML with example. 6

5. (a) Write a PHP script to print leap year between 2010 to 2020. 6

(b) Discuss printing function with example. 6

P.T.O.
6. (a) What is cookies ? Explain in detail. 6

(b) What is class ? Explain syntax with suitable example. 6

7. (a) Write a note on constructor and destructor in PHP. 6

(b) Explain exception handling mechanism in PHP. 6

8. (a) What is interaction between PHP and MYSQL ? 6

(b) Explain the following MYSQL functions : 6

(i) mysql–connect( )

(ii) mysql–fetch-array( )

CA-20 2

You might also like