UNIT-III
5. a) What is DTD? What are its applications? What are its
disadvantages? Mention any one alternative to DTD 6
b) Differentiate between Java beans and Enterprise Java beans 6
OR
6. a) Create a simple CSS stylesheet to display your XML data 6
b) Explain all the classes and interfaces in Java beans API 6
UNIT-IV
7. a) Write a servlet that calculates the factorial of a given number
that has been submitted through a form 6
b) Explain the life cycle of the servlet 6
OR
8. a) Explain about the MVC architecture 6
b) Create a cookie that counts the number of accesses to a web page 6
UNIT-V
9. a) Explain the concept of adding and deleting a cookie from JSP
page 6
b) What are the advantages of JSP over various server side
programming techniques 6
OR
10. Describe the components of JSP with an example 12
[3,7/VI S/112]
[April-12]
[EURCS 602/EURIT 602]
B.Tech. Degree Examination
CSE/IT
VI SEMESTER
WEB TECHNOLOGIES
(Effective from the admitted batch 200708)
Time: 3 Hours Max.Marks: 60
-------------------------------------------------------------------------------------
Instructions: Each Unit carries 12 marks.
Answer all units choosing one question from each unit.
All parts of the unit must be answered in one place only.
Figures in the right hand margin indicate marks allotted.
---------------------------------------------------------------------------------------------
UNIT-I
1. a) Give the functionality and purpose of HTTP. List the notion of
transactions and the primary characteristics 6
b) Write an HTML document to provide a form that collects names
and telephone numbers 6
OR
2. a) Create a document using DHTML that changes the alignment of
the heading to left, right and centered using the links given in the
same document 6
b) What are the advantages and disadvantages of using style sheets 6
UNIT-II
3. a) Write a Java script to compare two strings using string object 6
b) Explain the various objects in Document Object Model 6
OR
4. a) Write a function that takes an integer value and returns the
number with its digits reversed. Display the result of the function
in the status bar 6
b) Explain the various methods and its usage of string object 6