Total No. of Questions : 5] SEAT No.
:
PC1165 [6317]-205 [Total No. of Pages : 2
S.Y. B.B.A. (Computer Application)
CA-404 : ADVANCE PHP
(2019 Pattern) (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) Which functions are used for serialization?
b) Enlist the HTTP Request methods.
c) What is web services?
d) Which are the databases supported by PHP?
e) What is setcookie() function?
f) Enlist the methods of simple XML extensions.
g) What is $http_response_header?
h) Give any two applications of AJAX.
i) Which are the parts of XML-RPC?
j) Explain the purpose of $this variable.
Q2) Attempt any FOUR of the following : [4×4=16]
a) What is sticky form? Explain with example.
b) What is DOM? Explain it with the help of program.
c) What is SOAP? Explain different elements of SOAP.
d) Explain with example how to connect database using PHP and Ajax.
e) Explain MVC architecture with diagram.
P.T.O.
Q3) Attempt any FOUR of the following : [4×4=16]
a) Write a PHP program to accept two string from user and check whether
entered strings are matching or not. (Use Sticky form concept)
b) Write a PHP program to read the XML document “stock_list.xml” (fruits
and vegetables) which create XML document and parse the XML data
into an array.
c) Write a simple PHP program to implements Ajax for addition of two
numbers.
d) Write a script to create XML file named “College.xml”
The element details of “College.xml” are:
<College>
<Cname> ------ </Cname>
<City> ------ </City>
<Rank> ------ </Rank>
</College>
Display at least 3 colleges Information.
e) Write Ajax program to display list of games stored in an array on clicking
OK button.
Q4) Attempt any FOUR of the following : [4×4=16]
a) What is Interface? Explain with suitable example.
b) Explain XML parser.
c) Write a PHP program to create a simple calculator that can accept two
numbers and perform operations like add, subtract, multiplication and
divide.(using self- processing form)
d) Explain features of Joomla/ Drupal.
e) Write a PHP script to create a class Shape and its sub-class Triangle,
Square, Circle and display area of selected Shape. (use concept of
Inheritance)
Q5) Write a note on Any TWO of the following : [2×3=6]
a) Asynchronous communication
b) UDDI
c) GET method
[6317]-205 2