You are on page 1of 5

Code No: M0501/R05 Set No.

1
IV B.Tech I Semester Regular Examinations, November 2009
WEB TECHNOLOGIES
(Computer Science & Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Create a simple HTML page which demonstrates the use of the various types
of lists. Try adding a definition list which uses an unordered list to define
terms.
(b) Write a program to construct a binary tree and to traverse the same in post-
order. [8+8]

2. (a) Describe the primitive data types that Javascript uses.


(b) Write a script that reads an integer and determines and displays whether it is
an odd or even number. [16]

3. (a) Give the syntax of an XML document and explain how a basic XML document
is created with an example.
(b) Explain the following terms related to Document Type Definition:
i. elements
ii. attributes & entities
iii. internal & external entities. [8+8]

4. Take the T ickT ock Bean available in BDK, build an application which controls the
Colors Bean. Develop the necessary code to exhibit the bound properties of java
beans with the above mentioned beans. [16]

5. (a) List and describe the classes that are provided in the javax.servlet package.
(b) Write about the methods present in Servlet interface. [8+8]

6. (a) Write a JSP to output any given string ten times.


(b) Give a note on Testing Tomcat server. [8+8]

7. (a) Explain how a server generates dynamic content.


(b) Give a note on request time errors. [8+8]

8. Write a program that outputs all authors in the technical-library database with
last names starting with the letters A through H [Assume database schema] [16]

?????

1 of 1
Code No: M0501/R05 Set No. 2
IV B.Tech I Semester Regular Examinations, November 2009
WEB TECHNOLOGIES
(Computer Science & Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Explain the following terms related to CSS:


i. Font size
ii. Font weight
iii. Font strech
iv. Text decoration
v. Text transformation
vi. Text alignment
vii. Padding
viii. Border style.
(b) Explain the various ways you can reference a color in CSS. [8+8]

2. (a) Describe the primitive data types that Javascript uses.


(b) Write a script that reads an integer and determines and displays whether it is
an odd or even number. [16]

3. (a) Explain the basic structure of an XML document and highlight the advantages
of XML over HTML.
(b) Explain the usage of the following XSL elements:
i. apply-templates
ii. attribute
iii. eval
iv. template
v. value-of
vi. choose. [8+8]

4. (a) Define a Java bean. Explain how can you prepare a java bean class.
(b) With relevant examples explain the different types of beans properties. [8+8]

5. (a) What is MIME? What is meant by MIME types of file? Which is the method
that can return the MIME type of file?
(b) Explain the interface that enables servlet to log events and access information
about their environment.
(c) How to start a web browser and request a servlet. [6+6+4]

6. (a) Differentiate between servlets and JSPs.

1 of 2
Code No: M0501/R05 Set No. 2
(b) Write a JSP expression to insert current date and time in to a web page.[8+8]

7. (a) Develop a JSP with a Bean in the application scope.


(b) What is a scriplet? Write about scriplet elements. [8+8]

8. Develop a JSP to act as a simple search engine with the support of necessary
database. Web page will accept the topic name and JSP will be activated by a
“submit” button click. JSP will open relevant page with a set of relevant URLs for
that topic. [16]

?????

2 of 2
Code No: M0501/R05 Set No. 3
IV B.Tech I Semester Regular Examinations, November 2009
WEB TECHNOLOGIES
(Computer Science & Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. (a) Create a simple HTML page which demonstrates the use of the various types
of lists. Try adding a definition list which uses an unordered list to define
terms.
(b) Write a program to construct a binary tree and to traverse the same in post-
order. [8+8]

2. (a) Compare and contrast HTML and DHTML.


(b) Write a javascript to validate a form consisting of a username. Also navigate
to another web page after validation. [8+8]

3. (a) What is XML? Explain the various features of XML.


(b) What is Document Type Definition (DTD)? Explain how a DTD is created.
[8+8]

4. (a) What is a Java bean? “Java bean is a reusable platform-neutral software


component”-justify this statement.
(b) Explain the highlighting features of java bean. [8+8]

5. (a) Develop a servlet that illustrates usage of cookies.


(b) Write about Security Issues. [10+6]

6. Explain JSP application design with suitable example? [16]

7. (a) Explain how a server generates dynamic content.


(b) Give a note on request time errors. [8+8]

8. Write a JSP to display the results of a student by accepting studentid in a text


box. Results will be maintained in a database table. [16]

?????

1 of 1
Code No: M0501/R05 Set No. 4
IV B.Tech I Semester Regular Examinations, November 2009
WEB TECHNOLOGIES
(Computer Science & Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
?????

1. Explain the following terms related to HTML table:


(a) Cell padding and spacing
(b) Borders
(c) Formatting content in Table cells
(d) Nested tables. [4+4+4+4]
2. (a) Describe the primitive data types that Javascript uses.
(b) Write a script that reads an integer and determines and displays whether it is
an odd or even number. [16]
3. (a) Explain the following terms related to XML:
i. XML parsing
ii. XML browsers
iii. XML editors
iv. XML validators.
(b) Show how SAX is an alternative method for parsing XML documents. Also
give the advantages of SAX. [8+8]
4. Write about the following:
(a) Bean methods
(b) Bean properties
(c) Bean events. [4+8+4]
5. (a) Develop a servlet that handles HTTP POST request.
(b) HTTP is a stateless protocol. Substantiate the statement. [10+6]
6. (a) What are the limitations of Servlets? How JSP over comes these Problems.
(b) Discuss about Tomcat Server. [8+8]
7. Develop a JSP with a bean to rotate advertisements, where advertisements are
images. [16]
8. Explain how JDBC performs mapping between JAVA and SQL data types. [16]

?????

1 of 1

You might also like