Code No: 155DN R18
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
B. Tech III Year I Semester Examinations, September - 2021
WEB TECHNOLOGIES
U
(Computer Science and Engineering)
Time: 3 hours Max. Marks: 75
SE
Answer any five questions
All questions carry equal marks
----
D
1.a) Discuss about various functions used in PHP with suitable coding examples.
b) Write a PHP script for searching for a web page. [8+7]
2.a) Summarize about various types of PHP interpreters.
PA
b) Write a PHP script to add a user to Login table in MySql database. [7+8]
3.a) What is XML Schema? List the advantages of it over DTD.
b) Describe XML schema for designing a web page for product display. [7+8]
PE
4.a) What is XML? List characteristic features of XML.
b) What are XML namespaces? Describe the XML namespace for any webpage. [6+9]
R
5.a) Explain the life cycle of servlet? Write a simple servlet program to read two parameters
from form data.
SS
b) Distinguish Generic servlet from HttpServlet. [8+7]
6.a) Write a servlet program to retrieve data from the Employee table which is existing in
MySql database.
EP
b) Explain the advantages of servlets over CGI scripts. [8+7]
7.a) What are the implicit objects available in JSP? List the advantages of JSP over
Servlets?
-2
b) Explain about page directive with an example JSP code. [8+7]
8.a) Explain about Document Object Model with suitable example.
02
b) Write a Java Script function to check whether given number is prime or not. [8+7]
1
---ooOoo---