0% found this document useful (0 votes)
20 views18 pages

php( 2)

Big data notes in mca full unit assessment in study material union human ma amma OOO amma meda promise you tube lochustha ok thanks you tube lochustha ok thanks for the day yuva morcha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
20 views18 pages

php( 2)

Big data notes in mca full unit assessment in study material union human ma amma OOO amma meda promise you tube lochustha ok thanks you tube lochustha ok thanks for the day yuva morcha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 18
oc loresh, 2 : ASSIGNMENT - I 23491 Foo Q) ‘y gplach the deda yes tn Php with suitable xan ples 7 sreifly . explatn abeub cont! statements in php Grploin the , key concerts ° “oop in ehp? ; Brrefly éxploih a hou Exception hand? ng in Php. explain the obred. cloning and dre in or ASSIGNMENT - I dds Yres vig nbs rar ia ahes the int of memory that allocate | we Oe. otth th aye ales determines the epelation O Value, aggeci : ‘ that you ean per forte ah h prinabive dypes including fear scolar dyes ~> php hes de ay compound type tue epectal type pHe types Scala compound special. Boolean Abley uth integer obtect Resource flood ting. Scalar type tplede|tned >: [——— theses ore heh numbers define d inthe sof jSro-R,-10,10138 the Sze of the inlege + depends on thy platform here Hse edd ny spec fies the ze cf the integer,6n a epecrfic olable rn, sti h the inh hexooord the de foulle the thteger ype Snel i) Crarmple « ee vustiake gone, integep 42 PhP § coun tos $ bnew =lo00} 3 Pe§e ~g2e 10+ 2> ASSIGNMENT - It i Sak fied ore Floalind pant nombers which Abe elise Sroch Re Atads doubles of ped numbers rhe Uses the Head keywentd to represent the floating point humrbey . the fotebing Erareles boats the flealag pind a numbet~ phe . , | 42phP _S phce 210125, i 4 for doo i D | Boolean . : pseu toptecents So dndh: value ted con be atthe, tue flee, Php use the eof heguctd te beptesent the erelay Type toe tyre. how, lee value true, Tae dive alse ond < indicate beoleah- Value . Be Fyoesing ks ees tha +e 6si9h ‘geeleah ~ Velo, ; to vatiable ed Sd ase $ is_adintn =4hue: € 15 —usep logged-in = falee ¥ 7> J 4 ‘ i Min 4, wn, nis ae oloieles Sutounde d by single. guide (') ot dale gudles ¢ ) “WB eaalipte ® lth x tj $sth >"pHp als lypors $ tnessage >" pH debe bypers > {OF scanned wth onen camer } ASSIGNMENT - it : | | Cominand tyre. Ae 2 $sed ord +8 ws s i An Ayes io A crated mop ta ate craded hey | with valee L, esomele You coh define Usk lene’ tn @ shoping cart Whe this | £1 phe geort -L'tephr |, ‘nese’, eter’ ]) i + \obsect? i eee - i =>An sbreck 124An instore of cles As combos i | contegt tm obred, PreStemming. 0 ley ap abs he plorevbee fonremnfle person ebte ct i may have the fick veme ies! home ond ae plopet Tee. =>An ebyett alse cle jvour which ote keh AE Rous EG liom ple & fercon ObIEt: have a methed called oof Lal name returh ine - ital Ye vy = “he hae cpecial type null 4ype cre vehe celled reall tat terresents werroble with 45 vale | Regeutee t ae Bae ; a she yesoune type bd pofererce eternal eeorce of fle handle or obds hte eatterbors. | | a 2 i z i i : 3 5 t ; © scat hovers ASSIGNMENT - I dbyect oriented. PheGlalntnihg => bops sfonde fay, 'esret oriented _phoffetnining. > ‘pre ced ural PleGtaamning 78 abel; twooeking pho cedukes oy fanedion that Perfor hn operations An the dale chile ore e| ppierted pie flammh] + abet creaking obtect mbar beth dale 1) wie Lirthion i i} e 44 z o9kahnbnihy “Con eePhs. ebredt ontened Pattahinihy concer MS ons Tg is A. pedteinimeh “defnal’ dode type “tohica includes local findion wall “Ae “local” dada you crt thn of Ala As A Lemplabe fr a hing?otnglance ofs the same lend of | obtect- jomtece “ah, tnd tvidual anstance of the sfiuclue Jefmed' by acltes you Beret Ass. ence. then bnake: tnany, 0 b7e Ch thot heleng 5 ldo. ct obre ck ore breech As instance « re ber Vartable f ‘ese are the Variables de med thetdé aches the date an << pier ble. Jo the cubvide ofthe clAes. and car be conse d, “va imember function vanables att called affritate ofthe “obrect chee cobrett iss treated, me}aber sforeliobe! p ee i meer cthese are dhe ess ebyech data’ iad dotnet 40.20% Ln dies defned ingide aches ond cee i ro Cel ASSIGNMENT - Il Inher thanee !~ whe acllse ig defined by inherting exteling ie, ae Bia, parbats ates called tphawlance Here» chad fee ca) Mnherball trewber Landdion and Vartable of pi tA UAce . ; 1 | Palymerehiotn’. ee \ qhis ts An obrect eteded Une alate ‘lacie Prckione can be used fr otffacnt purpose Li etatn fp ja wil) yemath some bab tt take. © | over loa ding i [So Bis Appa Afi Iyof ida whch come hls bopardtions 1 Leer. eviemendaian depending on the oy queen stlleply fprcbion alse be overland toh < By dype their Iaing cath off evenb Haglerme® Fda abebaclene.. They pepresentalion deta in whith the mplemnerhlin ; | debesle are hidden i |eescese le 7 | Refers fora eae where 08 trea pulate of, doha and tember fineliss te Qe ther fo for, - | obreck ° Shion 42.4 : 4 r. cons tiudet coe ed : Tgelois Vie spead ty pe ae fnbon odide coil he called oubemabrcally ashenover Sve lige fy af i [ ; Thok> at ‘eas ASSIGNMENT - I Fashudar . gefers toa opecial. Aype of Loved teh sich called ouhe ma oy, whehevet oh obtedt % "ene be Joos: out of: stoPe~ oF verefitee sige oop’, in ‘ehpo => oop & a, Wel ore i ashe =oops providers a ckah strurture "afer the Progra ing => ope help te keop the hele sode "DRY oot Repeal you RSELE" and takes the corel cldlenents in phP iia hat’ vor’ Do vobel in. sph? ane: tose bE abent re ‘They ave » can diftenal slatetoents Lily looping stalements. {Ne D cond i nati ; GL otalement Ps teed Is cherde the Hows A condi! ibe on f execatis oh Based on di flere conch tions - of a condom ‘8 dive then Gir ohe ackon and 3 a condition is her perform! another achia pened con dibona dibonal slatenen i: a Pina th -else ch sae Pf else rf -else statement. ewith efabener qemary opereter null coalescing ASSIGNMENT U Qe i wdelenen ~ ae ithe ef clelnast exccales agi: hs. 2 ry ‘Gondvtioh ts tau Jedthe condrtish enh be stad exPhesiok fee eae leall ck a cotnpky expression a legieal croctis | L : ctotsisn 1 she sptat > gynt ih cerabionD ° ae iE, MW evde” a) s N aad a cree a4 asta ban" A g$a= ' vhuses Leh Nas det -b Re E eh fe ae e = else Le — ene black ot ah Mie ma tien is bare ond re thek f the 3 ee tion af False POF . © somedsth on scamer : 3 i i i i ASSIGNMENT - IL one <2 ehp Safe vos Lf CSage >=) acho'you Are on acid”: ava a 7D lee ‘= + Lstelemeni: — 7 aap if. the SatelesSet cheeks palkele condi biong and eveades a ffoent beck ef cede ‘aeotdnaly ea? if Leona ition 0 echo "yar Ake mthol*s a z at ‘i [en drtion 2) wl é Neale else : Vode ng ah SE £2¢hP $ dade. L Cégtade. Sead ASSIGNMENT - I £ echo" you gol An A"! i 3 E | che fl Cquede »=89 Leche "you eb Ah By £ eke ¥ acho" you Soe a cb lasers oy pas -fou St ANB lad sath dabavort Fhe sath gleleret alll) wale iP sinew and atertikes 23 Usfine pled of code based oh ing Values | => the breok state mest 6 wae) thend the aifch Hoods, sth- Sustch ( exptession) ease valet!) wig > hice ; €6e volue2.- Yode break? def out Mode secreaded of pao, Bhs day>2; Switch Use) ‘Act case 1) echo! monday") break. chile loop: the abile lef woill loops thrsagh 4 3 bel a ode ASSIGNMENT - I case 2) echo" vursday"; breek> de full 2 ehotethes day": Yp =, Tuesday a | looping ohile Ine’ loops Abe Used toexecubed - block ol ned Ba nd dgatn As long As ‘cerfotn condrlioh is he 2 Base fad a loP is to gubomebe dhe repelative foske with 4 Phogabn fo seve’ bme “and ef fort. “condi fied th the while s le men. r4g long Ae the pe cifed 2 Vo) vat? fo fue syne while * Cesiiditioh) s tment: Bry CES ec hhinly Lbody> 2 2php dx: all while (Jaws) © tho "the huh ter eS ZbAS ome i] t» 4S body) | Loedy> p shyt ts Sed . | “ate oe t took ; i me +f rode y Lecbetthe haber 53 “Pa” Zh! maSort of, loop'- Lepee ote — ~The 100P ese cedeg 8 cerleth onditon due. CH htm ea: As long Ay }e © echo" 3 colt In” my 3 Psi ee ay Aismangs is, iecla ‘ts vealing Awpy sl sbred. h * elontrig® on! obec} is dang halle copy note deep (Ly. Ss Seater ui geben shed of the copie d bret copied. => TT you wish F 3h ancl ith ok add +84, ehiga)) PPh 2S ARR Paps grames! Me ear ne t fanct ih ett nok ne Cg ang ¢ Pils deri = hew.student Cs | ¢ shident Add b=hew Adde by $° 3 glude nt> ame = 044 it btude w a city J rellote!" | go fulen t= <> pips6ru alo; \elAss’ Adbeas lea copy by Ascrmmment “2h, Pooper | Mie Bees ae y fiaghs lente = na a“ + afin: 3 silent Peoety oe et sludent > Add b~> Pr b ~> Sth bs © scanned wth onen camer i ASSIGNMENT aby ny assrentrewt sith Eee Glodenb >: | otu dew th pnd ay uhident sy: | ham e: B > | adlb 1 Quder ojp- Rame AV B frie 2 Gato) Adds Gide AG |shallows copy pm get ebijwt see | <2 php L | bee P cory. | ae studen cles a ae & vat dname: ip ees Vard Addy: | funclich seb hame (Arp) © bikis opame dag” E dane setty hg, gthie> Pih=dArge g 3 ie lati dohuent=neco stident c9! deludent > Add Hrhees ALK: deludent hame="A" 7) Iolude nt -> aby" agin beludenk > PM x52 49/0 echo"! copy by Acsignbent tons funtion set name (sng) E yaniss> name =F 4rg, X puss function -— clone |) 2 3 : lclAcs Adtheas 23 phe Ald} cone Sdhie hae | Lvar deity: ge Ward Phy JelAce Address fun diohsob Addy (SANRSAg) Lay 3 city: fae dein: Gauvelion ek Adde CARI, 3A] Lats aby -94i9, $ this 2 fh = Sabo qe gehident shew sludentes = Q studen k~>Add bohew Addbt ); 4 cludend, > hae = "Ate golule hte -dcity “hefore's §studen by ->Fn sou a]e s dehudent z= cloh esluden { the “wry bY Assrenimend “ZH © scanned wh oxen camer ie a elude nt 2 —|esdudenb 2 deludent a ee! | Dh leas = Code. content o > Adse ley An th b> prierface ? apps {Palokn¥ 2 = clve alae ASSIGNMENT - I ~> Seb name pg”); ~> set name "Gude" P>AdaE. ib — gate Y ue hov afle,. change": tnt -& 1 gluden by): Prt -b (studend, ab ap" copy by. Assamaastd Nsliny OHer change oy etuden bs, / A hame A? ye ses AM b Kelle! “eu! is see ovduy | Pi GLb bel. . SeHIe) vid oh | '=>An Selon lte tg “eimtlar WA das eveect tds %6 cahhe é ae | Ly An ao aneline melhod name ¢ and Argurente fut wt he the methods . ee toplemert roultiele inde foes! ce ig dechted using the thre re es keyword . 16 declared Using the mterfare” key word: “20 te sntesbea ame. public Prk h Bolas oO a ? t © scanned wth one camer ASSIGNMENT - Il 42 he, ret mle es a d inc E puntee Liedan seed ' ti alte b E ate fancier dei) | | : } 4 class deine tmerantovte S ' i | oi public fel en det)... ’ : : hy, "methods 0! z i : Public Lncloss dis2{) - 5 ss - echo tmefhedy =” 3 ; GOT shew dere!) ae getr > disco: Sebr ~Misriyé i ey = Mae ky Pips metho 20 0 nethid p ~~ Vays ip” MEN osteas © scanned wth onen camer z ' lene cra Unto hn. it always used i john Ah excep helpe oll the excert figs Excepian handling. #¢ a rer inecha nile In fs #9 Used to handle putin © ether. go thak notmal’ fox, rade the Applicetish can be reatn bathed rf =the tain purpese of using exceplion, eption handlh the normal execution of the Application . hee “ tat =) An exceptin te An wnexpeced aibeome of A Prefhabrudich . cah be handled by the Piefia mn L sil. 1 ASSIGNMENT -1 oO Gerben Hard Lang th elie: — | Ba zy €rception handling ¢s almost ‘Bre tliak fall Prog tarnining language . 3£ changes the notmal flys the prodiaia oshen 4 lepseified Chyoh candi bioh ceeurs, thie “cond ttioh °5 Know As lercepbion rehidh fe Aah rnebte exception |-> bey» the diy blek eontams the” code! that may have An | ex zecefion where An excepten tah elie — aecors inside try Hoek dute® lundme of cade ‘peaustt. re seve gin caldr block -the thy bck felfowed bY ees eal qin ony nos cabch blocks. mibtinu one and be - ab aie cntone the code tha eveades when 4 with a fey block - not abne iva occurs - PHP finde matching cater bhek , Lobe j= 1. Bee a keyword used to threw An escerlan | jie x : ions that Linclion threes bet does | nok handle feel? ASSIGNMENT - II [=> Liradly: tthe finally block contains A cole bch te ie hegre act vty th phe, gasceally epeobes the egseribial, ode the, plettatn. - i i ok bse ree 1 ogy Hasdoan’ ype £1 php : ssedagy EV code it 44 adeh Loxcephos be.) £ Neode © scanned wth onen camer

You might also like