You are on page 1of 21

HistnmDAMy0!

21202co4o
WINTER

12223
22619
3 Hours / 70 Marks Seat No.

Instructions : (1) AllQuestions are compulsory.


(2) lustrate 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 any four data types of PHP.
(b) Define Array. State its example.
(c) State the role of constructor.
(d) State the use of Cookies.
(e) List two database operations.
() Write syntax of for each loop.
(g) State role ofGET and POST methods.

2.
Attempt any THREE of the following :
12
(a) Explain the use of break and
continue statements.
(b) Explain Indexed array and
associative arrays witlh suitable example.
(c) Definc Introspection. Explain it with
suitable example.
(d) Describe :
(i) Start session
(ii) Get session variables

[1of2] P.T.O.
(2 of2|
2419
following :
3. Attempt any TIIREE of the
scale the given imnage.
(a) Explain (wo functions to
object in PHP.
(b) Wite syntaxto crcate class ad
inpul in PIP.
() Stateany four fom controls lo get uscr's
IPHP.
(d) Wute steps to create database using

4 Attempt any THREE of the following :


(n) Describe user defincd function with example.
(b) Wite aprogram for cloning of anobjcct.
(c) Write steps to crente webpage using GUIcomponcnts.
(d) Explain qucries to update and delete data in the databasc.
(e) Describe the syntax of if-clse control statement with cxample in PHP.

Attempt any TWO of the following :


12
(a) Write a PHP
program to display numbers from 1-10 in a scquencc using for
loop.
(b) Write a program to conncct PHP with
MySQL.
(c)
Illustrateclass inheritancc in PHP with
examplc.
6
Attempt any TWO of the following :
(a) Write a PHP program to set and 12
modify cookics.
(b) Write a PHPprogram to
Calculate length ofstring
(1) Count umber of words in the string
(c) ) State the use of serialization.
() State the query to insert data in the
databasc.
WBP
Nam HisHnN DaDL Rclno:l202(0ouo

l INT FlOmT
VARCHAR DoUBLE
DATE (HAR
TIME

An Annauy ç acclecin h mllipls cemunl inda


.
dalali

"MadiSamol")
che sa),al,

s63]:'Mod"
tLhe salD], Sa(?],

nde ret IOkT:DUCATIONAI USE


Sundarany
72
hin a

FOR EDUCATIONAL USE


Gundaram
Inhexpeelen
nlenocn prccam lo eNAMIN

Sennt la5,pu, and mhal

+
dnle and call d

sa[oHclo,
+al0"Wee"
echosalol, sal ]

-1+w m e a uoceumn Talde

saz anvay'Mah )40, Hndi >go, Hunloy ' o

|OR LDUCATONAL USE


class das.-na

OK EDUCALONAL USE
chsclna lhi conneclion

1kLDUCA|ONAL USE
Aeliin Con Le panamalaid

lassanpl
echo Hello Wo

ara n FOR EDUCATIONAL USE


Upehl
upcals
whe

coun val
Sngie tale wh h

Pas l.

uson >Leeno

IORIbUCAUONAL USI
Sundanamy
FOR EDUCATIONAL USE
(y

else?

exulo
hcx a endeior lop uAthich t

CRLLUes ese a

elhe'shind hglehed"

IOR TDUCATONAL USE


die (keCm >coned-enn)
lompa

FOR EDUCATIONAL USE


Nam= Ycot"

sdbom

4on nw

ciul etconn conne-O)

IORT DUCAIONAL USE


edhe'sil":

2
3

IoLDUCAIONAL USE
6

4az"Holln Madi:

eho

Letttat

IORTDUCAUONALSI
Deniadialion is a yhcas) which conNend ho ccd

We cen Lonel a ao
scenn-lçnnLe)

iOKLoUCAHONAL USE
eche"data incilsd";

else

You might also like