Professional Documents
Culture Documents
21202co4o
WINTER
12223
22619
3 Hours / 70 Marks Seat No.
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
l INT FlOmT
VARCHAR DoUBLE
DATE (HAR
TIME
"MadiSamol")
che sa),al,
s63]:'Mod"
tLhe salD], Sa(?],
+
dnle and call d
sa[oHclo,
+al0"Wee"
echosalol, sal ]
OK EDUCALONAL USE
chsclna lhi conneclion
1kLDUCA|ONAL USE
Aeliin Con Le panamalaid
lassanpl
echo Hello Wo
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"
sdbom
4on nw
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