4.
Attempt any four: 20
D/SC-M-201088 ~IIIIIIIIIIIIIIIII
P.G.D.C.A. (Sem.-II)Examination (a) Explain any five variable modifiers in Smarty.
April-2013 (b) Why we use MYSQL in PHP ? Explain the mysql fetch arrayt),
Web Based Application Development Using PHP mysql Iisr dbst), rnysql jqueryt). mysql_affected_rowsO.
Faculty Code: DISC (c) Why we use PHP with XML? Explain any Four XML functions
Subject Code: M-201088 with example.
Time: 3 Hours] ITotal Marks: 100 (d) Write a note on AJAX Life Cycle with SML Http Request Object.
(e) Explain include O. header 0, fmod 0, date 0, isset O.
I. Attempt any four: 20
(a) Explain PHP as Server Side Scripting Language. And Write down
steps for Configuration with Apache web server. 5. Attempt any four: 20
(b) Define Variable in PHP. Explain the scope of the Variable. (a) Explain PHP Regular Expression Function with example.
(c) What is PHP Operator? Explain Types of Operator.
(b) Explain the Class and Constructor with example.
(d) What is UDF ? Explain Types of UDF and Default Argument
Values. (c) What is PHP Smarty? Explain the way the variables used in the
template file.
(e) Explain Variable Length Argument functions.
(d) Explain array_merge 0, list 0, mktime O. die 0, arsort O.
2. Attempt any four: 20 (e) Write a code in PHP to display all the records in HTML tabular
format.
(a) Explain the Array in PHP with example.
Database ame: College
(b) Explain stristr 0, settype 0, strcmp O. strrpos 0. substr 0.
Table ame: Student
(c) Explain the Looping Structure with example.
Fields Name: Roll no int(5)
(d) Explain GET and POST method with example.
ame • varchar( I0)
(e) Explain fopen 0, ftell 0, fseek 0, fileyut_contents 0, file O.
City varchar( I0)
Photo varchar(50)
3. Attempt any four: 20
(a) Explain $_SERVER variable.
(b) Why we use GD Library in PHP? Explain any four Functions ofGD
Library with example.
(c) What is session? How to read and write session variable? What is
difference between cookie and session?
(d) Explain the Inheritance and Serialize Object in PHP with example.
(e) Explain any Five Custom Functions in Smarty.
D/SC-M-201088 P.T.O. D/SC-M-201088 2