Is Multiple Inheritance Supported in PHP? Explain.: (Common To CSE, IT)
Is Multiple Inheritance Supported in PHP? Explain.: (Common To CSE, IT)
Is Multiple Inheritance Supported in PHP? Explain.: (Common To CSE, IT)
JJ JJ
Time: 3 hours
JJ JJ
WEB TECHNOLOGIES
(Common to CSE, IT) JJ JJMax. Marks: 75
JJ J
Note: This question paper contains two parts A and B.
Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B
consists of 5 Units. Answer any one full question from each unit. Each question carries
JJ JJ JJ JJ JJ JJ JJ J
10 marks and may have a, b, c as sub questions.
PART - A
(25 Marks)
1.a) How do you execute a PHP script from the command line? [2]
b) Is multiple inheritance supported in PHP? Explain. [3]
JJ JJ JJ JJ JJ JJ JJ J
c) Differentiate XHTML and XML. [2]
d) Define XML. What are the advantages of XML? [3]
e) Name two CGI environmental variables. [2]
f) Mention some uses of servlet. [3]
g) How to deal with syntax errors in JSP page? [2]
h) List the JSP implicit objects. [3]
i) Give a note on this keyword in JavaScript. [2]
j) What is the difference between undefined and not defined in JavaScript? [3]
JJ JJ JJ JJ
PART - B JJ JJ JJ J
(50 Marks)
2.a) Write a PHP script to retrieve the data from oracle database.
b) With an example explain the casting of data types in PHP. [5+5]
JJ JJ JJ JJ JJ JJ JJ J
OR
3.a) How strings are declared in PHP? Explain string operators.
b) Explain the process of Reading data from web form controls like text boxes, radio
buttons, and lists. [5+5]
4. Define Document type definition (DTD) in XML. What is difference between internal
and External DTD. [10]
OR
JJ 5.a)
b) JJ JJ JJ JJ JJ
How XML transformations will form and write the Schemas of XML? Explain.
What is an XML DOM? How DOM parses the XML file. [5+5] JJ J
6. With the help of neat diagram, explain the servlet architecture. [10]
OR
7. List and explain the web servers that support CGI programming. [10]
JJ JJ JJ JJ JJ JJ JJ J
JJ JJ JJ JJ JJ JJ JJ J
8. Discuss about various categories of JSP tags. Explain each of them with syntax and
suitable examples. [10]
JJ 9.a)
b)
JJ JJ JJ OR
JJ JJ
Write a JSP to demonstrate the usage of page and include directives.
Give a brief note on Anatomy of a JSP Page.
JJ
[5+5]
J
10.a) Explain the Simple AJAX application.
b) Discuss the event handlers in JavaScript. [5+5]
OR
JJ JJ JJ JJ JJ JJ JJ J
11. Describe about form validation concept in JavaScript. Explain with an example
program. [10]
---oo0oo---
JJ JJ JJ JJ JJ JJ JJ J
JJ JJ JJ JJ JJ JJ JJ J
JJ JJ JJ JJ JJ JJ JJ J
JJ JJ JJ JJ JJ JJ JJ J
JJ JJ JJ JJ JJ JJ JJ J