0% found this document useful (0 votes)
40 views

PHP Program

This will help you to improve coding knowledge of php

Uploaded by

sakshikale132006
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
40 views

PHP Program

This will help you to improve coding knowledge of php

Uploaded by

sakshikale132006
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 20
Web Based Application Development with PHP (22619) II, Resources Required: Name of MO | Resources sd Broad Speci cil vanity | Remark _ Htiane’ | Computer (3-9 pe se Forall Byatt Computer [As per batch Windows/ Linux | size Resources used: 1. no. | Name of Resource cnmed od Congr 30 /R specifeatons | PO ptofeesble + Software Eatdone ily es ——- Aaya =| pp 8D. Practical Related Questions. ie: Below given are few sample questions for reference. Teacher must design more such questions «as to ensure the achievement of identified CO. How to c P rarm,( Ste ) 2. What are Jerent operators supported by PHP with example? (any TWO types) Space for Answer) —Trarle Phe demo tuldet , céecte @ new text tPle an) sane Pho. taderaepopis an) wéfte the toll? scsipt @Now, see the output se@ipt , open tne AamPP Wel pad and statt Apache +o hak +the cal websetve, whete Cue ScBipt wPll abe _ auoakg |AHARASHTRA STATE BOARD OF TECHNICAL EDUCATION Jopmen Based Application Deve 2 Opesotets a @ sting Operate Jy. concatenation 3 oe —_ Equd se Goncetenctfor of PO od +b : BT encokenato _osPynert, — 3 eg. $0. 25h = appek $0 te sh 3 @ AdtinnctPe Opeteet — 7 aa 2) + (Auebeon) . Simtel Fy : eg ae + is ae Coubbte ction) dtite of te aad Fy oo TT) + mutlPplfcathon malty of ee of Sy ey de ¥ ty XI Exercise 1. Write various comparison operators in PHP with example 2, Write various Logical operators in PHP with example with PHP (22619) a < aw type a Gmnpostsen, alee = Sie ba i potion Opetakten to Pup: oysfch] lame geek ta D==+Equcl | Rebisns true th $e & [ews a sty | equal te ey | sas} Tetteal | Rabata’ bese Ph te 2 eyed | SE x= == i pb _3y = they ote okt seme | | ire lean | Net Equal is ' Rabida bye th sks ps nat | =e ty equal to =Fy | [<> | ot | abtn teve eh sks Be nat| He <>ty Ethel bets wicca | | care Pas | p e B ee Rebugos Ph 2s gtoctee Sye> Sy Phos SEY \ Jase tee | Ralston tue thee 1 ses : the, Sy Fe=xy Pra Ratusns tee He Fie Ps lage | axe sy [eesti | thon os cqual fs +y ae st d (22619) elopment with PHP (22619) cation Devt Web Based Appli onditions. Use the up of 34 students. o iy, Program Codes Teacher must assign n separate program statement (0 Write a program to find given

