Total No. of Questions : 5] SEAT No.
P-6013 [Total No. of Pages : 2
[6144]-405
S.Y. B.B.A. (Computer Application)
CA-404 : ADVANCED PHP
(2019 Pattern) (CBCS) (Semester - IV)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Neat diagrams must be drawn wherever necessary.
Q1) Attempt any EIGHT of the following. [8 × 2 = 16]
a) Explain the purpose of $ this variable.
b) Name any two functions to extract basic information about classes in PHP.
c) What is SOAP?
d) What is Web Services?
e) List any two PHP HTTP functions.
f) What is setcookie ( ) function?
g) Enlist the PHP Dom's function.
h) What is XML passer?
i) Which are the parts of XML-RPC?
j) Give any two applications of AJAX.
Q2) Attempt any FOUR of the following. [4 × 4 = 16]
a) What is Introspections? Explain any two instrospective function?
b) What is sticky form? Explain with example.
c) Explain how to create and select database using PHP.
d) Explain AJAX web application model.
e) How to handle file upload in PHP?
P.T.O.
Q3) Attempt any FOUR of the following. [4 × 4 = 16]
a) Create a XML file which gives details of books available in "xyz
Bookstore" from the following categories : (i) Technical (ii) General
knowledge (iii) Fitness
b) Write php script to create CD catlog using XML file.
c) Write a PHP program to create student registration form and display
student information (use sticky form concept)
d) Create student table as follows : student (sno sname, per) Write Ajax
program to select the student name and print the selected student's details.
e) Define a class Employee having private members_id, name, department,
salary. Define parameterized constructors. Create a sub class called 'Clerk'
with private member bonus. Create one objects of the clerk class and
display the details of the clerk having the maximum total salary (salary +
bonus).
Q4) Attempt any FOUR of the following : [4 × 4 = 16]
a) Define class and object. Explain with example.
b) What is PHP session? Explain to start and how to destroy php session
with example.
c) Write PHP script to create 'product.xml', which contain p_no, p_name,
color, weight. Add four element into it. Write PHP script to display
product. XML in table format.
d) Write a PHP program which implements AJAX for additional of two
numbers.
e) Differentiate between GET and Post method.
Q5) Write a short note on any Two of the following. [2 × 3 = 6]
a) Super Global variables
b) AJAX
c) Content management system
[6144]-405 2