Web Programming

You might also like

Download as pdf
Download as pdf
You are on page 1of 1
BACHELOR OF COMPUTER APPLICATIONS Day : Thursday SUPPLEMENTARY (CBCS - 2018 COURSE B.C.A, Sem-VI_ :SUMMER- 2022 ’ SUBJ WEB PROGRAMMIN Time : 02:00 PM-03:00 PM Date : 25-08-2022 S-18799-2022 Max. Marks : 60 NB. ~ a = = 1) Q.No.4 from Section-t is COMPULSORY. 2) Attempt ANY TWO questions from Q.No. | to Q. No. 3 in Seetion ~ I. 3) Attempt ANY TWO questions from Q.No. 5 to Q. No. 7 in Section ~ Il. 4) Figures to the RIGHT indicate FULL marks. 5) Answers to both the sections should be written in SAME answer book. SECTION ~1 Qu Answer the following (12) a) Explain the PHP tags and variable in PHP with proper Syntax. b) What is array? Explain how to create array and access values from array with example Q.2_ Answer the following (12) a) Explain with the example PHP supper global variables, b) Explain built-in functions for writing data to a file with proper example. Q3_ Answer the following (2) a) Explain Session in PHP? How sessions are created and deleted in PHP. b) Explain the steps for retrieving data ftom MYSQL database through PHP script. QA Write short notes on ANY TWO of the following (2) a) Opening a file in PHP b) Time Function ©) Alter Table structure in MYSQL SECTION - II QS Write a PHP code to input an Associative array and perform sorting using ksort() (12) method. Q.6 Write PHP code for designing a User Registration form and store the form content (12) into MYSQL. database Q.7 Write a PHP code display Square Numbers (eg. 14.9.16) between a given range (12) on a webpage.

You might also like