0% found this document useful (0 votes)
17 views3 pages

WT - PY Question Paper

WT_PY Question Paper

Uploaded by

ag8411877
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)
17 views3 pages

WT - PY Question Paper

WT_PY Question Paper

Uploaded by

ag8411877
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/ 3
[6058]-402 S.Y.B.C.As (Science) BCA-242: WEB TECHNOLOGY (2019Pattern) (Semester-IV) Time : 3 Hours} Ss S [Max. Marks : 70 Instructions to the candidat All questiong-are compulsory. 2) Neat dia; anust-be drawn wherever necessary. Q1) A) Choose the’ correct options. [5x1=5] a) The function returns the column name i) pg-field-name () ii) _pe-col-name() iii) _postgres-field-name () iv), none of these By default the index of arrayin PHP statrs from b) AO i) 1 iii) 1 iv) 2 ©) Which of the following’operator when added before an expression ignores error mes yy iit) % iv) d) XML comments are writtenas ) -ii) iil) <2-2> iv) &S---068 ©) Which one of the following property. scope’ is not supported by PHP? i) friendly ii) final iii) public iv) static PTO. B) Answer the following : [5x1=5] a) List types of XML parser. b) For what purpose table rar () method is used? c) State True/False PHP. GET is super global array in PHP. d) How sate tod ig invoked? e) What isatie tse oPutray-slice function? NS ES 02) Answer the flowing any five) [5*3=15] ~ a) _ Explain’how PHP works with web server. b) Differentiate between anonymous function and normal function, ¢) What isIhtrospection. Explain any two functions with example. d) Explain SSL. ©) _ List the steps to write ajax code to retrieve. iitformation from XML file using PHP. f) Write a PHP program to display Vhe total no. of rows returned by a query containing students studying in SYBCA class. 03) Answer the following (any five) [5*4=20] a) Explain the following PEAR’DB to get information about result object with example. i) numrows () ii) numcols () b) Explain (Define) cookies. Give syntax for set cooki® andxplain the cookie attributes in detail with example. ¢) What are the differences between AJAX and JAVA script. d) Compare between for and for each loop. ©) Write a program in PHP to find the size ofarray using count and size of ) function. > ) Explain what is HTTP authentication? C ) What are the placeholders in query? Explain in detail with example. SS 16058]-402 2 4) Answer the following: [5x5=25] a) Explain self processing pages concepts in detail with example. b) Explain Encapsulation with its advantages . c) Consider tables: Plant (Plant-id, plant-name, plant-type, price) Write a PHP script to.atcept-plant-type. The script schould display the information of plants belonging to the plant-type entered by user. d) Create arrapplication that reads Book. XML file into simple XML object. Displayattributés and elements (Hint : use simple-XML-load-fileQ) e) Explain thefollowing array function, w ith example. i) art-pad() ii) > array-values () iii) range () f) Whatis Sticky form? Explain with example. g) Explain prepare and excecutefunctions with suitable example. a XY Ss Ps \ Re Noite’ Ss ws» ~e ak ee e S

You might also like