s&s in ek (Fo = 220 and fsb = =/0) eho Tae’ 5 Uk (52 ato of Sh = = as) oa Choo * Peue " 5 th (oe za $4 4b = =I) echo “ True ?? < olpi- “Téve “Tene “Tee NICAL EDUCATION RASHTRA STATE BOARD OF TECHI PHP (22619) Web Ba XII. Refer Inttps://www.w \ vy e ot a>0) ae 2. hipistwarwe a ee mae se fee £ ote” 3 6 pals ake the 99,,88...080 Tei ge te XIII Assessmen Gi PEO sdag = Soe auth ( dey) t ase," Lam ‘ “he, ER. moody hucckine, cose "2 4 tated: abo “Tt A Temdoy 3 Monee List of Studen ouena a: hee 7 Gig ie veld eee beget aya 5 4 Case "4": a oh "HA Thosl sssannae wes > heeck 5 soon, Ree Prats debauf : ts c Relate eds " Trvoial Rab eear: 3 MANARASH Web Ba Ser Fees (utp % on 400 | ; Computer Sy with board | aa ee [suet m statement 10 B04 sp of3-4y. a separate progr) XI. Practical Je: Teacher must assign while, do.-while) Note: Below g annceenene so as to ensur e+] RY nn Mi 2. Differ X. Program Cod ers. (Using Fors Write a program to print first 30 even numb <2 ebp toa CEP { Dg p< 280 echo (gies: ieee 4m ” ?> MAHARASHTRA STATE BOARD OF TECHNICAL EDUC, ‘ATION 1 Development with PHP (22619) Web Based Applicatio XI Result ( Output of code ) PEO a ra ze 4 1 ey PS s ie ag ny 8 ican = eo ear Se : SS) xi. Practical Retated Questions: Note: Below given are few sample questions for so as to ensure the achievement of identified CO. reference. Teacher must design more such questions When far loop will be terminated? 2. Difference between for and for-each loop (Space for Answer) the... leop...cantfawes... fhe PE. evaluates to ‘ete , and. A ee ee ee tele ft : evelustes As Salee he. \nop Pe. leamPaakel.. : te Loop os | en ctpteadh.... leap. The....fetetPan S.nclestly |.O...ncthe....Peerattra..% cae | hellen. Gasd...... Peetetnone., | @. Bebtes... ferkman are The... stop Cena thfan...7 | ©. -the...step...cooltta resect enplattly Y¢ers pean e astly ; { j b \ Spe PEP). jenn wrthOrs....atth calle|[email protected] sfinply wotlk Pee «oe Pee det NG eooevnef wAraut....phe wage of pseage....ob TEU wade lo the. ceuatt).. mieten. MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION 5 w2ePhle_ pup (22619) en ae with Web Basec e “pe ion wt Wor m (gpte nit eve!) XI. Exercise 1. Write any prot 2. Write a program d ?? 3 eho Seoutse (2) + ede << bel> 97 5 (Output of code ) g Compiedee Merretcel covel. E BOARD OF TECHNICAL EDUCATION pease =) peveloply pI pplication I pased AI estos web Ba rat Rela rated Q! Note: weet oe are f so as 0 om we ahi ray i pup will 4, Howto create a ed in PHP. ppes of aray used se estions fo" ference: Teacher must desi, rsa ented CO* 5, practi’ xILP = syntax and small example 2, List the (space for Answer) oe oe J Numesfe..., ‘g “FJeed ote 7) Assoctebve ody. 3 imuliplineat oral ee Ths rt a Fh qe) cache. on aay ee ster - co P the pk. 1S. céeake o : ee oNe.2 g des use the afg oe) oo) = Brees Ft Cia) fideced afte) the 0 ae =tp S Aiclic ree by adlést [rsh 4 he Paserthests : ¢ THM og | < php TRA s a TATE BOARD Op OF Téchnea ‘AL ED iis, UCATIOy anne PHip (2; Web Based Application Development with PHP (22619) olfey Ci Velve*’ a" Gime 7." THyete?J 5 | XI. Exercise 1. Develop a program to using Associative array. 2. Develop a program to using Multidimensional array. (Space for Answer) < php Ss coftal = arreg ( mombor “7 =S "“mehctoshlta”. "Gog 1 => Minfee” ) bpertie ( Feetttel). 3 Chis 2 bie o a Coucbat] =S Mehatoshita [Go] => Panic Carhoa] => Petag) | Ae (_ STE BOARD OF TECHNICAL EDUCATION as me. a = Ww plication. Development with PHP (22619) web Based AP, Web Bas <2 che ¥ peesan, = c82ey.( ape okey é ntps Oe cod" Yaatte: Ki? + eg : 4. bap ‘ xu. References! S hitps:!/ Nena? =" GSBASRAN 7 ee ie atte ™ Aha [ xu. Assessime hone = topeohla fb moh? 7 =>" 909gxe un, https: y edi. acai ; mPsha [re faebe a S Cf ached = Wire gels 7 bes 7mG List of St MAHARAS) ASHTRA S ’ STATE BOARD OF TE CCHNICAL EDL ucATION (22619) Xd Result ( tatement £0 BFOUp of 3.45, parate program S Pract X. Program Code: Teacher must assign 4541 Note: Bel 1. Write a PHP program t0- ithout using string fimetions, «Sas 10-en # Calculate length of strint © Count the number of Wor ds in string

”) : ale fou). cc ete g> . fp t= a oa Pee 1 PHE. Moth: ol). 3 — bow 8 eter. ot ceel_ (Hoek Yalu) “ te Coed (UTE a 24) ; be = Cee (Ct aaa) a 3) uo

You might also like